# Podstawowe komendy

## Komendy:

* **Nawigacja i zarządzanie plikami:**
  * `ls` - Wyświetla listę plików i katalogów w bieżącym katalogu.
  * `cd <ścieżka>` - Zmienia bieżący katalog na wskazany.
  * `pwd` - Wyświetla bieżący katalog roboczy.
  * `mkdir <nazwa_katalogu>` - Tworzy nowy katalog.
  * `rm <plik>` - Usuwa plik.
  * `rmdir <katalog>` - Usuwa pusty katalog.
  * `cp <źródło> <cel>` - Kopiuje plik lub katalog.
  * `mv <źródło> <cel>` - Przenosi lub zmienia nazwę pliku lub katalogu.
* **Informacje systemowe:**
  * `uname -a` - Wyświetla informacje o systemie operacyjnym i jądrze.
  * `top` - Wyświetla procesy działające w systemie w czasie rzeczywistym.
  * `df -h` - Wyświetla przestrzeń dyskową w sposób czytelny dla człowieka.
  * `free -h` - Wyświetla informacje o zużyciu pamięci RAM.
* **Zarządzanie pakietami:**
  * `sudo apt update` - Aktualizuje listę pakietów.
  * `sudo apt upgrade` - Aktualizuje zainstalowane pakiety.
  * `sudo apt install <pakiet>` - Instaluje nowy pakiet.
  * `sudo apt remove <pakiet>` - Usuwa zainstalowany pakiet.
* **Użytkownicy i grupy:**
  * `whoami` - Wyświetla nazwę aktualnie zalogowanego użytkownika.
  * `sudo adduser <nazwa_użytkownika>` - Tworzy nowego użytkownika.
  * `sudo deluser <nazwa_użytkownika>` - Usuwa użytkownika.
* **Inne:**

  * `history` - Wyświetla historię używanych komend w terminalu.
  * `clear` - Czyści ekran terminala.
  * `man <nazwa_komendy>` - Wyświetla podręcznik użytkownika dla wskazanej komendy.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dowithme.gitbook.io/do-with-me/ubuntu-22.04/basic/podstawowe-komendy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
