B
BlogSmoke
Bash Terminal

Essential Bash Commands Every Developer Should Know

bashterminallinux

Essential Bash Commands

Navigation

cd /path/to/dir    # Change directory
ls -la             # List files with details
pwd                # Print working directory

File Operations

cp source dest     # Copy files
mv old new         # Move/rename
rm -rf folder      # Remove directory

Text Processing

grep "pattern" file.txt
sed 's/old/new/g' file.txt
awk '{print $1}' file.txt