Linux Command Cheat Sheet
Linux Command Cheat Sheet
cat file1 file2 > Joins two files (file1, file2) and stores the output in a
file3 new file (file3)
mv filename
Renames the file to a new filename
new_file_name
mv Renames a directory
mail -s 'subject'
-c 'cc-address'
Command to send email
-b 'bcc-address'
'to-address'
mail -s "Subject"
to-address < Command to send email with attachment
Filename
r read permission
w write permission
x execute permission
-= no permission
Networking command
Command Description
SSH username@ip-address or
login into a remote Linux machine using SSH
hostname
Command Description
quit Logout
Process command
Command Description
VI Editing Commands
Command Description
dd Delete line
Delete contents of a line after the cursor and insert new text. Press
C
ESC key to end insertion.
dw Delete word
cw Change word
r Replace character
Guru99's Headquarters
Career Suggestion
SAP Career Suggestion Tool
Software Testing as a Career
Interesting
eBook
Blog
Quiz
SAP eBook
Privacy Manager