About Linux…
Linux is an open-source operating system that has different distributions.
Here is a list of some Linux commands and a brief description of how they are used:
rm– This deletes a file or directorysort– This sorts the lines of a fileuniq– This removes duplicate lines from a filetar– This creates or extracts a tar archive fileapt-get– This is a package management tool for installing, updating and removing software packages on Debian-based distributionsyum– This is a package management tool, similar toapt-get, used on some Red Hat-based systemsdpkg– This is a tool for installing, building, and managing Debian packagesgcc– This is the GNU Compiler Collection, a suite of compilers for C, C++, and other languagesssh– This is (secure shell) a tool for connecting to and controlling a remote machine over an encrypted connectionscp– This is (secure copy) a tool for copying files between two machines over an encrypted connectionrsync– This is a tool for efficiently transferring and synchronizing files between two locationswget– This is a tool for downloading files over the internetcurl– This is a tool for transferring data with URLsping– This is a tool for testing network connectivitytraceroute– This is a tool for displaying the route that a packet takes to reach its destinationifconfig– This is a tool for configuring network interfacesip– This is a tool for displaying and manipulating network settingsnetstat– This is a tool for displaying information about network connectionssystemctl– This is a tool for controlling system services and daemonsjournalctl– This is a tool for viewing and managing the system journaluptime– This is a tool for displaying how long the system has been runningtop– This is a tool for displaying real-time information about system resources and processeshtop– This is a more user-friendly version oftopalias– This creates an alias for a commandcase– This specifies a command to run based on a value or pattern
These are more Linux commands:
cd– change the current working directorychgrp– This changes the group ownership of a file or directorychmod– This changes the permissions of a file or directorydf– This displays information about free disk space on the systemecho– This prints a message to the terminalfree– This displays information about free and used memory in the systemgroupadd– This adds a new groupgroupdel– This deletes a groupgroupmod– This modifies a groupgroups– This displays the groups that a user is a member ofgzip– This compresses or decompresses a filehead– This displays the first few lines of a filehistory– This displays a list of recently used commandsif– This executes a command based on a conditionjobs– This displays a list of jobskill– This sends a signal to a process to terminate itless– This views a file one page at a timeln– This creates a link to a filelocate– find the location of a filelogin– This logs into the systemlogout– This logs out of the systemlp– This prints a filelpr– This prints a filels– This lists the files and directories in a directorymake– This builds software from source code
Additional commands are listed below:
man– This displays the manual page for a commandmkdir– This creates a new directorymore– This views a file one page at a timemv– This moves or renames a file or directorynice– This executes a program/process with modified scheduling priorityapropos– This searches the manual page names and descriptions for a keywordawk– This is a pattern-directed scanning and processing languagebg– This sends a job to the backgroundbreak– This exits from a loopcat– This displays the contents of a filecd– This changes the current working directorychgrp– This changes the group ownership of a file or directorychmod– This changes the permissions of a file or directorychown– This changes the owner of a file or directorychroot– This changes the root directory for the current processcksum– This calculates the checksum of a fileclear– This clears the terminal screencmp– This compares the contents of two filescomm– This compares the contents of two sorted filescommand– This executes a command, bypassing any shell functionscontinue– This resumes the next iteration of a loopcp– This copies a file or directorycrontab– This is a utility for managing cron jobscsplit– This splits a file into sections determined by contextcut– This extracts fields or columns from a file
More Linux commands are listed below:
date– This displays or sets the system date and timedc– This is a desk calculator utilitydd– This copies and converts a filedf– This displays information about free disk space on the systemdiff– This compares differences between two filesdir– This lists the files in a directorydirname– This strips non-directory suffixes from a file namedu– This displays the size of a file or directoryecho– This prints a message to the terminalegrep– This searches for a pattern in a file or multiple files using extended regular expressionsenv– This displays or sets environment variablesexit– This exits the current shell or scriptexpand– This converts tabs to spacesexpr– This evaluates an expressionfg– This brings a job to the foregroundfgrep– This searches for a pattern in a file or multiple files using fixed stringsfile– This determines the type of a filefind– This searches for files based on various criteriafmt– This reformats paragraph textfold– This wraps a text at a specified widthfor– This executes a command for each item in a listfree– This displays information about free and used memory in the systemfsck– This checks and repairs a filesystemgawk– This is a pattern-directed scanning and processing languagegrep– This searches for a pattern in a file or multiple files
Are you interested in learning Linux or DevOps? If yes, click here to enroll in our programs.




