Intro Unix
➜ ~ /
➜ / ls
Applications dev
Incompatible Software etc
Informations sur l’utilisateur home
Library installer.failurerequests
Network net
System private
Users sbin
Volumes tmp
bin usr
cores var
➜ / ls.
zsh: command not found: ls.
➜ / ls .
Applications dev
Incompatible Software etc
Informations sur l’utilisateur home
Library installer.failurerequests
Network net
System private
Users sbin
Volumes tmp
bin usr
cores var
➜ / ls -a
. Network
.. System
.DS_Store Users
.DocumentRevisions-V100 Volumes
.PKInstallSandboxManager bin
.Spotlight-V100 cores
.TemporaryItems dev
.Trashes etc
.file home
.fseventsd installer.failurerequests
.hotfiles.btree net
.vol private
Applications sbin
Incompatible Software tmp
Informations sur l’utilisateur usr
Library var
➜ / ls Pictures
ls: Pictures: No such file or directory
➜ / cd
➜ ~ ls Pictures
Bibliothèque Photo Booth
Bibliothèque Photos.photoslibrary
Bibliothèque iPhoto.migratedphotolibrary
MP Navigator EX
attestecole 1.jpeg
attestecole.jpeg
dianedessin 1.tiff
dianedessin 2.tiff
dianedessin 3.tiff
dianedessin.tiff
➜ ~ ls ./Pictures
Bibliothèque Photo Booth
Bibliothèque Photos.photoslibrary
Bibliothèque iPhoto.migratedphotolibrary
MP Navigator EX
attestecole 1.jpeg
attestecole.jpeg
dianedessin 1.tiff
dianedessin 2.tiff
dianedessin 3.tiff
dianedessin.tiff
➜ ~ /
➜ / ls /home
➜ / ls ..
Applications dev
Incompatible Software etc
Informations sur l’utilisateur home
Library installer.failurerequests
Network net
System private
Users sbin
Volumes tmp
bin usr
cores var
➜ / `ls /bin
bquote>
➜ / ls sbin
autodiskmount fstyp mount mount_ntfs pfctl
disklabel fstyp_hfs mount_acfs mount_smbfs ping
dmesg fstyp_msdos mount_afp mount_udf ping6
dynamic_pager fstyp_ntfs mount_cd9660 mount_webdav quotacheck
emond fstyp_udf mount_cddafs mpioutil reboot
fibreconfig halt mount_devfs newfs_exfat route
fsck ifconfig mount_exfat newfs_hfs rtsol
fsck_cs kextload mount_fdesc newfs_msdos shutdown
fsck_exfat kextunload mount_ftp newfs_udf umount
fsck_hfs launchd mount_hfs nfsd
fsck_msdos md5 mount_msdos nfsiod
fsck_udf mknod mount_nfs nologin
➜ / cd home
➜ /home ls /bin
[ dd kill mv sh wait4path
bash df ksh pax sleep zsh
cat domainname launchctl ps stty
chmod echo link pwd sync
cp ed ln rcp tcsh
csh expr ls rm test
date hostname mkdir rmdir unlink
➜ /home ls -l /bin
total 5168
-rwxr-xr-x 1 root wheel 22464 3 déc 2015 [
-r-xr-xr-x 1 root wheel 628496 3 déc 2015 bash
-rwxr-xr-x 1 root wheel 23520 3 déc 2015 cat
-rwxr-xr-x 1 root wheel 33904 3 déc 2015 chmod
-rwxr-xr-x 1 root wheel 28832 3 déc 2015 cp
-rwxr-xr-x 1 root wheel 378624 3 déc 2015 csh
-rwxr-xr-x 1 root wheel 28368 3 déc 2015 date
-rwxr-xr-x 1 root wheel 31856 3 déc 2015 dd
-rwxr-xr-x 1 root wheel 27440 3 déc 2015 df
-r-xr-xr-x 1 root wheel 18144 3 déc 2015 domainname
-rwxr-xr-x 1 root wheel 18032 3 déc 2015 echo
-rwxr-xr-x 1 root wheel 53872 3 déc 2015 ed
-rwxr-xr-x 1 root wheel 22992 3 déc 2015 expr
-rwxr-xr-x 1 root wheel 18192 3 déc 2015 hostname
-rwxr-xr-x 1 root wheel 18528 3 déc 2015 kill
-r-xr-xr-x 1 root wheel 1394432 3 déc 2015 ksh
-rwxr-xr-x 1 root wheel 119936 3 déc 2015 launchctl
-rwxr-xr-x 1 root wheel 18928 3 déc 2015 link
-rwxr-xr-x 1 root wheel 18928 3 déc 2015 ln
-rwxr-xr-x 1 root wheel 38512 3 déc 2015 ls
-rwxr-xr-x 1 root wheel 18496 3 déc 2015 mkdir
-rwxr-xr-x 1 root wheel 24144 3 déc 2015 mv
-rwxr-xr-x 1 root wheel 110800 3 déc 2015 pax
-rwsr-xr-x 1 root wheel 51008 3 déc 2015 ps
-rwxr-xr-x 1 root wheel 18176 3 déc 2015 pwd
-r-xr-xr-x 1 root wheel 29520 3 déc 2015 rcp
-rwxr-xr-x 1 root wheel 23744 3 déc 2015 rm
-rwxr-xr-x 1 root wheel 18064 3 déc 2015 rmdir
-r-xr-xr-x 1 root wheel 632672 3 déc 2015 sh
-rwxr-xr-x 1 root wheel 17984 3 déc 2015 sleep
-rwxr-xr-x 1 root wheel 32048 3 déc 2015 stty
-rwxr-xr-x 1 root wheel 42320 3 déc 2015 sync
-rwxr-xr-x 1 root wheel 378624 3 déc 2015 tcsh
-rwxr-xr-x 1 root wheel 22464 3 déc 2015 test
-rwxr-xr-x 1 root wheel 23744 3 déc 2015 unlink
-rwxr-xr-x 1 root wheel 18080 3 déc 2015 wait4path
-rwxr-xr-x 1 root wheel 573600 3 déc 2015 zsh
➜ /home pwd
/home
➜ /home /
➜ / pwd
/
➜ / ~ pwd
zsh: permission denied: /Users/stephaneurth
➜ / ~
➜ ~ pwd
/Users/stephaneurth
➜ ~ cd Pictures
➜ Pictures cd ..
➜ ~ cd /Pictures
cd: no such file or directory: /Pictures
➜ ~ cd /opt
cd: no such file or directory: /opt
➜ ~ ls
Applications Downloads Music streets
Desktop Library Pictures temppics.adob
Documents Movies Public
➜ ~ cd /Pictures
cd: no such file or directory: /Pictures
➜ ~ cd Pictures
➜ Pictures cd /opt
cd: no such file or directory: /opt
➜ Pictures cd ..
➜ ~ cd home
cd: no such file or directory: home
➜ ~ cd ../home
cd: no such file or directory: ../home
➜ ~ cd /usr/bin
➜ bin cd ../home/stephaneurth
cd: no such file or directory: ../home/stephaneurth
➜ bin ls ~/Pictures
Bibliothèque Photo Booth
Bibliothèque Photos.photoslibrary
Bibliothèque iPhoto.migratedphotolibrary
MP Navigator EX
attestecole 1.jpeg
attestecole.jpeg
dianedessin 1.tiff
dianedessin 2.tiff
dianedessin 3.tiff
dianedessin.tiff
➜ bin