This commit is contained in:
2022-11-15 15:35:45 +01:00
parent cce03510aa
commit 2da0215d27
24 changed files with 867 additions and 0 deletions

160
TP07/find-output.txt Normal file
View File

@@ -0,0 +1,160 @@
/etc : 2018/08/30 : 4096
/etc/ssl : 2016/10/24 : 4096
/etc/machine-id : 2016/07/05 : 33
/etc/security : 2016/10/31 : 4096
/etc/resolvconf.conf : 2016/05/19 : 254
/etc/netctl : 2016/07/11 : 4096
/etc/localtime : 2017/07/06 : 25
/etc/pkcs11 : 2015/12/18 : 4096
/etc/ld.so.cache : 2018/08/30 : 83501
/etc/pam.d.ori : 2016/07/13 : 4096
/etc/arch-release : 2015/09/30 : 0
/etc/protocols : 2016/11/10 : 3145
/etc/fstab.ori : 2016/07/13 : 209
/etc/logrotate.conf : 2016/08/21 : 686
/etc/yaourtrc : 2016/11/09 : 1443
/etc/sudoers.d : 2016/03/25 : 4096
/etc/cron.daily : 2016/06/30 : 4096
/etc/avahi : 2016/03/06 : 4096
/etc/java-8-openjdk : 2016/10/23 : 4096
/etc/rsyncd.conf : 2016/11/20 : 172
/etc/ld.so.conf : 2015/09/30 : 71
/etc/udev : 2016/10/24 : 4096
/etc/shadow : 2018/07/17 : 843
/etc/samba : 2016/11/15 : 4096
/etc/exports.ori : 2015/11/06 : 439
/etc/hosts.ori : 2015/09/30 : 195
/etc/environment : 2016/06/09 : 97
/etc/sudoers : 2016/10/31 : 3213
/etc/ODBCDataSources : 2015/09/02 : 4096
/etc/vde : 2015/09/19 : 4096
/etc/crypttab : 2015/09/30 : 930
/etc/binfmt.d : 2016/06/18 : 4096
/etc/securetty : 2015/09/30 : 86
/etc/group- : 2016/10/31 : 842
/etc/mail.rc : 2016/10/20 : 6298
/etc/rpc : 2016/08/06 : 1634
/etc/depmod.d : 2015/11/18 : 4096
/etc/X11 : 2016/06/18 : 4096
/etc/shells : 2015/09/30 : 52
/etc/sysctl.d : 2016/06/18 : 4096
/etc/updatedb.conf : 2014/12/14 : 558
/etc/xinetd.d : 2016/11/23 : 4096
/etc/nss_ldap.conf.ori : 2016/07/13 : 9472
/etc/fuse.conf : 2016/06/22 : 216
/etc/libnl : 2016/08/22 : 4096
/etc/mkinitcpio.conf : 2016/09/09 : 2490
/etc/pacman.conf : 2016/05/18 : 2898
/etc/sysconfig : 2016/08/25 : 4096
/etc/passwd : 2016/10/31 : 1317
/etc/resolv.conf : 2018/07/18 : 49
/etc/bash.bashrc : 2016/11/14 : 576
/etc/mtab : 2016/07/05 : 19
/etc/fonts : 2016/08/06 : 4096
/etc/gdb : 2017/01/25 : 4096
/etc/modprobe.d : 2015/11/18 : 4096
/etc/odbcinst.ini : 2016/11/06 : 0
/etc/group : 2016/10/31 : 856
/etc/cron.weekly : 2016/06/30 : 4096
/etc/netconfig : 2015/11/06 : 767
/etc/man_db.conf : 2016/08/26 : 5134
/etc/bash.bash_logout : 2016/11/14 : 28
/etc/pcmcia : 2013/05/13 : 4096
/etc/gss : 2016/06/18 : 4096
/etc/profile : 2015/09/30 : 573
/etc/krb5.conf : 2016/03/07 : 369
/etc/conf.d : 2016/11/15 : 4096
/etc/initcpio : 2016/01/20 : 4096
/etc/odbc.ini : 2016/11/06 : 0
/etc/nsswitch.ldap : 2014/07/03 : 1300
/etc/gshadow : 2016/10/31 : 712
/etc/nanorc : 2016/10/29 : 8779
/etc/pacman.d : 2016/11/23 : 4096
/etc/iproute2 : 2016/10/24 : 4096
/etc/logrotate.d : 2016/11/15 : 4096
/etc/systemd : 2016/10/24 : 4096
/etc/ethertypes : 2016/03/14 : 1362
/etc/nsswitch.conf.ori : 2015/09/30 : 234
/etc/hostname.ori : 2016/07/05 : 4
/etc/mke2fs.conf : 2016/09/05 : 945
/etc/brlapi.key : 2016/10/31 : 33
/etc/.pwd.lock : 2016/07/05 : 0
/etc/dhcpcd.conf : 2016/08/15 : 1191
/etc/pulse : 2016/06/25 : 4096
/etc/hostname : 2016/07/13 : 9
/etc/ImageMagick-6 : 2016/11/23 : 4096
/etc/ntp.conf.ori : 2016/06/04 : 706
/etc/resolv.conf.bak : 2018/07/18 : 80
/etc/passwd- : 2016/10/31 : 1277
/etc/openldap : 2016/11/04 : 4096
/etc/vimrc : 2017/09/11 : 912
/etc/makepkg.conf : 2016/05/18 : 5897
/etc/libsmbios : 2016/05/20 : 4096
/etc/drirc : 2016/11/14 : 4479
/etc/shadow- : 2016/10/31 : 815
/etc/pam_ldap.conf.ori : 2014/07/01 : 8678
/etc/smbldap-tools : 2016/07/13 : 4096
/etc/gtk-3.0 : 2016/11/23 : 4096
/etc/ld.so.conf.d : 2016/08/22 : 4096
/etc/gssapi_mech.conf : 2013/10/21 : 918
/etc/locale.gen : 2016/07/05 : 9530
/etc/fstab : 2016/07/13 : 277
/etc/lvm : 2016/11/15 : 4096
/etc/kernel : 2016/06/18 : 4096
/etc/motd : 2015/09/30 : 0
/etc/ceph : 2016/10/09 : 4096
/etc/gshadow- : 2016/10/31 : 701
/etc/wgetrc : 2016/06/19 : 5026
/etc/ssh : 2016/10/24 : 4096
/etc/skel : 2016/11/23 : 4096
/etc/profile.d : 2016/11/09 : 4096
/etc/pam.d : 2016/11/15 : 4096
/etc/idmapd.conf : 2016/07/13 : 171
/etc/ifplugd : 2016/06/13 : 4096
/etc/dbus-1 : 2016/10/24 : 4096
/etc/services : 2016/11/10 : 294578
/etc/login.defs : 2016/10/29 : 5583
/etc/raddb.default : 2016/11/15 : 4096
/etc/nsswitch.conf : 2016/07/13 : 238
/etc/gai.conf : 2016/08/06 : 2584
/etc/modules-load.d : 2016/06/18 : 4096
/etc/exports : 2016/07/13 : 224
/etc/exports.d : 2015/11/06 : 4096
/etc/ca-certificates : 2016/05/07 : 4096
/etc/locale.gen.pacnew : 2016/08/06 : 9614
/etc/raddb : 2016/05/11 : 4096
/etc/mkinitcpio.d : 2016/11/23 : 4096
/etc/polkit-1 : 2015/10/25 : 4096
/etc/libvirt : 2016/11/15 : 4096
/etc/brltty.conf : 2016/07/28 : 23543
/etc/vconsole.conf : 2016/07/05 : 10
/etc/anacrontab : 2016/06/30 : 541
/etc/request-key.d : 2016/10/24 : 4096
/etc/pam_ldap.conf : 2016/07/15 : 311
/etc/cron.d : 2016/09/19 : 4096
/etc/os-release : 2016/07/05 : 21
/etc/sasl2 : 2016/11/15 : 4096
/etc/pam.d.old : 2016/07/13 : 4096
/etc/host.conf : 2015/09/30 : 63
/etc/request-key.conf : 2014/03/01 : 1814
/etc/hosts : 2016/07/13 : 182
/etc/mdadm.conf : 2016/02/02 : 2349
/etc/trusted-key.key : 2015/04/21 : 376
/etc/default : 2016/11/09 : 4096
/etc/.updated : 2016/10/24 : 163
/etc/nss_ldap.conf : 2016/07/15 : 321
/etc/locale.conf : 2016/07/05 : 17
/etc/gssproxy : 2016/11/09 : 4096
/etc/cron.deny : 2016/06/30 : 74
/etc/cron.monthly : 2016/06/30 : 4096
/etc/cron.hourly : 2016/09/19 : 4096
/etc/nscd.conf : 2016/08/06 : 2387
/etc/ntp.conf : 2016/07/15 : 1605
/etc/inputrc : 2016/11/06 : 714
/etc/xdg : 2016/10/31 : 4096
/etc/tmpfiles.d : 2016/06/18 : 4096
/etc/issue : 2015/09/30 : 20
/etc/nfsmount.conf : 2016/08/25 : 3605
/etc/vde2 : 2015/09/19 : 4096
/etc/whois.conf : 2017/03/15 : 382
/etc/iptables : 2016/03/14 : 4096

158
TP07/ls-output.txt Normal file
View File

@@ -0,0 +1,158 @@
total 1048
-rw-r--r-- 1 root root 541 30 juin 2016 anacrontab
-rw-r--r-- 1 root root 0 30 sept. 2015 arch-release
drwxr-xr-x 3 root root 4096 6 mars 2016 avahi
-rw-r--r-- 1 root root 28 14 nov. 2016 bash.bash_logout
-rw-r--r-- 1 root root 576 14 nov. 2016 bash.bashrc
drwxr-xr-x 2 root root 4096 18 juin 2016 binfmt.d
-rw-r----- 1 root brlapi 33 31 oct. 2016 brlapi.key
-rw-r--r-- 1 root root 23543 28 juil. 2016 brltty.conf
drwxr-xr-x 4 root root 4096 7 mai 2016 ca-certificates
drwxr-xr-x 2 root root 4096 9 oct. 2016 ceph
drwxr-xr-x 2 root root 4096 15 nov. 2016 conf.d
drwxr-xr-x 2 root root 4096 19 sept. 2016 cron.d
drwxr-xr-x 2 root root 4096 30 juin 2016 cron.daily
-rw-r--r-- 1 root root 74 30 juin 2016 cron.deny
drwxr-xr-x 2 root root 4096 19 sept. 2016 cron.hourly
drwxr-xr-x 2 root root 4096 30 juin 2016 cron.monthly
drwxr-xr-x 2 root root 4096 30 juin 2016 cron.weekly
-rw------- 1 root root 930 30 sept. 2015 crypttab
drwxr-xr-x 3 root root 4096 24 oct. 2016 dbus-1
drwxr-xr-x 2 root root 4096 9 nov. 2016 default
drwxr-xr-x 2 root root 4096 18 nov. 2015 depmod.d
-rw-r--r-- 1 root root 1191 15 août 2016 dhcpcd.conf
-rw-r--r-- 1 root root 4479 14 nov. 2016 drirc
-rw-r--r-- 1 root root 97 9 juin 2016 environment
-rw-r--r-- 1 root root 1362 14 mars 2016 ethertypes
-rw-r--r-- 1 root root 224 13 juil. 2016 exports
drwxr-xr-x 2 root root 4096 6 nov. 2015 exports.d
-rw-r--r-- 1 root root 439 6 nov. 2015 exports.ori
drwxr-xr-x 4 root root 4096 6 août 2016 fonts
-rw-r--r-- 1 root root 277 13 juil. 2016 fstab
-rw-r--r-- 1 root root 209 13 juil. 2016 fstab.ori
-rw-r--r-- 1 root root 216 22 juin 2016 fuse.conf
-rw-r--r-- 1 root root 2584 6 août 2016 gai.conf
drwxr-xr-x 2 root root 4096 25 janv. 2017 gdb
-rw-r--r-- 1 root root 856 31 oct. 2016 group
-rw-r--r-- 1 root root 842 31 oct. 2016 group-
-rw------- 1 root root 712 31 oct. 2016 gshadow
-rw------- 1 root root 701 31 oct. 2016 gshadow-
drwxr-xr-x 3 root root 4096 18 juin 2016 gss
-rw-r--r-- 1 root root 918 21 oct. 2013 gssapi_mech.conf
drwxr-xr-x 2 root root 4096 9 nov. 2016 gssproxy
drwxr-xr-x 2 root root 4096 23 nov. 2016 gtk-3.0
-rw-r--r-- 1 root root 63 30 sept. 2015 host.conf
-rw-r--r-- 1 root root 9 13 juil. 2016 hostname
-rw-r--r-- 1 root root 4 5 juil. 2016 hostname.ori
-rw-r--r-- 1 root root 182 13 juil. 2016 hosts
-rw-r--r-- 1 root root 195 30 sept. 2015 hosts.ori
-rw-r--r-- 1 root root 171 13 juil. 2016 idmapd.conf
drwxr-xr-x 2 root root 4096 13 juin 2016 ifplugd
drwxr-xr-x 2 root root 4096 23 nov. 2016 ImageMagick-6
drwxr-xr-x 4 root root 4096 20 janv. 2016 initcpio
-rw-r--r-- 1 root root 714 6 nov. 2016 inputrc
drwxr-xr-x 2 root root 4096 24 oct. 2016 iproute2
drwxr-xr-x 2 root root 4096 14 mars 2016 iptables
-rw-r--r-- 1 root root 20 30 sept. 2015 issue
drwxr-xr-x 6 root root 4096 23 oct. 2016 java-8-openjdk
drwxr-xr-x 3 root root 4096 18 juin 2016 kernel
-rw-r--r-- 1 root root 369 7 mars 2016 krb5.conf
-rw-r--r-- 1 root root 83501 30 août 10:07 ld.so.cache
-rw-r--r-- 1 root root 71 30 sept. 2015 ld.so.conf
drwxr-xr-x 2 root root 4096 22 août 2016 ld.so.conf.d
drwxr-xr-x 2 root root 4096 22 août 2016 libnl
drwxr-xr-x 2 root root 4096 20 mai 2016 libsmbios
drwxr-xr-x 4 root root 4096 15 nov. 2016 libvirt
-rw-r--r-- 1 root root 17 5 juil. 2016 locale.conf
-rw-r--r-- 1 root root 9530 5 juil. 2016 locale.gen
-rw-r--r-- 1 root root 9614 6 août 2016 locale.gen.pacnew
lrwxrwxrwx 1 root root 25 6 juil. 2017 localtime -> ../usr/share/zoneinfo/UTC
-rw-r--r-- 1 root root 5583 29 oct. 2016 login.defs
-rw-r--r-- 1 root root 686 21 août 2016 logrotate.conf
drwxr-xr-x 2 root root 4096 15 nov. 2016 logrotate.d
drwxr-xr-x 5 root root 4096 15 nov. 2016 lvm
-r--r--r-- 1 root root 33 5 juil. 2016 machine-id
-r--r--r-- 1 root root 6298 20 oct. 2016 mail.rc
-rw-r--r-- 1 root root 5897 18 mai 2016 makepkg.conf
-rw-r--r-- 1 root root 5134 26 août 2016 man_db.conf
-rw-r--r-- 1 root root 2349 2 févr. 2016 mdadm.conf
-rw-r--r-- 1 root root 945 5 sept. 2016 mke2fs.conf
-rw-r--r-- 1 root root 2490 9 sept. 2016 mkinitcpio.conf
drwxr-xr-x 2 root root 4096 23 nov. 2016 mkinitcpio.d
drwxr-xr-x 2 root root 4096 18 nov. 2015 modprobe.d
drwxr-xr-x 2 root root 4096 18 juin 2016 modules-load.d
-rw-r--r-- 1 root root 0 30 sept. 2015 motd
lrwxrwxrwx 1 root root 19 5 juil. 2016 mtab -> ../proc/self/mounts
-rw-r--r-- 1 root root 8779 29 oct. 2016 nanorc
-rw-r--r-- 1 root root 767 6 nov. 2015 netconfig
drwxr-xr-x 5 root root 4096 11 juil. 2016 netctl
-rw-r--r-- 1 root root 3605 25 août 2016 nfsmount.conf
-rw-r--r-- 1 root root 2387 6 août 2016 nscd.conf
-rw-r--r-- 1 root root 321 15 juil. 2016 nss_ldap.conf
-rw-r--r-- 1 root root 9472 13 juil. 2016 nss_ldap.conf.ori
-rw-r--r-- 1 root root 238 13 juil. 2016 nsswitch.conf
-rw-r--r-- 1 root root 234 30 sept. 2015 nsswitch.conf.ori
-rw-r--r-- 1 root root 1300 3 juil. 2014 nsswitch.ldap
-rw-r--r-- 1 root root 1605 15 juil. 2016 ntp.conf
-rw-r--r-- 1 root root 706 4 juin 2016 ntp.conf.ori
drwxr-xr-x 2 root root 4096 2 sept. 2015 ODBCDataSources
-rw-r--r-- 1 root root 0 6 nov. 2016 odbc.ini
-rw-r--r-- 1 root root 0 6 nov. 2016 odbcinst.ini
drwxr-xr-x 6 ldap ldap 4096 4 nov. 2016 openldap
lrwxrwxrwx 1 root root 21 5 juil. 2016 os-release -> ../usr/lib/os-release
-rw-r--r-- 1 root root 2898 18 mai 2016 pacman.conf
drwxr-xr-x 3 root root 4096 23 nov. 2016 pacman.d
drwxr-xr-x 2 root root 4096 15 nov. 2016 pam.d
drwxr-xr-x 2 root root 4096 13 juil. 2016 pam.d.old
drwxr-xr-x 2 root root 4096 13 juil. 2016 pam.d.ori
-rw-r--r-- 1 root root 311 15 juil. 2016 pam_ldap.conf
-rw-r--r-- 1 root root 8678 1 juil. 2014 pam_ldap.conf.ori
-rw-r--r-- 1 root root 1317 31 oct. 2016 passwd
-rw-r--r-- 1 root root 1277 31 oct. 2016 passwd-
drwxr-xr-x 2 root root 4096 13 mai 2013 pcmcia
drwxr-xr-x 2 root root 4096 18 déc. 2015 pkcs11
drwxr-xr-x 3 root root 4096 25 oct. 2015 polkit-1
-rw-r--r-- 1 root root 573 30 sept. 2015 profile
drwxr-xr-x 2 root root 4096 9 nov. 2016 profile.d
-rw-r--r-- 1 root root 3145 10 nov. 2016 protocols
drwxr-xr-x 2 root root 4096 25 juin 2016 pulse
drwxr-xr-x 9 radiusd radiusd 4096 11 mai 2016 raddb
drwxr-xr-x 9 root root 4096 15 nov. 2016 raddb.default
-rw-r--r-- 1 root root 1814 1 mars 2014 request-key.conf
drwxr-xr-x 2 root root 4096 24 oct. 2016 request-key.d
-rw-r--r-- 1 root root 49 18 juil. 13:11 resolv.conf
-rw-r--r-- 1 root root 80 18 juil. 13:11 resolv.conf.bak
-rw-r--r-- 1 root root 254 19 mai 2016 resolvconf.conf
-rw-r--r-- 1 root root 1634 6 août 2016 rpc
-rw-r--r-- 1 root root 172 20 nov. 2016 rsyncd.conf
drwxr-xr-x 3 root root 4096 15 nov. 2016 samba
drwxr-xr-x 2 root root 4096 15 nov. 2016 sasl2
-rw-r--r-- 1 root root 86 30 sept. 2015 securetty
drwxr-xr-x 3 root root 4096 31 oct. 2016 security
-rw-r--r-- 1 root root 294578 10 nov. 2016 services
-rw------- 1 root root 843 17 juil. 12:32 shadow
-rw------- 1 root root 815 31 oct. 2016 shadow-
-rw-r--r-- 1 root root 52 30 sept. 2015 shells
drwxr-xr-x 2 root root 4096 23 nov. 2016 skel
drwxr-xr-x 2 root root 4096 13 juil. 2016 smbldap-tools
drwxr-xr-x 2 root root 4096 24 oct. 2016 ssh
drwxr-xr-x 5 root root 4096 24 oct. 2016 ssl
-r--r----- 1 root root 3213 31 oct. 2016 sudoers
drwxr-x--- 2 root root 4096 25 mars 2016 sudoers.d
drwxr-xr-x 2 root root 4096 25 août 2016 sysconfig
drwxr-xr-x 2 root root 4096 18 juin 2016 sysctl.d
drwxr-xr-x 5 root root 4096 24 oct. 2016 systemd
drwxr-xr-x 2 root root 4096 18 juin 2016 tmpfiles.d
-rw-r--r-- 1 root root 376 21 avril 2015 trusted-key.key
drwxr-xr-x 4 root root 4096 24 oct. 2016 udev
-rw-r--r-- 1 root root 558 14 déc. 2014 updatedb.conf
-rw-r--r-- 1 root root 10 5 juil. 2016 vconsole.conf
drwxr-xr-x 2 root root 4096 19 sept. 2015 vde
drwxr-xr-x 3 root root 4096 19 sept. 2015 vde2
-rw-r--r-- 1 root root 912 11 sept. 2017 vimrc
-rw-r--r-- 1 root root 5026 19 juin 2016 wgetrc
-rw-r--r-- 1 root root 382 15 mars 2017 whois.conf
drwxr-xr-x 3 root root 4096 18 juin 2016 X11
drwxr-xr-x 4 root root 4096 31 oct. 2016 xdg
drwxr-xr-x 2 root root 4096 23 nov. 2016 xinetd.d
-rw-r--r-- 1 root root 1443 9 nov. 2016 yaourtrc

316
TP07/sort Normal file
View File

@@ -0,0 +1,316 @@
total 1048
total 1048
-rw-r--r-- 1 root root 83501 30 août 10:07 ld.so.cache
-rw-r--r-- 1 root root 83501 30 août 10:07 ld.so.cache
-rw-r--r-- 1 root root 1191 15 août 2016 dhcpcd.conf
-rw-r--r-- 1 root root 1191 15 août 2016 dhcpcd.conf
drwxr-xr-x 4 root root 4096 6 août 2016 fonts
drwxr-xr-x 4 root root 4096 6 août 2016 fonts
-rw-r--r-- 1 root root 2584 6 août 2016 gai.conf
-rw-r--r-- 1 root root 2584 6 août 2016 gai.conf
drwxr-xr-x 2 root root 4096 22 août 2016 ld.so.conf.d
drwxr-xr-x 2 root root 4096 22 août 2016 ld.so.conf.d
drwxr-xr-x 2 root root 4096 22 août 2016 libnl
drwxr-xr-x 2 root root 4096 22 août 2016 libnl
-rw-r--r-- 1 root root 9614 6 août 2016 locale.gen.pacnew
-rw-r--r-- 1 root root 9614 6 août 2016 locale.gen.pacnew
-rw-r--r-- 1 root root 686 21 août 2016 logrotate.conf
-rw-r--r-- 1 root root 686 21 août 2016 logrotate.conf
-rw-r--r-- 1 root root 5134 26 août 2016 man_db.conf
-rw-r--r-- 1 root root 5134 26 août 2016 man_db.conf
-rw-r--r-- 1 root root 3605 25 août 2016 nfsmount.conf
-rw-r--r-- 1 root root 3605 25 août 2016 nfsmount.conf
-rw-r--r-- 1 root root 2387 6 août 2016 nscd.conf
-rw-r--r-- 1 root root 2387 6 août 2016 nscd.conf
-rw-r--r-- 1 root root 1634 6 août 2016 rpc
-rw-r--r-- 1 root root 1634 6 août 2016 rpc
drwxr-xr-x 2 root root 4096 25 août 2016 sysconfig
drwxr-xr-x 2 root root 4096 25 août 2016 sysconfig
-rw-r--r-- 1 root root 376 21 avril 2015 trusted-key.key
-rw-r--r-- 1 root root 376 21 avril 2015 trusted-key.key
-rw-r--r-- 1 root root 558 14 déc. 2014 updatedb.conf
-rw-r--r-- 1 root root 558 14 déc. 2014 updatedb.conf
drwxr-xr-x 2 root root 4096 18 déc. 2015 pkcs11
drwxr-xr-x 2 root root 4096 18 déc. 2015 pkcs11
-rw-r--r-- 1 root root 2349 2 févr. 2016 mdadm.conf
-rw-r--r-- 1 root root 2349 2 févr. 2016 mdadm.conf
drwxr-xr-x 4 root root 4096 20 janv. 2016 initcpio
drwxr-xr-x 4 root root 4096 20 janv. 2016 initcpio
drwxr-xr-x 2 root root 4096 25 janv. 2017 gdb
drwxr-xr-x 2 root root 4096 25 janv. 2017 gdb
-rw------- 1 root root 843 17 juil. 12:32 shadow
-rw------- 1 root root 843 17 juil. 12:32 shadow
-rw-r--r-- 1 root root 49 18 juil. 13:11 resolv.conf
-rw-r--r-- 1 root root 49 18 juil. 13:11 resolv.conf
-rw-r--r-- 1 root root 80 18 juil. 13:11 resolv.conf.bak
-rw-r--r-- 1 root root 80 18 juil. 13:11 resolv.conf.bak
-rw-r--r-- 1 root root 1300 3 juil. 2014 nsswitch.ldap
-rw-r--r-- 1 root root 1300 3 juil. 2014 nsswitch.ldap
-rw-r--r-- 1 root root 8678 1 juil. 2014 pam_ldap.conf.ori
-rw-r--r-- 1 root root 8678 1 juil. 2014 pam_ldap.conf.ori
-rw-r--r-- 1 root root 23543 28 juil. 2016 brltty.conf
-rw-r--r-- 1 root root 23543 28 juil. 2016 brltty.conf
-rw-r--r-- 1 root root 224 13 juil. 2016 exports
-rw-r--r-- 1 root root 224 13 juil. 2016 exports
-rw-r--r-- 1 root root 277 13 juil. 2016 fstab
-rw-r--r-- 1 root root 277 13 juil. 2016 fstab
-rw-r--r-- 1 root root 209 13 juil. 2016 fstab.ori
-rw-r--r-- 1 root root 209 13 juil. 2016 fstab.ori
-rw-r--r-- 1 root root 9 13 juil. 2016 hostname
-rw-r--r-- 1 root root 9 13 juil. 2016 hostname
-rw-r--r-- 1 root root 4 5 juil. 2016 hostname.ori
-rw-r--r-- 1 root root 4 5 juil. 2016 hostname.ori
-rw-r--r-- 1 root root 182 13 juil. 2016 hosts
-rw-r--r-- 1 root root 182 13 juil. 2016 hosts
-rw-r--r-- 1 root root 171 13 juil. 2016 idmapd.conf
-rw-r--r-- 1 root root 171 13 juil. 2016 idmapd.conf
-rw-r--r-- 1 root root 17 5 juil. 2016 locale.conf
-rw-r--r-- 1 root root 17 5 juil. 2016 locale.conf
-rw-r--r-- 1 root root 9530 5 juil. 2016 locale.gen
-rw-r--r-- 1 root root 9530 5 juil. 2016 locale.gen
-r--r--r-- 1 root root 33 5 juil. 2016 machine-id
-r--r--r-- 1 root root 33 5 juil. 2016 machine-id
lrwxrwxrwx 1 root root 19 5 juil. 2016 mtab -> ../proc/self/mounts
lrwxrwxrwx 1 root root 19 5 juil. 2016 mtab -> ../proc/self/mounts
drwxr-xr-x 5 root root 4096 11 juil. 2016 netctl
drwxr-xr-x 5 root root 4096 11 juil. 2016 netctl
-rw-r--r-- 1 root root 321 15 juil. 2016 nss_ldap.conf
-rw-r--r-- 1 root root 321 15 juil. 2016 nss_ldap.conf
-rw-r--r-- 1 root root 9472 13 juil. 2016 nss_ldap.conf.ori
-rw-r--r-- 1 root root 9472 13 juil. 2016 nss_ldap.conf.ori
-rw-r--r-- 1 root root 238 13 juil. 2016 nsswitch.conf
-rw-r--r-- 1 root root 238 13 juil. 2016 nsswitch.conf
-rw-r--r-- 1 root root 1605 15 juil. 2016 ntp.conf
-rw-r--r-- 1 root root 1605 15 juil. 2016 ntp.conf
lrwxrwxrwx 1 root root 21 5 juil. 2016 os-release -> ../usr/lib/os-release
lrwxrwxrwx 1 root root 21 5 juil. 2016 os-release -> ../usr/lib/os-release
drwxr-xr-x 2 root root 4096 13 juil. 2016 pam.d.old
drwxr-xr-x 2 root root 4096 13 juil. 2016 pam.d.old
drwxr-xr-x 2 root root 4096 13 juil. 2016 pam.d.ori
drwxr-xr-x 2 root root 4096 13 juil. 2016 pam.d.ori
-rw-r--r-- 1 root root 311 15 juil. 2016 pam_ldap.conf
-rw-r--r-- 1 root root 311 15 juil. 2016 pam_ldap.conf
drwxr-xr-x 2 root root 4096 13 juil. 2016 smbldap-tools
drwxr-xr-x 2 root root 4096 13 juil. 2016 smbldap-tools
-rw-r--r-- 1 root root 10 5 juil. 2016 vconsole.conf
-rw-r--r-- 1 root root 10 5 juil. 2016 vconsole.conf
lrwxrwxrwx 1 root root 25 6 juil. 2017 localtime -> ../usr/share/zoneinfo/UTC
lrwxrwxrwx 1 root root 25 6 juil. 2017 localtime -> ../usr/share/zoneinfo/UTC
-rw-r--r-- 1 root root 541 30 juin 2016 anacrontab
-rw-r--r-- 1 root root 541 30 juin 2016 anacrontab
drwxr-xr-x 2 root root 4096 18 juin 2016 binfmt.d
drwxr-xr-x 2 root root 4096 18 juin 2016 binfmt.d
drwxr-xr-x 2 root root 4096 30 juin 2016 cron.daily
drwxr-xr-x 2 root root 4096 30 juin 2016 cron.daily
-rw-r--r-- 1 root root 74 30 juin 2016 cron.deny
-rw-r--r-- 1 root root 74 30 juin 2016 cron.deny
drwxr-xr-x 2 root root 4096 30 juin 2016 cron.monthly
drwxr-xr-x 2 root root 4096 30 juin 2016 cron.monthly
drwxr-xr-x 2 root root 4096 30 juin 2016 cron.weekly
drwxr-xr-x 2 root root 4096 30 juin 2016 cron.weekly
-rw-r--r-- 1 root root 97 9 juin 2016 environment
-rw-r--r-- 1 root root 97 9 juin 2016 environment
-rw-r--r-- 1 root root 216 22 juin 2016 fuse.conf
-rw-r--r-- 1 root root 216 22 juin 2016 fuse.conf
drwxr-xr-x 3 root root 4096 18 juin 2016 gss
drwxr-xr-x 3 root root 4096 18 juin 2016 gss
drwxr-xr-x 2 root root 4096 13 juin 2016 ifplugd
drwxr-xr-x 2 root root 4096 13 juin 2016 ifplugd
drwxr-xr-x 3 root root 4096 18 juin 2016 kernel
drwxr-xr-x 3 root root 4096 18 juin 2016 kernel
drwxr-xr-x 2 root root 4096 18 juin 2016 modules-load.d
drwxr-xr-x 2 root root 4096 18 juin 2016 modules-load.d
-rw-r--r-- 1 root root 706 4 juin 2016 ntp.conf.ori
-rw-r--r-- 1 root root 706 4 juin 2016 ntp.conf.ori
drwxr-xr-x 2 root root 4096 25 juin 2016 pulse
drwxr-xr-x 2 root root 4096 25 juin 2016 pulse
drwxr-xr-x 2 root root 4096 18 juin 2016 sysctl.d
drwxr-xr-x 2 root root 4096 18 juin 2016 sysctl.d
drwxr-xr-x 2 root root 4096 18 juin 2016 tmpfiles.d
drwxr-xr-x 2 root root 4096 18 juin 2016 tmpfiles.d
-rw-r--r-- 1 root root 5026 19 juin 2016 wgetrc
-rw-r--r-- 1 root root 5026 19 juin 2016 wgetrc
drwxr-xr-x 3 root root 4096 18 juin 2016 X11
drwxr-xr-x 3 root root 4096 18 juin 2016 X11
drwxr-xr-x 2 root root 4096 13 mai 2013 pcmcia
drwxr-xr-x 2 root root 4096 13 mai 2013 pcmcia
drwxr-xr-x 4 root root 4096 7 mai 2016 ca-certificates
drwxr-xr-x 4 root root 4096 7 mai 2016 ca-certificates
drwxr-xr-x 2 root root 4096 20 mai 2016 libsmbios
drwxr-xr-x 2 root root 4096 20 mai 2016 libsmbios
-rw-r--r-- 1 root root 5897 18 mai 2016 makepkg.conf
-rw-r--r-- 1 root root 5897 18 mai 2016 makepkg.conf
-rw-r--r-- 1 root root 2898 18 mai 2016 pacman.conf
-rw-r--r-- 1 root root 2898 18 mai 2016 pacman.conf
drwxr-xr-x 9 radiusd radiusd 4096 11 mai 2016 raddb
drwxr-xr-x 9 radiusd radiusd 4096 11 mai 2016 raddb
-rw-r--r-- 1 root root 254 19 mai 2016 resolvconf.conf
-rw-r--r-- 1 root root 254 19 mai 2016 resolvconf.conf
-rw-r--r-- 1 root root 1814 1 mars 2014 request-key.conf
-rw-r--r-- 1 root root 1814 1 mars 2014 request-key.conf
drwxr-xr-x 3 root root 4096 6 mars 2016 avahi
drwxr-xr-x 3 root root 4096 6 mars 2016 avahi
-rw-r--r-- 1 root root 1362 14 mars 2016 ethertypes
-rw-r--r-- 1 root root 1362 14 mars 2016 ethertypes
drwxr-xr-x 2 root root 4096 14 mars 2016 iptables
drwxr-xr-x 2 root root 4096 14 mars 2016 iptables
-rw-r--r-- 1 root root 369 7 mars 2016 krb5.conf
-rw-r--r-- 1 root root 369 7 mars 2016 krb5.conf
drwxr-x--- 2 root root 4096 25 mars 2016 sudoers.d
drwxr-x--- 2 root root 4096 25 mars 2016 sudoers.d
-rw-r--r-- 1 root root 382 15 mars 2017 whois.conf
-rw-r--r-- 1 root root 382 15 mars 2017 whois.conf
drwxr-xr-x 2 root root 4096 18 nov. 2015 depmod.d
drwxr-xr-x 2 root root 4096 18 nov. 2015 depmod.d
drwxr-xr-x 2 root root 4096 6 nov. 2015 exports.d
drwxr-xr-x 2 root root 4096 6 nov. 2015 exports.d
-rw-r--r-- 1 root root 439 6 nov. 2015 exports.ori
-rw-r--r-- 1 root root 439 6 nov. 2015 exports.ori
drwxr-xr-x 2 root root 4096 18 nov. 2015 modprobe.d
drwxr-xr-x 2 root root 4096 18 nov. 2015 modprobe.d
-rw-r--r-- 1 root root 767 6 nov. 2015 netconfig
-rw-r--r-- 1 root root 767 6 nov. 2015 netconfig
-rw-r--r-- 1 root root 28 14 nov. 2016 bash.bash_logout
-rw-r--r-- 1 root root 28 14 nov. 2016 bash.bash_logout
-rw-r--r-- 1 root root 576 14 nov. 2016 bash.bashrc
-rw-r--r-- 1 root root 576 14 nov. 2016 bash.bashrc
drwxr-xr-x 2 root root 4096 15 nov. 2016 conf.d
drwxr-xr-x 2 root root 4096 15 nov. 2016 conf.d
drwxr-xr-x 2 root root 4096 9 nov. 2016 default
drwxr-xr-x 2 root root 4096 9 nov. 2016 default
-rw-r--r-- 1 root root 4479 14 nov. 2016 drirc
-rw-r--r-- 1 root root 4479 14 nov. 2016 drirc
drwxr-xr-x 2 root root 4096 9 nov. 2016 gssproxy
drwxr-xr-x 2 root root 4096 9 nov. 2016 gssproxy
drwxr-xr-x 2 root root 4096 23 nov. 2016 gtk-3.0
drwxr-xr-x 2 root root 4096 23 nov. 2016 gtk-3.0
drwxr-xr-x 2 root root 4096 23 nov. 2016 ImageMagick-6
drwxr-xr-x 2 root root 4096 23 nov. 2016 ImageMagick-6
-rw-r--r-- 1 root root 714 6 nov. 2016 inputrc
-rw-r--r-- 1 root root 714 6 nov. 2016 inputrc
drwxr-xr-x 4 root root 4096 15 nov. 2016 libvirt
drwxr-xr-x 4 root root 4096 15 nov. 2016 libvirt
drwxr-xr-x 2 root root 4096 15 nov. 2016 logrotate.d
drwxr-xr-x 2 root root 4096 15 nov. 2016 logrotate.d
drwxr-xr-x 5 root root 4096 15 nov. 2016 lvm
drwxr-xr-x 5 root root 4096 15 nov. 2016 lvm
drwxr-xr-x 2 root root 4096 23 nov. 2016 mkinitcpio.d
drwxr-xr-x 2 root root 4096 23 nov. 2016 mkinitcpio.d
-rw-r--r-- 1 root root 0 6 nov. 2016 odbc.ini
-rw-r--r-- 1 root root 0 6 nov. 2016 odbc.ini
-rw-r--r-- 1 root root 0 6 nov. 2016 odbcinst.ini
-rw-r--r-- 1 root root 0 6 nov. 2016 odbcinst.ini
drwxr-xr-x 6 ldap ldap 4096 4 nov. 2016 openldap
drwxr-xr-x 6 ldap ldap 4096 4 nov. 2016 openldap
drwxr-xr-x 3 root root 4096 23 nov. 2016 pacman.d
drwxr-xr-x 3 root root 4096 23 nov. 2016 pacman.d
drwxr-xr-x 2 root root 4096 15 nov. 2016 pam.d
drwxr-xr-x 2 root root 4096 15 nov. 2016 pam.d
drwxr-xr-x 2 root root 4096 9 nov. 2016 profile.d
drwxr-xr-x 2 root root 4096 9 nov. 2016 profile.d
-rw-r--r-- 1 root root 3145 10 nov. 2016 protocols
-rw-r--r-- 1 root root 3145 10 nov. 2016 protocols
drwxr-xr-x 9 root root 4096 15 nov. 2016 raddb.default
drwxr-xr-x 9 root root 4096 15 nov. 2016 raddb.default
-rw-r--r-- 1 root root 172 20 nov. 2016 rsyncd.conf
-rw-r--r-- 1 root root 172 20 nov. 2016 rsyncd.conf
drwxr-xr-x 3 root root 4096 15 nov. 2016 samba
drwxr-xr-x 3 root root 4096 15 nov. 2016 samba
drwxr-xr-x 2 root root 4096 15 nov. 2016 sasl2
drwxr-xr-x 2 root root 4096 15 nov. 2016 sasl2
-rw-r--r-- 1 root root 294578 10 nov. 2016 services
-rw-r--r-- 1 root root 294578 10 nov. 2016 services
drwxr-xr-x 2 root root 4096 23 nov. 2016 skel
drwxr-xr-x 2 root root 4096 23 nov. 2016 skel
drwxr-xr-x 2 root root 4096 23 nov. 2016 xinetd.d
drwxr-xr-x 2 root root 4096 23 nov. 2016 xinetd.d
-rw-r--r-- 1 root root 1443 9 nov. 2016 yaourtrc
-rw-r--r-- 1 root root 1443 9 nov. 2016 yaourtrc
-rw-r--r-- 1 root root 918 21 oct. 2013 gssapi_mech.conf
-rw-r--r-- 1 root root 918 21 oct. 2013 gssapi_mech.conf
drwxr-xr-x 3 root root 4096 25 oct. 2015 polkit-1
drwxr-xr-x 3 root root 4096 25 oct. 2015 polkit-1
-rw-r----- 1 root brlapi 33 31 oct. 2016 brlapi.key
-rw-r----- 1 root brlapi 33 31 oct. 2016 brlapi.key
drwxr-xr-x 2 root root 4096 9 oct. 2016 ceph
drwxr-xr-x 2 root root 4096 9 oct. 2016 ceph
drwxr-xr-x 3 root root 4096 24 oct. 2016 dbus-1
drwxr-xr-x 3 root root 4096 24 oct. 2016 dbus-1
-rw-r--r-- 1 root root 856 31 oct. 2016 group
-rw-r--r-- 1 root root 856 31 oct. 2016 group
-rw-r--r-- 1 root root 842 31 oct. 2016 group-
-rw-r--r-- 1 root root 842 31 oct. 2016 group-
-rw------- 1 root root 712 31 oct. 2016 gshadow
-rw------- 1 root root 712 31 oct. 2016 gshadow
-rw------- 1 root root 701 31 oct. 2016 gshadow-
-rw------- 1 root root 701 31 oct. 2016 gshadow-
drwxr-xr-x 2 root root 4096 24 oct. 2016 iproute2
drwxr-xr-x 2 root root 4096 24 oct. 2016 iproute2
drwxr-xr-x 6 root root 4096 23 oct. 2016 java-8-openjdk
drwxr-xr-x 6 root root 4096 23 oct. 2016 java-8-openjdk
-rw-r--r-- 1 root root 5583 29 oct. 2016 login.defs
-rw-r--r-- 1 root root 5583 29 oct. 2016 login.defs
-r--r--r-- 1 root root 6298 20 oct. 2016 mail.rc
-r--r--r-- 1 root root 6298 20 oct. 2016 mail.rc
-rw-r--r-- 1 root root 8779 29 oct. 2016 nanorc
-rw-r--r-- 1 root root 8779 29 oct. 2016 nanorc
-rw-r--r-- 1 root root 1317 31 oct. 2016 passwd
-rw-r--r-- 1 root root 1317 31 oct. 2016 passwd
-rw-r--r-- 1 root root 1277 31 oct. 2016 passwd-
-rw-r--r-- 1 root root 1277 31 oct. 2016 passwd-
drwxr-xr-x 2 root root 4096 24 oct. 2016 request-key.d
drwxr-xr-x 2 root root 4096 24 oct. 2016 request-key.d
drwxr-xr-x 3 root root 4096 31 oct. 2016 security
drwxr-xr-x 3 root root 4096 31 oct. 2016 security
-rw------- 1 root root 815 31 oct. 2016 shadow-
-rw------- 1 root root 815 31 oct. 2016 shadow-
drwxr-xr-x 2 root root 4096 24 oct. 2016 ssh
drwxr-xr-x 2 root root 4096 24 oct. 2016 ssh
drwxr-xr-x 5 root root 4096 24 oct. 2016 ssl
drwxr-xr-x 5 root root 4096 24 oct. 2016 ssl
-r--r----- 1 root root 3213 31 oct. 2016 sudoers
-r--r----- 1 root root 3213 31 oct. 2016 sudoers
drwxr-xr-x 5 root root 4096 24 oct. 2016 systemd
drwxr-xr-x 5 root root 4096 24 oct. 2016 systemd
drwxr-xr-x 4 root root 4096 24 oct. 2016 udev
drwxr-xr-x 4 root root 4096 24 oct. 2016 udev
drwxr-xr-x 4 root root 4096 31 oct. 2016 xdg
drwxr-xr-x 4 root root 4096 31 oct. 2016 xdg
-rw-r--r-- 1 root root 0 30 sept. 2015 arch-release
-rw-r--r-- 1 root root 0 30 sept. 2015 arch-release
-rw------- 1 root root 930 30 sept. 2015 crypttab
-rw------- 1 root root 930 30 sept. 2015 crypttab
-rw-r--r-- 1 root root 63 30 sept. 2015 host.conf
-rw-r--r-- 1 root root 63 30 sept. 2015 host.conf
-rw-r--r-- 1 root root 195 30 sept. 2015 hosts.ori
-rw-r--r-- 1 root root 195 30 sept. 2015 hosts.ori
-rw-r--r-- 1 root root 20 30 sept. 2015 issue
-rw-r--r-- 1 root root 20 30 sept. 2015 issue
-rw-r--r-- 1 root root 71 30 sept. 2015 ld.so.conf
-rw-r--r-- 1 root root 71 30 sept. 2015 ld.so.conf
-rw-r--r-- 1 root root 0 30 sept. 2015 motd
-rw-r--r-- 1 root root 0 30 sept. 2015 motd
-rw-r--r-- 1 root root 234 30 sept. 2015 nsswitch.conf.ori
-rw-r--r-- 1 root root 234 30 sept. 2015 nsswitch.conf.ori
drwxr-xr-x 2 root root 4096 2 sept. 2015 ODBCDataSources
drwxr-xr-x 2 root root 4096 2 sept. 2015 ODBCDataSources
-rw-r--r-- 1 root root 573 30 sept. 2015 profile
-rw-r--r-- 1 root root 573 30 sept. 2015 profile
-rw-r--r-- 1 root root 86 30 sept. 2015 securetty
-rw-r--r-- 1 root root 86 30 sept. 2015 securetty
-rw-r--r-- 1 root root 52 30 sept. 2015 shells
-rw-r--r-- 1 root root 52 30 sept. 2015 shells
drwxr-xr-x 2 root root 4096 19 sept. 2015 vde
drwxr-xr-x 2 root root 4096 19 sept. 2015 vde
drwxr-xr-x 3 root root 4096 19 sept. 2015 vde2
drwxr-xr-x 3 root root 4096 19 sept. 2015 vde2
drwxr-xr-x 2 root root 4096 19 sept. 2016 cron.d
drwxr-xr-x 2 root root 4096 19 sept. 2016 cron.d
drwxr-xr-x 2 root root 4096 19 sept. 2016 cron.hourly
drwxr-xr-x 2 root root 4096 19 sept. 2016 cron.hourly
-rw-r--r-- 1 root root 945 5 sept. 2016 mke2fs.conf
-rw-r--r-- 1 root root 945 5 sept. 2016 mke2fs.conf
-rw-r--r-- 1 root root 2490 9 sept. 2016 mkinitcpio.conf
-rw-r--r-- 1 root root 2490 9 sept. 2016 mkinitcpio.conf
-rw-r--r-- 1 root root 912 11 sept. 2017 vimrc
-rw-r--r-- 1 root root 912 11 sept. 2017 vimrc

13
TP07/tp07-reponses.txt Normal file
View File

@@ -0,0 +1,13 @@
Partie I)
expr length stock_market affiche 12
expr substr stock_market 1 5 affiche stock
expr substr stock_market 7 12 affiche market
expr index stock_market "_" affiche 6 car l'underscore est en 6ème position
expr index stock_market "_c" affiche 4 car le c est en 4ème position
Question 1)
sort -n -k5 ls_output.txt (Tri alphanumérique croissant) / sort -n -r -k5 ls_output.txt (Tri alphanumérique décroissant)
Question 2)
sort -r -k2 ./find-output.txt
sort -k2 ./find_output.txt