Personnal Linux CS Cheat Sheet

A Software › Linux cheat sheet in English by lynch

coucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucoucou

1,383 views 578 downloads 20 Apr 2022 History

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.

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.