Basic Linux Commands [Cheat Sheet]

By Team Clofus Innovations | Mon Jan 17 2022

LINUX Commands

cat - Display file’s contents to the standard output device.

cd - Change to directory.

mkdir - This will create a new directory.

rm - The rm command will remove a specific file.

sudo - This command is used to give the root access to access files.

vi editor - Vi is the inbuilt linux text editor to write Source codes.

head - The head command prints the first line of the file.

tail - The tail command prints the last line of the file.

grep - This command is used to search the files or find text inside the file.

Syntax : grep text_to_find filename.

ping - Shows how long it takes for packets to reach host.

chmod - change file modes and to give file permission.

logout - Logs the current user off the system.

locate filename - Search a copy of your filesystem for the specified filename.

rmdir - delete empty directories.

kill - If the process refuses to stop, use kill -9 pid.

man - Display the help information for the specified command. lpr - Send a print job. ls - List directory contents.

Contact Us

+91 72003 71486
173 TECCI Park, 6th Floor, OMR, Sholinganallur, Chennai, Tamil Nadu 600119.
*Please complete all fields correctly
Whats App