Linux 40 comandos úteis
40 Useful Linux commands for Everyone: 🔖 Bookmark ➊ pwd Print Working Directory ❯ pwd # Shows the absolute path of # the working directory ➋ mkdir Make Directory ❯ mkdir reports/ # Creates a single directory ❯ mkdir -p reports/finance/yearly/ # Creates entire directory structure ➌ cd Change Directory ❯ cd icons # Switch to the "icons" directory ❯ cd - # Switch to the previous directory ❯ cd .. # Switch to the parent directory ❯ cd # Switch to the home directory ➍ ls List ❯ ls # For current working directory ❯ ls /home/ # For /home/ ❯ ls -a # Includes hidden files ❯ ls -R # Recursively for subdirectories ❯ ls -l # Lists in detail ❯ ls -ltr # Sorted. Latest modified one is at the top. ➎ cp Copy ❯ cp file1.txt file2.txt # Copies the file file1.txt to file2.t...