Basic Linux Commands Flashcards
ls
Displays information about files in the current directory.
pwd
Displays the current working directory.
mkdir
Creates a directory.
cd
To navigate between different folders.
rmdir
Removes empty directories from the directory lists.
cp
Moves files from one directory to another.
mv
Move, Rename and Replace the files
rm
Rename and Replace the files
uname
Command to get basic information about the OS
locate
Find a file in the database.
touch
Create empty files
cat
Display file contents on terminal
ln
Create shortcuts to other files
clear
Clear terminal
ps
Display the processes in terminal
man
Access manual for all Linux commands
grep
Search for a specific string in an output
echo
Display active processes on the terminal
wget
Download files from the internet.
whoami
Create or update passwords for existing users
sort
Sort the file content
cal
View Calendar in terminal
whereis
View the exact location of any command typed after this command
df
Check the details of the file system
wc
Check the lines, word count, and characters in a file using different options
ifconfig
Display’s the physical/logical network Interface Card information in older Linux kernels.
ip address
Display’s the physical/logical network Interface Card information.