Show Menu
Cheatography

Personnal Linux CS Cheat Sheet by

coucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucou

Directory operations

mkdir <di­rNa­me>
Make directory dir
rm <fi­le>
Remove something
mv <fi­le1> <fi­le2>
Move something somewhere
cp <fi­le1> <fi­le2>
Copy paste something somewhere
 

File operations

head <fi­le>
Show the first 10 lines of a file
tail <fi­le>
Show the last 10 lines of a file
more <fi­le>
Show all the lines of a file
less <fi­le>
Show only one screen of lines of a file
touch <fi­le>
Create file and edit it
cat <fi­le>
Concat­enate files
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.