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! ๐Ÿš€

0
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

Syed Shazeedul Islam
Syed Shazeedul Islam