Linux Essential Basic Commands Every User Should Know
Saturday, 9 April 2022
Add Comment
Linux is termed to be most secure and has market share of nearly 3% on Desktops whereas cloud infrastructure and hosting services are using this free open source operating system and who works on it should be familiar with basic and most commonly used commands of Linux all the way.
As all known that Linux is free and open-source, has better security which boasts a powerful command line that makes developers and power users more effective. In general, Linux command is a program or utility that runs on the command line.
Quickstartz.com here gives complete popular Linux commands list which can be an advantage and more useful to Newcomer to Linux or Sysadmin. Check out below for quick reference of mostly used Linux commands.
Command | Usage |
---|---|
ls | Lists the content of a directory |
alias | Define or display aliases |
unalias | Remove alias definitions |
pwd | Prints the working directory |
cd | Changes directory |
cp | Copies files and directories |
rm | Remove files and directories |
mv | Moves (renames) files and directories |
mkdir | Creates directories |
man | Displays manual page of other commands |
touch | Creates empty files |
chmod | Changes file permissions |
./ | Runs an executable |
exit | Exits the current shell session |
sudo | Executes commands as superuser |
shutdown | Shutdowns your machine |
htop | Displays processes and resources information |
unzip | Extracts compressed ZIP files |
apt , yum , pacman | Package managers |
echo | Displays lines of text |
cat | Prints file contents |
ps | Reports shell processes status |
kill | Terminates programs |
ping | Tests network connectivity |
vim | Efficient text editing |
history | Shows a list of previous commands |
passwd | Changes user password |
which | Returns the full binary path of a program |
shred | Overwrites a file to hide its contents |
less | Inspects files interactively |
tail | Displays last lines of a file |
head | Displays first lines of a file |
grep | Prints lines that match patterns |
whoami | Outputs username |
whatis | Shows single-line descriptions |
wc | Word count files |
uname | Displays OS information |
neofetch | Displays OS and hardware information |
find | Searches for files that follow a pattern |
wget | Retrieves files from the internet |
0 Comments
Post a Comment