link

Linux

Linux commands for managing system, files, and processes

42 commands

Commands

42 commands available
Resources

Learn Linux Deeper

Master Linux commands and concepts

linux

List Directory Contents

List files and directories

ls
filesystem
basic
linux

Change Directory

Change the current working directory

cd
filesystem
basic
linux

Print Working Directory

Show current directory path

pwd
filesystem
basic
linux

Copy Files

Copy files and directories

cp
filesystem
basic
linux

Move/Rename Files

Move or rename files and directories

mv
filesystem
basic
linux

Remove Files

Remove files or directories

rm
filesystem
basic
linux

Create File

Create empty file or update timestamps

touch
filesystem
basic
linux

Make Directory

Create new directories

mkdir
filesystem
basic
linux

Concatenate Files

Display file contents

cat
filesystem
text
linux

View File Contents

View file contents interactively

less
filesystem
text
linux

Show File Start

Output first part of files

head
filesystem
text
linux

Show File End

Output last part of files

tail
filesystem
text
linux

Search Text

Search for patterns in files

grep
text
search
linux

Change Permissions

Change file permissions

chmod
permissions
security
linux

Change Owner

Change file owner and group

chown
permissions
security
linux

System Information

Print system information

uname
system
info
linux

Disk Space

Report file system disk space usage

df
system
disk
linux

Directory Space

Estimate file space usage

du
system
disk
linux

Memory Usage

Display memory usage

free
system
memory
linux

Process Activity

Display Linux processes

top
system
monitoring
linux

Process Status

Report current processes

ps
process
system
linux

Terminate Process

Terminate processes by ID

kill
process
system
linux

Kill by Name

Kill processes by name

pkill
process
system
linux

Background Process

Run process in background

bg
process
job
linux

Foreground Process

Bring job to foreground

fg
process
job
linux

Network Test

Test network connectivity

ping
network
diagnostics
linux

Network Interfaces

Configure network interfaces

ifconfig
network
configuration
linux

Network Statistics

Print network connections

netstat
network
monitoring
linux

Secure Shell

Remote login program

ssh
network
remote
linux

Secure Copy

Securely copy files between hosts

scp
network
file-transfer
linux

Archive Files

Tape archive utility

tar
archive
compression
linux

File Compression

Compress files

gzip
compression
linux

Package Files

Package and compress files

zip
archive
compression
linux

Add User

Create new user account

useradd
user
administration
linux

Change Password

Change user password

passwd
user
security
linux

Modify User

Modify user account

usermod
user
administration
linux

APT Package Tool

Debian package management

apt
package
debian
linux

YUM Package Manager

RPM package management

yum
package
rhel
linux

Find Files

Search for files in directory hierarchy

find
filesystem
search
linux

Schedule Tasks

Schedule periodic background jobs

crontab
system
automation
linux

Command Aliases

Create command shortcuts

alias
shell
productivity
linux

Command History

Show command history

history
shell
productivity