- ls - List directory contents.
- cd - Change the current directory.
- pwd - Print the current working directory.
- mkdir - Create a new directory.
- rmdir - Remove an empty directory.
- rm - Remove files or directories.
- cp - Copy files or directories.
- mv - Move or rename files or directories.
- touch - Create an empty file or update the timestamp of an existing file.
- cat - Concatenate and display file content.
- more - View file content one screen at a time.
- less - View file content with backward movement.
- head - Display the first few lines of a file.
- tail - Display the last few lines of a file.
- echo - Display a line of text.
- man - Display the manual for a command.
- info - Display command information.
- which - Locate a command.
- whereis - Locate the binary, source, and manual page files for a command.
- find - Search for files in a directory hierarchy.
- grep - Search text using patterns.
- sed - Stream editor for filtering and transforming text.
- awk - Pattern scanning and processing language.
- sort - Sort lines of text files.
- uniq - Report or omit repeated lines.
- diff - Compare files line by line.
- cmp - Compare two files byte by byte.
- comm - Compare two sorted files line by line.
- wc - Print newline, word, and byte counts for each file.
- cut - Remove sections from each line of files.
- paste - Merge lines of files.
- tr - Translate or delete characters.
- split - Split a file into pieces.
- join - Join lines of two files on a common field.
- tee - Read from standard input and write to standard output and files.
- xargs - Build and execute command lines from standard input.
- chmod - Change file modes or Access Control Lists.
- chown - Change file owner and group.
- chgrp - Change group ownership.
- ln - Create hard and symbolic links.
- df - Report file system disk space usage.
- du - Estimate file space usage.
- mount - Mount a file system.
- umount - Unmount file systems.
- fsck - File system consistency check and repair.
- mkfs - Build a Linux file system.
- mkswap - Set up a Linux swap area.
- swapon - Enable devices and files for paging and swapping.
- swapoff - Disable devices and files for paging and swapping.
- free - Display amount of free and used memory in the system.
- top - Display Linux tasks.
- htop - Interactive process viewer.
- ps - Report a snapshot of current processes.
- kill - Send a signal to a process.
- pkill - Send a signal to processes based on name and other attributes.
- killall - Kill processes by name.
- bg - Resume a suspended job in the background.
- fg - Bring a job to the foreground.
- jobs - List active jobs.
- nohup - Run a command immune to hangups.
- screen - Terminal multiplexer.
- tmux - Terminal multiplexer.
- ssh - OpenSSH SSH client (remote login program).
- scp - Secure copy (remote file copy program).
- rsync - Remote file and directory synchronization.
- wget - Non-interactive network downloader.
- curl - Transfer data from or to a server.
- ping - Send ICMP ECHO_REQUEST to network hosts.
- traceroute - Print the route packets take to the network host.
- netstat - Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships.
- ss - Another utility to investigate sockets.
- ip - Show/manipulate routing, devices, policy routing, and tunnels.
- ifconfig - Configure a network interface.
- iwconfig - Configure wireless network interfaces.
- nmcli - Command-line client for NetworkManager.
- systemctl - Examine and control the systemd system and service manager.
- service - Run a System V init script.
- init - System V-style initialization.
- shutdown - Halt, power-off, or reboot the machine.
- reboot - Reboot the system.
- halt - Halt the system.
- poweroff - Power off the system.
- crontab - Schedule periodic background jobs.
- at - Schedule commands to run at a particular time.
- uptime - Tell how long the system has been running.
- dmesg - Print or control the kernel ring buffer.
- uname - Print system information.
- lsb_release - Print distribution-specific information.
- hostname - Show or set the systemβs host name.
- date - Display or set the system date and time.
- cal - Display a calendar.
- bc - An arbitrary precision calculator language.
- dc - An arbitrary precision calculator.
- dd - Convert and copy a file.
- tar - Archive files.
- gzip - Compress files.
- gunzip - Decompress files.
- bzip2 - Compress files.
- bunzip2 - Decompress files.
- zip - Package and compress files.
I hope you find this list helpful! If you have any questions or need further details about any of these commands, feel free to ask.
Yes, this was written with the following prompt to Copilot
"Please write an article that consistents solely of 100 linux commands and what they do"
#SysAdmin #DeveloperTips #LinuxTips #DevOps #CodingLife #CommandLine #LinuxTutorial #aws #linux #bash #devops
Cover image from : https://pixabay.com/illustrations/teacher-profession-education-5322852/
Top comments (0)