List Of Commands :
• $ echo Hello World : echo like print
• $ pwd : pour (Print Working Directory
• $ cd /home/pete/Pictures ( change directory)
▪ . (current directory). This is the directory you are currently
in.
▪ .. (parent directory). Takes you to the directory above your
current.
▪ ~ (home directory). This directory defaults to your “home
directory”. Such as /home/pete.
▪ - (previous directory). This will take you to the previous
directory you were just at.
• $ ls : lister les fichiers existants dans le disque ( y a des fichiers cachees
donc on utilise -a)
• $ touch mysuperduperfile: créer un fichier vide porte ce nom.
• $ file [Link] : To find out what kind of file a file is, you can use the file
command. It will show you a description of the file’s contents.
• less [OPTIONS] filename
o q - Used to quit out of less and go back to your shell.
o Page up, Page down, Up and Down - Navigate using the arrow keys
and page keys.
o g - Moves to beginning of the text file.
o G - Moves to the end of the text file.
o /search - You can search for specific text inside the text document.
Prefacing the words you want to search with /
o h - If you need a little help about how to use less while you’re in less,
use help.
• $ history
• $ clear
• $ cp mycoolfile /home/pete/Documents/cooldocs