Skip to content

HrushiBorhade/all-things-linux

Repository files navigation

Linux Mascot Falling
 █████╗ ██╗     ██╗         ████████╗██╗  ██╗██╗███╗   ██╗ ██████╗ ███████╗        ██╗     ██╗███╗   ██╗██╗   ██╗██╗  ██╗
██╔══██╗██║     ██║         ╚══██╔══╝██║  ██║██║████╗  ██║██╔════╝ ██╔════╝        ██║     ██║████╗  ██║██║   ██║╚██╗██╔╝
███████║██║     ██║            ██║   ███████║██║██╔██╗ ██║██║  ███╗███████╗        ██║     ██║██╔██╗ ██║██║   ██║ ╚███╔╝ 
██╔══██║██║     ██║            ██║   ██╔══██║██║██║╚██╗██║██║   ██║╚════██║        ██║     ██║██║╚██╗██║██║   ██║ ██╔██╗ 
██║  ██║███████╗███████╗       ██║   ██║  ██║██║██║ ╚████║╚██████╔╝███████║        ███████╗██║██║ ╚████║╚██████╔╝██╔╝ ██╗
╚═╝  ╚═╝╚══════╝╚══════╝       ╚═╝   ╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝ ╚════╝ ╚══════╝        ╚══════╝╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚═╝  ╚═╝
Category Commands
Basic Linux Commands ls cd pwd mkdir rm rmdir cat zcat touch head tail less more cp mv wc ln cut tee sort clear diff df du
Networking Commands curl wget ssh ping netstat ifconfig traceroute tracepath mtr nslookup telnet hostname ip iwconfig ss arp dig whois ifplugstatus route nmap tcpdump nc scp rsync iptables netcat host
System Level Commands uname uptime date who whoami which id sudo shutdown reboot apt yum dnf pacman portage
User & Group Management sudo useradd whoami su passwd userdel groupadd gpasswd groupdel
File Permissions ls chmod chown chgrp umask
Compression Commands zip gzip gunzip tar untar
Pro Linux Commands awk sed grep
Process Management ps top fuser kill nohup free vmstat
Linux Volume Commands fdisk parted lsblk mount umount mkfs fsck lvm blkid findmnt

Linux Commands

Basic Linux Commands

View detailed basic Linux commands guide

Command Description
ls List directory contents
cd Change directory
pwd Print working directory
mkdir Make directories
rm Remove files or directories
rmdir Remove empty directories
cat Concatenate and display files
zcat Display compressed files
touch Create empty files or update timestamps
head Display first lines of files
tail Display last lines of files
less View file contents page by page
more View file contents one screen at a time
cp Copy files and directories
mv Move/rename files and directories
wc Print word, line, character, and byte counts
ln Create hard and soft links
cut Remove sections from lines of files
tee Read from stdin and write to stdout and files
sort Sort lines in text files
clear Clear terminal screen
diff Compare files line by line
df Report file system disk space usage
du Estimate file space usage

Networking Commands

View detailed networking commands guide

Command Description
curl Transfer data from or to a server using various protocols
wget Download files from the web, supports HTTP, HTTPS, and FTP
ssh Secure Shell for remote system access
ping Test network connectivity to a host by sending ICMP packets
netstat Display network connections, routing tables, and interface statistics
ifconfig Configure and display network interface parameters
traceroute Display the route packets take to reach a network host
tracepath Similar to traceroute but doesn't require root privileges
mtr Combine ping and traceroute functionality in a real-time interface
nslookup Query DNS servers for domain name or IP address mapping
telnet Connect to remote systems using the TELNET protocol
hostname Show or set the system's host name
ip Show/manipulate routing, devices, policy routing and tunnels
iwconfig Configure wireless network interfaces
ss Display socket statistics, replacement for netstat
arp View or modify the system's ARP cache
dig DNS lookup utility, test DNS name servers
whois Query WHOIS information for domains
ifplugstatus Check if network cables are plugged in
route Show/manipulate IP routing table
nmap Network exploration tool and security scanner
tcpdump Capture and analyze network traffic
nc Netcat - Swiss army knife for TCP/IP
scp Securely copy files between hosts
rsync Fast, versatile file copying and synchronization
iptables Configure IP packet filter rules
netcat Read and write data across network connections
host DNS lookup utility

System Level Commands

View detailed system commands guide

Command Description
uname Display system information including kernel version
uptime Show how long the system has been running
date Display or set system date and time
who Show who is logged on
whoami Print effective user ID
which Locate a command in system PATH
id Print user and group information
sudo Execute a command as another user (typically root)
shutdown Bring the system down safely
reboot Restart the system
apt Package management for Debian-based systems
yum Package management for older RHEL-based systems
dnf Next generation package management for RHEL-based systems
pacman Package management for Arch Linux
portage Package management for Gentoo Linux

User & Group Management Commands

View detailed user management guide

Command Description
sudo Execute commands with superuser privileges
useradd Create a new user account
whoami Display current user name
su Switch to another user account
passwd Change user password
userdel Delete a user account
groupadd Create a new group
gpasswd Administer groups
groupdel Delete a group

File Permission Commands

View detailed file permissions guide

Command Description
ls List directory contents with permissions
chmod Change file mode/permissions
chown Change file owner and group
chgrp Change group ownership
umask Set default permissions mask

Compression Commands

View detailed compression commands guide

Command Description
zip Package and compress files
gzip Compress files using Lempel-Ziv coding
gunzip Decompress files compressed with gzip
tar Tape archiving utility
untar Extract files from tar archive

Pro Linux Commands

View detailed pro Linux commands guide

Command Description
awk Pattern scanning and text processing language
sed Stream editor for filtering and transforming text
grep Search text patterns using regular expressions

Process Management Commands

View detailed process management guide

Command Description
ps Report process status
top Display and update sorted process information
fuser Identify processes using files or sockets
kill Terminate processes
nohup Run a command immune to hangups
free Display amount of free and used memory
vmstat Report virtual memory statistics

Linux Volume Commands

View detailed volume commands guide

Command Description
fdisk Manipulate disk partition table
parted A more powerful partition manipulation tool
lsblk List block devices
mount Mount a filesystem
umount Unmount a filesystem
mkfs Build a Linux filesystem
fsck Check and repair a Linux filesystem
lvm Logical Volume Manager tools
blkid Locate/print block device attributes
findmnt Find a filesystem

About

A comprehensive guide to linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors