Coder Baba
2.42K subscribers
1.01K photos
23 videos
722 files
723 links
Everything about programming for beginners.
1 and only official telegram channel of CODERBABA India.

Content:
.NET Developer,
Programming (ASP. NET, VB. NET, C#, SQL Server),
& Projects
follow me https://linktr.ee/coderbaba
*Programming
*Coding
*Note
Download Telegram
πŸ’» Linux Commands Cheat Sheet πŸ’»

πŸ“‚ ls: List files and directories in the current directory.
Example: ls

πŸ“ cd: Change directory.
Example: cd /path/to/directory

πŸ“Œ pwd: Show the current directory.
Example: pwd

πŸ“‚ mkdir: Create a new directory.
Example: mkdir new_directory

πŸ—‘ rm: Remove files and directories.
Example: rm file.txt

πŸ“„ cp: Copy files and directories.
Example: cp file.txt /path/to/destination

✏️ mv: Move or rename files and directories.
Example: mv file.txt /path/to/destination

πŸ“ touch: Create an empty file.
Example: touch file.txt

πŸ‘€ cat: Display the contents of a file.
Example: cat file.txt

πŸ” grep: Search for a pattern in a file.
Example: grep "pattern" file.txt

πŸ” head: Display the first few lines of a file.
Example: head file.txt

πŸ”š tail: Display the last few lines of a file.
Example: tail file.txt

πŸ”’ chmod: Change file permissions.
Example: chmod 755 file.txt

πŸ‘€ chown: Change file ownership.
Example: chown user:group file.txt

πŸ”— ln: Create a symbolic link.
Example: ln -s /path/to/file link

πŸ” find: Search for files and directories.
Example: find /path/to/search -name "pattern"

πŸ“¦ tar: Archive files and directories.
Example: tar -czvf archive.tar.gz files/

πŸ“‚ unzip: Extract files from a zip archive.
Example: unzip archive.zip

πŸ“œ man: Access command manuals.
Example: man ls

πŸ“œ history: View command history.
Example: history

βš™οΈ ps: Show running processes.
Example: ps aux

❌ kill: Terminate a process.
Example: kill PID

πŸ’Ύ df: Show disk space usage.
Example: df -h

πŸ“ du: Check directory sizes.
Example: du -sh directory

πŸ” scp: Securely copy files between hosts.
Example: scp file.txt user@remote:/path/to/destination

πŸ”‘ ssh: Connect to a remote host securely.
Example: ssh user@host

🌐 ping: Test network connectivity.
Example: ping google.com

πŸ–§ ifconfig: Display network interface info.
Example: ifconfig

🌐 wget: Download files from the web.
Example: wget https://example.com/file.txt

🌐 curl: Transfer data to/from a server.
Example: curl https://example.com
Follow @coder_baba
#coderbaba #CoderBaba #linux
πŸ‘1