Blog Post
Common Terminal Commands π
These are essential terminal commands every developer should know when working in the terminal or command line interface (CLI):
π Basic Navigation:
pwd: Print Working Directory (shows your current location in the file system)cd: Change Directoryls: List Files in the current directory~/: Shortcut for the Home Directory
π οΈ Directory Management:
mkdir: Create a new directoryrmdir: Remove an empty directorycd ..: Move up one directory level
π File Management:
touch: Create a new filecp: Copy a file or directorymv: Move or rename files and directories
π Superuser Privileges:
sudo: Execute commands with superuser (administrator) privileges
π Viewing & Editing:
man: Manual pages, provides help info for commandsnano&vi: Text editors you can use directly in the terminal
π§Ή Miscellaneous:
clear: Clears the terminal screen for a fresh startll: Similar tols, lists files in a more detailed format
π‘ Pro Tip: Use man [command] to learn more about any command and its options!