Linux Cheatsheet (f...
 
Notifications
Clear all

Linux Cheatsheet (for beginners)

1 Posts
1 Users
0 Reactions
16 Views
Frank Schroeder
(@iseetwizard)
Reputable Member Admin
Joined: 5 years ago
Posts: 97
Topic starter  

 

Command Description
ls lists contents of a directory just like dir under DOS
cat concatenate and print files
grep searches for specific results with pattern
clear clear the terminal
cd change directory
pwd print the working directory
mkdir creates (make) a directory
rmdir delete (remove) a directory
man prints the manual pages of a specific tool
which returns the path to an executable
find searches for files in a directory hierarchy
locate searches for files in a system using a prebuilt database
who / whoami display all logged in users / current user
id returns user ID
chmod changes permissions and mode flags of a file or directory
uname prints operating system's name (unix name)
ifconfig network interface configuration of the system
ip display and configure network parameters
sudo / su executes a command as a different user
by default the superuser
open a sessions a s superuser
ps lists the running processes status
kill sends a kill signal to a process
head view the first lines of any text
mv move files
cp copy files


   
Quote