Last login: Tue Feb 26 17:03:26 on ttys001
You have new mail.
djamelammour@MacBook-Pro-de-Djamel:~$ ~
-bash: /Users/Djamel: is a directory
djamelammour@MacBook-Pro-de-Djamel:~$ cd /
djamelammour@MacBook-Pro-de-Djamel:/$ ls
Applications/ home/
Library/ installer.failurerequests
Network/ mywebsite/
System/ net/
Users/ private/
Volumes/ sbin/
bin/ tmp@
cores/ usr/
dev/ var@
etc@
djamelammour@MacBook-Pro-de-Djamel:/$ ls -l
total 14
drwxrwxr-x+ 70 root admin 2,2K 25 fév 23:00 Applications/
drwxr-xr-x+ 66 root wheel 2,1K 11 oct 20:06 Library/
drwxr-xr-x 2 root wheel 64B 17 aoû 2018 Network/
drwxr-xr-x@ 5 root wheel 160B 21 sep 06:05 System/
drwxr-xr-x 7 root admin 224B 11 oct 18:47 Users/
drwxr-xr-x+ 3 root wheel 96B 26 fév 15:59 Volumes/
drwxr-xr-x@ 37 root wheel 1,2K 21 fév 20:47 bin/
drwxrwxr-t 2 root admin 64B 17 aoû 2018 cores/
dr-xr-xr-x 3 root wheel 4,5K 25 fév 17:13 dev/
lrwxr-xr-x@ 1 root wheel 11B 10 oct 19:44 etc@ -> private/etc
dr-xr-xr-x 2 root wheel 1B 26 fév 16:02 home/
-rw-r--r-- 1 root wheel 313B 18 aoû 2018 installer.failurerequests
drwxr-xr-x 19 root wheel 608B 13 oct 11:18 mywebsite/
dr-xr-xr-x 2 root wheel 1B 26 fév 16:02 net/
drwxr-xr-x 6 root wheel 192B 21 sep 06:07 private/
drwxr-xr-x@ 64 root wheel 2,0K 21 fév 20:47 sbin/
lrwxr-xr-x@ 1 root wheel 11B 10 oct 19:44 tmp@ -> private/tmp
drwxr-xr-x@ 10 root wheel 320B 1 nov 09:30 usr/
lrwxr-xr-x@ 1 root wheel 11B 10 oct 19:44 var@ -> private/var
djamelammour@MacBook-Pro-de-Djamel:/$ /tmp
-bash: /tmp: is a directory
djamelammour@MacBook-Pro-de-Djamel:/$ echo "Je suis moisi" > vieuxtacos.txt
-bash: vieuxtacos.txt: Permission denied
djamelammour@MacBook-Pro-de-Djamel:/$ cat vieuxtacos.txt
cat: vieuxtacos.txt: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:/$ mv vieuxtacos.txt tacos.txt
mv: rename vieuxtacos.txt to tacos.txt: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:/$ rm tacos.txt
rm: tacos.txt: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:/$ mkdir tacosfolder
mkdir: tacosfolder: Permission denied
djamelammour@MacBook-Pro-de-Djamel:/$ sudo
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
usage: sudo [-AbEHknPS] [-C num] [-g group] [-h host] [-p prompt] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C num] [-g group] [-h host] [-p prompt] [-u user] file ...
djamelammour@MacBook-Pro-de-Djamel:/$ /opt
-bash: /opt: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:/$ pwd
/
djamelammour@MacBook-Pro-de-Djamel:/$ mkdir tacosfolder
mkdir: tacosfolder: Permission denied
djamelammour@MacBook-Pro-de-Djamel:/$ sudo mkdir tacosfolder
Password:
djamelammour@MacBook-Pro-de-Djamel:/$ cd tacosfolder/
djamelammour@MacBook-Pro-de-Djamel:/tacosfolder$ touch haricots
touch: haricots: Permission denied
djamelammour@MacBook-Pro-de-Djamel:/tacosfolder$ sudo touch haricots
djamelammour@MacBook-Pro-de-Djamel:/tacosfolder$ cd ..
djamelammour@MacBook-Pro-de-Djamel:/$ realpath .
-bash: realpath: command not found
djamelammour@MacBook-Pro-de-Djamel:/$ pwd
/
djamelammour@MacBook-Pro-de-Djamel:/$ cd .
djamelammour@MacBook-Pro-de-Djamel:/$ sudo rm -r tacosfolder
djamelammour@MacBook-Pro-de-Djamel:/$ cd ..
djamelammour@MacBook-Pro-de-Djamel:/$ cd Documents
-bash: cd: Documents: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:/$ cd /
djamelammour@MacBook-Pro-de-Djamel:/$ cd Documents
-bash: cd: Documents: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:/$ cd ~/Documents
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ pwd
/Users/Djamel/Documents
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ mkdir chalet
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ touch fauteuil1
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ mv fauteuil1 chalet
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ cd chalet
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ cd ..
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ cd chalet
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ mkdir armure armoires etageres
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ cd a
-bash: cd: a: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ cd ..
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ cd a
-bash: cd: a: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ cd chalet
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ cd a
-bash: cd: a: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:/Users$ cd Documents
-bash: cd: Documents: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:/Users$ cd ~/Documents
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ cp fauteuil1 fauteuil2
cp: fauteuil1: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ ls
Netflix/ bannerwildcodeschool.ai wheel.ai
adobe creative cloud/ chalet/ wildcircus/
bannerwildcodeschool copie.ai fiche_de_paie_janvier_2019_ammour_djamel.pdf wildcodeschool.xd
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ touch fauteuil1
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ ls
Netflix/ bannerwildcodeschool.ai fiche_de_paie_janvier_2019_ammour_djamel.pdf wildcodeschool.xd
adobe creative cloud/ chalet/ wheel.ai
bannerwildcodeschool copie.ai fauteuil1 wildcircus/
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ cp fauteil1 fauteuil2
cp: fauteil1: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ cp fauteuil1 fauteuil2
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ ls
Netflix/ bannerwildcodeschool.ai fauteuil2 wildcircus/
adobe creative cloud/ chalet/ fiche_de_paie_janvier_2019_ammour_djamel.pdf wildcodeschool.xd
bannerwildcodeschool copie.ai fauteuil1 wheel.ai
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ cd chalet
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ touch bibelots
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ cd armoires
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/armoires$ mv../bibelots
-bash: mv../bibelots: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/armoires$ mv ../bibelots
usage: mv [-f | -i | -n] [-v] source target
mv [-f | -i | -n] [-v] source ... directory
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/armoires$ cd ..
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ touch bibelots
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ cd armoires
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/armoires$ mv ../bibelots
usage: mv [-f | -i | -n] [-v] source target
mv [-f | -i | -n] [-v] source ... directory
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/armoires$ ls
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/armoires$ ls -l
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/armoires$ mv ../bibelots .
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/armoires$ ls
bibelots
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/etageres$ cd armoires
-bash: cd: armoires: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/etageres$ cd ..
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ cd armoires
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/armoires$ cp bibelots ../etageres/ bibelots
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/armoires$ cp bibelots ../etageres/bibelots
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/armoires$ ls
bibelots
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/armoires$ ~/Documents
-bash: /Users/Djamel/Documents: is a directory
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet/armoires$ cd ..
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ cd ..
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ tree chalet
-bash: tree: command not found
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ brew update
Updated 1 tap (homebrew/core).
==> Updated Formulae
openssl@1.1
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ brew install tree
==> Downloading https://homebrew.bintray.com/bottles/tree-1.8.0.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring tree-1.8.0.mojave.bottle.tar.gz
🍺 /usr/local/Cellar/tree/1.8.0: 8 files, 117KB
==> `brew cleanup` has not been run in 30 days, running now...
Pruned 1 symbolic links and 1 directories from /usr/local
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ tree chalet
chalet
├── armoires
│ └── bibelots
├── armure
├── etageres
│ └── bibelots
└── fauteuil1
3 directories, 3 files
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ cd chalet
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ fauteuil2
-bash: fauteuil2: command not found
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ touch fauteuil2
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ tree chalet
chalet [error opening dir]
0 directories, 0 files
djamelammour@MacBook-Pro-de-Djamel:~/Documents/chalet$ cd ..
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ tree chalet
chalet
├── armoires
│ └── bibelots
├── armure
├── etageres
│ └── bibelots
├── fauteuil1
└── fauteuil2
3 directories, 4 files
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ cd desktop
-bash: cd: desktop: No such file or directory
djamelammour@MacBook-Pro-de-Djamel:~/Documents$ cd ..
djamelammour@MacBook-Pro-de-Djamel:~$ cd desktop
djamelammour@MacBook-Pro-de-Djamel:~/desktop$ history > chaletree.log
djamelammour@MacBook-Pro-de-Djamel:~/desktop$