Memorize.com

Linux Unix

edit

Directories

Action (memorize) Command (memorize)
return into home dircd
move to the superior directorycd ..
return to root dir from any pointcd /
show the content of a dirls
show dir's content with more detailsls -l
create dirmkdir [dir name]
delete directoryrmdir [dir name]
delete dir and all subdirsrm -r [dir name]
delete dir and all subdirs without asking confirmationrm -r -f
show where you arepwd
show subdir's treetree [dir name]
terminate command's executionreset

Files

Action (memorize) Command (memorize)
copy a filecp
delete a filerm
move/rename a filemv
transform yes.txt in no.txtmv yes.txt no.txt
move yes.txt in home dirmv yest.txt /home
show file's contentcat fillename
create an empty filetouch filename
if you wanna know more about a commandman command
set time and datehwclock (see man hwclock for more info)

Basic System management

Question (memorize) Answer (memorize)
Reboot the systemshutdown -r now OR reboot
close the systemshutdown -h now OR halt
shut and turnoff the systemhalt -p
differences between shutdown, halt, reboot, poweroff and the runlevel conceptsee man
close bash or terminalexit
start execution of graphic serverstartx