Class PPT

Linux Administration

1. Linux Admin Basics

sudo apt update
sudo apt install vim gcc python3 python3-pip
sudo snap install --classic code

2. Essential Commands

2.1 Directory Commands

Command Description Syntax
pwd Print present working directory pwd
cd Change directory cd dirpath
ls List directory contents ls dirpath
mkdir Make directory mkdir dirpath
rmdir Remove empty directory rmdir dirpath

CD Command Options

2.2 File Commands

CAT Command

RM Command