6 ### Read/Write/Execute a file
15 $ rm -rf Directory_with_files
17 ### Copy file to a folder
19 $ cp namefile Downloads
21 namefile Desktop Documents Downloads Music Pictures Public Templates Videos
32 ### Show in the terminal the file
38 ### Create new directory
43 ### list files from directory
46 Desktop Documents Downloads Music Pictures Public Templates Videos
49 ### Mounting a RAM drive
51 $ mount -t tmpfs -o size=5G,nr_inodes=5k,mode=700 tmpfs /tmp
57 username ALL=(ALL) NOPASSWD:/sbin/restart whatever
59 ### Display the amount of available disk space
63 df -h # human-readable format
64 df -a # all filesystems
67 ### Display disk usage
71 du -hsx * | sort -rh | head -10 # largest 10 folders
74 ### Answer yes in a bash script