18 LINUX Commands You Should Know

Posted by Dipak Mane Published on Dec 4 , 2023

ls

List files and dirs in current directory

cd

Change current directory

Photo Credit : Unsplash

pwd

Display current directory path

man

Show manual page of a command

Photo Credit : Unsplash

grep

Search for patterns in files or output-string

find

Search for files in directory hierarchy

Photo Credit : Unsplash

cat

Concatenate and display file contents

sudo

Run a command with superuser privilege

Photo Credit : Unsplash

vi

Edit a text file from command line

ps

Display currently running processes

Photo Credit : Unsplash

top

Display system processes dynamically

ip

Display and configure network interfaces

Photo Credit : Unsplash

df

Report filesystem disk space usage

du

Show file and directory space usage

Photo Credit : Unsplash

chmod

Change file permissions

chown

Change file owner and group

Photo Credit : Unsplash

ssh

Remote login via secure shell

scp

Copy files between hosts over ssh

Photo Credit : Unsplash