Linux Notebook is a collection of notes and examples covering essential Linux commands and concepts.
Ready to contribute? Check out the Contributing Guidelines . Fork the repo and create a PR !
- 01 . Computer Hardware
- 00 . Important Command :
lscpu free -m , lspci , lsusb , lsmode , fdisk - 01 . Motherboard (System Board)
- 02 . Processor - CPU
- 03 . RAM
- 04 . Buses
- 05 . Hard Drives
- 06 . Solid State Disks - SSD
- 07 . Optical Driver
- 08 . Managing Device
- 09 . Video Display Devices
- 10 . Power Supplies
- 00 . Important Command :
- 01 . Linux OS
- 02 . Package Management
- 01 .
mancommand - 02 .
infocommand
- 01 . Shell Basic
- 02 . Command Syntax
- 03 . Options vs Arguments
- 04 . History :
historycommand - 05 . Variables : Local , Environment and Path variables
- 06 . Command Types : Internal , External , Aliases , Functions command
- 07 . Quoting : Double
(" "), Single( ' ' ), Back( ``) , Escape Character( \ ) - 08 . Control Statement : Semicolon
(;), Double Ampersand(&&), Double Pipe(||) - 09 . File and Directions : Basic command mentioned (
ls,ls-l,whoami,uname,pwd)
-
01 . Navigating Filesystem
- 01 . Introduction
- 02 . Linux Directory Structure
- 03 . Printing Working Directory -
pwdcommand - 04 . Changing Directory-
cdcommand - 05 . Path : Releative and Absolute path
- 06 . Listing Files :
lscommand
-
02 . Management
- 01 . Globbing Character :
* , ? , [] , ! - 02 . Create :
touchandmkdircommand - 03 . View :
cat,less, vmore,head,tailand|` command - 04 . Copy :
cp,ddcommand - 05 . Move :
mvcommand - 06 . Remove :
rmcommand - 07 . Redirection :
STDOUT,STDERR,STDINcommand - 08 . Sorting : Sorting Fields & options
- 09 . View File Statistics :
wccommand - 10 . Filter File Section :
cutcommand - 11 . Filter File Content :
grepcommand - 12 . Reguler Expression : grep with
. [] [^] $and+ ? {} | ()
- 01 . Globbing Character :
- 01 . Introduction
- 02 . Compressing : using
gzip,bzip2,xztools - 03 . Archiving Files : using
tar - 04 . Zip and Unzip Files
- 01 . Introduction
- 02 . Conditionals :
if-else,test [],swith-case - 03 . Loop :
forandwhileloop
- 01 .
Nano Editors - 02 .
VI Editors
-
01 . User and Access
- 00 . Import Command List Here
- 01 . Switching User command :
su , sudocommand - 02 . User Account : check exist user command -
grep username /etc/passwd - 03 . System Accounts :
etc/passwdandetc/shadow - 04 . Group Accounts :
etc/groupandetc/passwd - 05 . Viewing User Information :
idcommand - 06 . Viewing Current Users :
whoandwcommand - 07 . View Login History :
lastcommand
-
02 . Create User and Group
- 00 . Import Command List Here
- 01 . Introduction on User Account
- 02 . Introduction on Groups
- 03 . Creating a Group :
groupaddcommand - 04 . Group ID ,Name Considerations
- 05 . Modifying a Group :
groupmodcommand - 06 . Deleting a Group :
groupdelcommand - 07 . Introduction on Users
- 08 . User Configuration Files:
useradd -Dcommand - 09 . User Account naming Consideration: Username, UID, Primary group, Supplementary groups, Home directory, Skeleton directory, Shell, Comment (GECOS)
- 10 . Creating a User
- 11 . Updating User Passwords :
passwdcommand - 12 . Modifying a User :
usermodcommand - 13 . Deleting a User :
userdelcommand
- 01 . Understanding File Permission Structure
- 02 . Switching Primary Group Temporarily :
newgrpcommand - 03 . Changing Group Ownership :
chgrpcommand - 04 . Changing File Ownership :
chowncommand - 05 . Changing File Permission :
chmodcommand - 06 . Default File Permissions :
umaskcommand - 07 . File Permission and Ownership releated Q & A
- 01 .
setuidcommand - 02 .
setgidcommand
- 00 . Important Command List Here
- 01 . Processes Theory :
/procoutput - 02 . Process Hierarchy
- 03 . Viewing Process Snapshot :
pscommand - 04 . Viewing Processes in Real Time :
topcommand - 05 . Memory :
freecommand - 06 . Log Files and Command :
/var/log - 07 . Kernel Messages and Command :
dmesgcommand - 08 .
shutdowncommand
- 00 . All Command List Here
- 01 . Network Terminology
- 02 . IP address Theory : IPv4 and IPv6
- 03 . Configuring Network Devices : Key Question
- 04 . Domain Name System (DNS) Theory
- 05 . Network Configuration Files :
/etc/hosts , /etc/resolv.conf , etc/nsswitch.confand DNS Name Resolution Flow - 06 . ifconfig command — View Network Settings
- 07 . route command
- 08 . Ping — Test Network Connectivity
- 09 . netstat command
- 10 . ss command
- 11 . dig command
- 12 . host command
- 13 . ssh command