there are more than 100 unix commands Shared by the Linux kernel and other Unix-like operating systems. If you are interested in commands frequently used by Linux sysadmins and power users, you have come to this place. Recently, I published a five-part series covering commands frequently used by Linux sysadmins.
down i 90 orders listed Covered and links to each of the five posts in this series. Some of the commands listed include links to related articles. If we include downloadable software and scripts, there are thousands of commands available, such as bepytop (pictured below). However, for the purpose of this article, we will mostly cover unix commands Used on Linux by sysadmins and power users. If you find this page useful, do let me know if you want to see similar posts in the future.
Picture: bepytop – Several system/server monitoring and network command-line tools are available.
Linux Commands Frequently Used by Linux Sysadmins – Part 1:
ip – From Iproute2, a collection of utilities for controlling TCP/IP networking and traffic control in Linux.
ls – List directory contents.
df – Display disk space usage.
du – Estimate file space usage.
free – Display memory usage.
scp – Copy files securely using SCP, eg.
find – Detects files based on certain user-specified criteria.
ncdu – A disk utility for Unix systems.
pstree – Display a tree of processes.
last – Show list of last logged-in users.
w – Show list of currently logged-in user sessions.
grep – Search a file for a pattern of characters, then display all matching lines.
Sponsored: datadog – View any app, at any scale, anywhere, inside any stack.
Datadog is an integrated monitoring, analysis and security platform that provides end-to-end monitoring for your Linux applications along with metrics and events from 450+ other technologies for a unified view of your entire infrastructure. With correlated infrastructure monitoring, application performance monitoring, log management, security tools, and more, DataDog enables dev, ops, and security teams to work collaboratively to help organizations avoid downtime, To help resolve performance issues faster and ensure that the development and deployment cycle is complete. time.
Linux Commands Frequently Used by Linux Sysadmins – Part 2:
uptime – Shows system uptime and load average.
top – Shows an overall system view.
vmstat – Shows system memory, process, interrupt, paging, block I/O, and CPU information.
htop – Interactive process viewer and manager.
dstat – View processes, memory, paging, I/O, CPU, etc. in real-time. All-in-one for vmstat, iostat, netstat, and ifstat.
iftop – Network traffic viewer.
nethogs – Network traffic analyzer.
iotop – Interactive I/O Viewer. Get an overview of storage r/w activity.
iostat – For storing I/O statistics.
netstat – For network statistics.
ss – Utility for checking sockets.
atop – For Linux server performance analysis.
nmon – htop and top options:
ssh – Secure command-line access to remote Linux systems.
sudo –Execute commands with administrative privileges.
cd – Directory navigation.
pwd – Shows your current directory location.
cp – Copying files and folders.
mv – Transferring files and folders.
rm – Deleting files and folders.
mkdir – Create or create a new directory.
touch – Used to update the access date and modification date of a computer file or directory.
man – To read the system reference manual.
apropos – Find man page names and descriptions.
Linux Commands Frequently Used by Linux Sysadmins – Part 3:
rsync – Remote file transfer and syncing.
tar – An archive utility.
gzip – File compression and decompression.
b2zip – Similar to gzip. It uses a different compression algorithm.
zip – For packaging and compressing (for archiving) files.
locate – Search files in Linux.
ps – Information about currently running processes.
44. Using bash script. Example:
cron – Schedule scheduled tasks to run.
nmcli – Network Management.
ping – Send ICMP ECHO_REQUEST to the network host.
traceroute – Verifies route packets are routed to a specified host.
mtr – Network Diagnostic Tool.
nslookup – Interactively query Internet Name Servers (NS).
host – Do DNS lookup in Linux.
dig – DNS lookup utility.
Linux Commands Frequently Used by Linux Sysadmins – Part 4:
wget – Recover files over HTTP, HTTPS, FTP and FTPS.
curl – Transferring data using various network protocols. (supports more protocols than wget)
dd – Convert and copy files.
fdisk – Manipulate the disk partition table.
parted – To create and manipulate partition tables.
blkid Command-line utility for detecting/printing block device attributes.
mkfs – Create a Linux file system.
fsck Tool for checking the stability of the file system.
whois – Client for the whois directory service.
nc Command line networking utility. (Also, see 60 Linux Networking Commands and Scripts.)
umask – Set file mode creation mask.
chmod – Change access permissions of filesystem objects.
chown – Change file owner and group.
chroot – Run commands or interactive shells with a special root directory.
useradd – Create a new user or update the default new user information.
userdel – Used to delete a user account and all associated files.
usermod – Used to modify or replace any attribute of an existing user account.
Linux Commands Frequently Used by Linux Sysadmins – Part 5:
vi – text editor.
cat – Display file contents.
tac – Output file contents, in reverse.
more – Display file contents one screen/page at a time.
less – Similar to More Commands with additional features.
tail – Used to display the tail end of a text file or piped data.
dmesg – Prints the message buffer of the kernel ring.
journalctl — Query the systemd journal.
kill – Terminate a process.
killall – Sends a kill signal to all instances of a process by name.
sleep – Suspends the execution of the program for a specified time.
wait – Postpone script execution until all tasks running in the background have finished.
nohup – Run commands in background.
screen – Keep a session open on a remote server. (also a full-screen window manager)
tmux – A terminal multiplexer.
passwd – Change user’s password.
umount – Provides access to the entire file system in a directory.
systemctl – Management Services (Daemons).
clear – Clears the terminal’s screen.
env -Run a command in a modified environment.
cheat – Allows you to create and view interactive cheatsheets on the command-line.”
tldr – Companion cheatsheet for console commands.
bashtop – ‘Cool’ top option.
bpytop – Python port of bashtop.
btop – C++ version and continuation of bashtop and bepytop,
nload – A super simple, command-line network interface monitoring tool.
Also, see 60 Linux Networking Commands and Scripts.
I have referred to the command as “Linux commands” since this blog and this article is specific to Linux admins and users. However, they are actually unix Command For unix and others UNIX-like Operating systems like Linux.
Published: November 1, 2020 / Last Updated: March 28, 2022