50 basic Linux commands
Table of contents
๐๐ฌ๐ฌ๐๐ง๐ญ๐ข๐๐ฅ ๐๐ ๐๐๐ฌ๐ข๐ ๐๐ข๐ง๐ฎ๐ฑ ๐๐จ๐ฆ๐ฆ๐๐ง๐๐ฌ: ๐๐๐ฌ๐ญ๐๐ซ ๐๐จ๐ฎ๐ซ ๐๐จ๐ฆ๐ฆ๐๐ง๐ ๐๐ข๐ง๐ ๐๐ค๐ข๐ฅ๐ฅ๐ฌ ๐ง
๐ฉ๐ฐ๐ - Print working directory. ๐
๐ฅ๐ฌ - List directory contents. ๐
๐๐ - Change directory. ๐
๐ญ๐จ๐ฎ๐๐ก - To create a file without any content. ๐
๐๐๐ญ - Concatenate and display file content. ๐ฑ
๐๐ฉ - Copy files or directories. ๐๐
๐ฆ๐ฏ - Move or rename files or directories. ๐
๐ซ๐ฆ - Remove files or directories. ๐๏ธ
๐ฆ๐ค๐๐ข๐ซ - Create a new directory. ๐
๐ซ๐ฆ๐๐ข๐ซ - Remove an empty directory. ๐๐๏ธ
๐๐๐ก๐จ - Display a line of text or a variable value. ๐ข
๐ง๐๐ง๐จ - A simple text editor. โ๏ธ
๐ฏ๐ข - A powerful text editor. โ๏ธ
๐๐ก๐ฆ๐จ๐ - Change file or directory permissions. ๐
๐๐ก๐จ๐ฐ๐ง - Change file or directory owner and group. ๐ค
๐๐ข๐ง๐ - Search for files in a directory hierarchy. ๐
๐ ๐ซ๐๐ฉ - Search text using patterns. ๐
๐ฆ๐๐ง - Display the manual for a command. ๐
๐ฉ๐ฌ - Display information about running processes. ๐
๐ค๐ข๐ฅ๐ฅ - Terminate processes by PID. โฐ๏ธ
๐ญ๐จ๐ฉ - Display and update sorted information about processes. ๐
๐๐ - Report file system disk space usage. ๐พ
๐๐ฎ - Estimate file space usage. ๐
๐๐ซ๐๐ - Display memory usage. ๐ง
๐ฎ๐ง๐๐ฆ๐ - Print system information. โน๏ธ
๐ฎ๐ฉ๐ญ๐ข๐ฆ๐ - Tell how long the system has been running. โณ
๐ฐ๐ก๐จ๐๐ฆ๐ข - Display the current user. ๐ค
๐ฌ๐ฎ๐๐จ - Execute a command as another user, typically the superuser. ๐ก๏ธ
๐๐ฉ๐ญ-๐ ๐๐ญ - Package handling utility for Debian-based distributions. ๐ฆ
๐ฒ๐ฎ๐ฆ - Package manager for RPM-based distributions. ๐ฒ
๐ญ๐๐ซ - Archive files. ๐๏ธ
๐ณ๐ข๐ฉ - Package and compress (archive) files. ๐ฆ
๐ฎ๐ง๐ณ๐ข๐ฉ - Extract compressed files. ๐
๐ฐ๐ ๐๐ญ - Retrieve files from the web. ๐
๐๐ฎ๐ซ๐ฅ - Transfer data from or to a server. ๐
๐ฌ๐ฌ๐ก - OpenSSH client (remote login program). ๐ช
๐ฌ๐๐ฉ - Secure copy (remote file copy program). ๐
๐ซ๐ฌ๐ฒ๐ง๐ - Remote file and directory synchronization. ๐
๐ก๐จ๐ฌ๐ญ๐ง๐๐ฆ๐ - Show or set the system's host name. ๐
๐ฉ๐ข๐ง๐ - Send ICMP ECHO_REQUEST to network hosts. ๐ถ
๐ง๐๐ญ๐ฌ๐ญ๐๐ญ - Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. ๐
๐ข๐๐๐จ๐ง๐๐ข๐ - Configure a network interface. ๐
๐ข๐ฉ - Show/manipulate routing, devices, policy routing, and tunnels. ๐
๐ข๐ฉ๐ญ๐๐๐ฅ๐๐ฌ - Administration tool for IPv4 packet filtering and NAT. ๐ก๏ธ
๐ฌ๐ฒ๐ฌ๐ญ๐๐ฆ๐๐ญ๐ฅ - Control the systemd system and service manager. ๐
๐ฃ๐จ๐ฎ๐ซ๐ง๐๐ฅ๐๐ญ๐ฅ - Query and display messages from the journal. ๐
๐๐ซ๐จ๐ง๐ญ๐๐ - Schedule periodic background jobs. โฐ
๐ฌ๐ฎ๐๐จ ๐ฌ๐ฎ - Allows us to switch to a different user and execute one or more commands in the shell without logging out from our current session. ๐ก๏ธ
๐ฆ๐จ๐ฎ๐ง๐ญ - Mount a file system. ๐
๐ฎ๐ฆ๐จ๐ฎ๐ง๐ญ - Unmount a file system. ๐
๐ง Use these commands to interact with your Linux system and perform various administrative tasks! ๐
Subscribe to my newsletter
Read articles from Syed Shazeedul Islam directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by