Abaixo está a transcrição dos comandos principais, organizados por categorias:
📁 Arquivos e Navegação
🖥️ Informações do Sistema
🌐 Redes
⚙️ Processos
| Comando | Descrição |
| ps | display currently active processes |
| ps aux | detailed outputs |
| kill pid | kill process with process id (pid) |
| killall proc | kill all processes named proc |
📦 Compressão
| Comando | Descrição |
| tar cf file.tar files | tar files into file.tar |
| tar xf file.tar | untar into current directory |
| tar tf file.tar | show contents of archive |
| Opções do tar: | |
| c - create archive | j - bzip2 compression |
| t - table of contents | w - ask for confirmation |
| x - extract | k - do not overwrite |
| z - gzip/zip | f - file from file |
| v - specify filename | v - verbose |
🔒 Permissões
| Comando | Descrição |
| chmod octal file | change permissions of file |
| Permissões (Octal): | |
| 4 - read (r) | 2 - write (w) |
| 1 - execute (x) | 0 - no permission |
| order: owner/group/world | |
| chmod 777 - rwx for everyone | chmod 755 - rwx for owner, rx for group world |
Comentários
Postar um comentário