Top 100 Linux Useful Command for System Administrator
1. ls: List files and directories. 2. cd: Change the working directory. 3. pwd: Print the current working directory. 4....
ls: List files and directories.cd: Change the working directory.pwd: Print the current working directory.cat: Concatenate and display file content.touch: Create an empty file or update the timestamp of an existing file.rm: Remove files or directories.cp: Copy files or directories.mv: Move or rename files or directories.mkdir: Create a new directory.rmdir: Remove an empty directory.find: Search for files and directories.grep: Search for patterns in files or output.ps: List running processes.kill: Terminate processes.top: Display system resource usage and running processes.df: Display disk space usage.du: Estimate file and directory space usage.free: Display memory usage.chmod: Change file permissions.chown: Change file ownership.tar: Archive files and directories.gzip: Compress files.gunzip: Decompress files.sudo: Execute a command with superuser privileges.nanoorvim: Text editors for quick edits in the terminal.ssh: Securely connect to a remote server.scp: Copy files between local and remote systems over SSH.wget: Download files from the web.curl: Transfer data with URLs.ping: Test network connectivity to a host.ifconfig: Network interface configuration (if using traditional networking).ip: Network interface configuration (if using modern networking with iproute2).netstat: Network statistics.route: Show or manipulate the IP routing table.hostname: Display or set the system’s hostname.history: Display command history.alias: Create command aliases.date: Display or set the system date and time.cal: Display a calendar.shutdown: Shutdown or reboot the system.reboot: Reboot the system.who: Show who is logged on.tar: Archive files and directories.unzip: Extract compressed files in ZIP format.useradd: Add a new user account.usermod: Modify user account properties.userdel: Delete a user account.groupadd: Add a new group.groupmod: Modify group properties.groupdel: Delete a group.passwd: Change user password.su: Switch to another user account.sudo: Execute a command with superuser privileges.chpasswd: Change passwords in batch.cron: Schedule tasks to run at specified times.at: Schedule a task to run once at a specific time.shutdown: Shutdown or reboot the system at a specified time.df: Display disk space usage.du: Estimate file and directory space usage.free: Display memory usage.top: Display system resource usage and running processes.kill: Terminate processes.ps: List running processes.tar: Archive files and directories.gzip: Compress files.gunzip: Decompress files.find: Search for files and directories.grep: Search for patterns in files or output.sed: Stream editor for text manipulation.awk: Text processing tool for extracting and manipulating data.sort: Sort lines in text files.uniq: Filter adjacent duplicate lines from text.wc: Count lines, words, or characters in a file.head: Display the beginning of a file.tail: Display the end of a file.cut: Remove sections from each line of files.diff: Compare files line by line.scp: Copy files between local and remote systems over SSH.rsync: Synchronize files and directories between systems.mount: Mount a filesystem.umount: Unmount a filesystem.fdisk: Partition table manipulator for hard drives.mkfs: Create a filesystem on a partition.dd: Convert and copy files.lspci: List PCI devices.lsusb: List USB devices.lsblk: List block devices.htop: Interactive process viewer.ncdu: Disk usage analyzer with an interactive interface.iftop: Display bandwidth usage on an interface.iptraf: Interactive color-based IP LAN monitor.screenortmux: Terminal multiplexers for multiple sessions.which: Show the full path of shell commands.echo: Print a message.uptime: Show how long the system has been running.watch: Execute a command repeatedly and display the results.history: Display command history.hostname: Display or set the system’s hostname.basename: Remove directory and suffix from filenames.dirname: Remove non-directory suffix from filenames.