Coder Baba
2.41K 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
Top 50 Linux Commands You Must Know as a Regular User...

1. ls - view contents of directory (list)
2. pwd - path of the current directory
3. cd - change directoryn
4. mkdir - make new directory
5. mv - move files / rename files
6. cp - copy files
7. rm - remove files
8. touch - create blank new file
9. rmdir - delete directory
10. cat - list content of file to terminal
11. clear - clear terminal window
12. echo - move data into a file
13. less - Read text file one screen at a time
14. man - show manual of Linux commands
15. sudo - enables you to perform tasks that require administrative or root permissions
16. top - task manager in terminal
17. tar - used to archive multiple files into a tarball
18. grep - used to searching words in specific files
19. head - view first lines of any text file
20. tail - view last lines of any text file
21. diff - compares the contents of two files line by line
22. kill - used for killing unresponsive program
23. jobs - display all current jobs along with their statuses
24. sort - is a command line utility for sorting lines of text files
25. df - info about system disk
26. du - check how much space a file or directory takes
27. zip - to compress your files into a zip archive
28. unzip - to extract the zipped files from a zip archive
29. ssh - a secure encrypted connection between two hosts over and insecure network
30. cal - shows calendar
31. apt - command line tool for interaction with packaging system
32. alias - custom shortcuts used to represent a command
33. w - current user info
34. whereis - used to locate the binary, source, manual page files
35. whatis - used to get one-line man page description
36. useradd - used to create a new user
37. passwd - used to changing password of current user
38. whoami - print current user
39. uptime - print current time when machine starts
40. free - print free disk space info
41. history - print used commands history
42. uname - print detailed information about your Linux system
43. ping - to check connectivity status to a server
44. chmod - to change permissions of files and directories
45. chown - to change ownership of files and directories
46. find - using find searches for files and directories
47. locate - used to locate a file, just like the search command in Windows
48. ifconfig - print ip address stuff
49. ip a - similar to ifconfig but shortest print
50. finger - gives you a short dump of info about a user

Follow @coder_baba
#coderbaba #linux #cmd
1👍1
Top 50 Linux Commands You Must Know as a Regular User...

1. ls - view contents of directory (list)
2. pwd - path of the current directory
3. cd - change directoryn
4. mkdir - make new directory
5. mv - move files / rename files
6. cp - copy files
7. rm - remove files
8. touch - create blank new file
9. rmdir - delete directory
10. cat - list content of file to terminal
11. clear - clear terminal window
12. echo - move data into a file
13. less - Read text file one screen at a time
14. man - show manual of Linux commands
15. sudo - enables you to perform tasks that require administrative or root permissions
16. top - task manager in terminal
17. tar - used to archive multiple files into a tarball
18. grep - used to searching words in specific files
19. head - view first lines of any text file
20. tail - view last lines of any text file
21. diff - compares the contents of two files line by line
22. kill - used for killing unresponsive program
23. jobs - display all current jobs along with their statuses
24. sort - is a command line utility for sorting lines of text files
25. df - info about system disk
26. du - check how much space a file or directory takes
27. zip - to compress your files into a zip archive
28. unzip - to extract the zipped files from a zip archive
29. ssh - a secure encrypted connection between two hosts over and insecure network
30. cal - shows calendar
31. apt - command line tool for interaction with packaging system
32. alias - custom shortcuts used to represent a command
33. w - current user info
34. whereis - used to locate the binary, source, manual page files
35. whatis - used to get one-line man page description
36. useradd - used to create a new user
37. passwd - used to changing password of current user
38. whoami - print current user
39. uptime - print current time when machine starts
40. free - print free disk space info
41. history - print used commands history
42. uname - print detailed information about your Linux system
43. ping - to check connectivity status to a server
44. chmod - to change permissions of files and directories
45. chown - to change ownership of files and directories
46. find - using find searches for files and directories
47. locate - used to locate a file, just like the search command in Windows
48. ifconfig - print ip address stuff
49. ip a - similar to ifconfig but shortest print
50. finger - gives you a short dump of info about a user

Follow me @Coder_Baba
#coderbaba #linux #Programming #code #CodingTutorial
👍1
📄 Linux Commands Interview Q&A

🔍 1. What is Linux?

🐧 Linux is an open-source operating system kernel forming the base for various distributions.
🔧 2. Main components of a Linux system?

Kernel, shell, and file system.
💻 3. Role of the Linux Kernel?

Manages system resources and provides services to applications.
🖥 4. What is a shell?

Command-line interpreter for interacting with the OS.
🎉 5. Popular Linux distributions?

Ubuntu, Debian, Fedora, CentOS, and Red Hat Enterprise Linux.
🛡 6. Changing file permissions?

Use chmod (e.g., chmod 755 filename) to set permissions.
🔎 7. Purpose of the "grep" command?

Searches for specific patterns within files.
📁 8. Finding files?

Use find command based on criteria like name, size, and permissions.
📊 9. What is the "top" command for?

Monitors system processes and resource usage in real-time.
💾 10. Checking disk usage?

df command shows disk space usage of file systems.
🔗 11. What is a symbolic link?

A soft link pointing to another file or directory.
📦 12. Purpose of the "tar" command?

Creates and manipulates archive files.
⚙️ 13. Starting and stopping services?

Use systemctl (e.g., systemctl start service_name) in systemd systems.
🌐 14. Purpose of the "ping" command?

Tests connectivity between a source and destination.
🌍 15. Checking network configuration?

ifconfig or ip command for network settings.
🔐 16. What is SSH?

Secure remote login and file transfer using encryption.
🛑 17. Killing a process?

kill command with process ID (PID) or killall by name.
🔄 18. Purpose of "rsync"?

Efficient file synchronization and transfer.
🔍 19. Checking hardware information?

lshw provides detailed hardware info.
🚨 20. What is a firewall?

Controls network traffic for security.
📶 21. Checking system IP address?

ip addr command displays IPs for network interfaces.
22. Purpose of "cron"?

Automates and schedules recurring tasks.
📂 23. Mounting a filesystem?

mount command attaches a filesystem to the directory tree.
🔄 24. What is "chroot"?

Creates a separate environment with its own root directory.
📉 25. Compressing and decompressing files?

gzip and gunzip for compression.
🛠 26. Purpose of "iptables"?

Configures the kernel firewall for network traffic filtering.
💡 27. Checking CPU usage?

Use top, htop, or mpstat.
👤 28. Creating user accounts?

useradd command adds new users.
🔍 29. Searching within files?

grep -r to search recursively within files in a directory.
💾 30. Checking available memory?

free command shows free and used memory in the system.
#coderbaba #CoderBaba #Programming #linux
💻 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