tp sur la vm de senart
This commit is contained in:
parent
f62c913f31
commit
d1f5da5d24
0
SCR.1.2/TP1/AA/DIR1/DIR11/.fi112
Normal file
0
SCR.1.2/TP1/AA/DIR1/DIR11/.fi112
Normal file
0
SCR.1.2/TP1/AA/DIR1/DIR11/fi111
Normal file
0
SCR.1.2/TP1/AA/DIR1/DIR11/fi111
Normal file
0
SCR.1.2/TP1/AA/DIR1/DIR11/fi113
Normal file
0
SCR.1.2/TP1/AA/DIR1/DIR11/fi113
Normal file
0
SCR.1.2/TP1/AA/DIR1/fi11
Normal file
0
SCR.1.2/TP1/AA/DIR1/fi11
Normal file
0
SCR.1.2/TP1/AA/DIR3/fi31
Normal file
0
SCR.1.2/TP1/AA/DIR3/fi31
Normal file
0
SCR.1.2/TP1/BB/DIR1/DIR11/fi111
Normal file
0
SCR.1.2/TP1/BB/DIR1/DIR11/fi111
Normal file
0
SCR.1.2/TP1/BB/DIR1/DIR11/fi112
Normal file
0
SCR.1.2/TP1/BB/DIR1/DIR11/fi112
Normal file
0
SCR.1.2/TP1/BB/DIR1/DIR11/fi113
Normal file
0
SCR.1.2/TP1/BB/DIR1/DIR11/fi113
Normal file
0
SCR.1.2/TP1/BB/DIR2/fi21
Executable file
0
SCR.1.2/TP1/BB/DIR2/fi21
Executable file
0
SCR.1.2/TP1/BB/DIR3/fi31
Normal file
0
SCR.1.2/TP1/BB/DIR3/fi31
Normal file
65
SCR.1.2/TP1/reponse.txt
Normal file
65
SCR.1.2/TP1/reponse.txt
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
1)
|
||||||
|
- sayebabu
|
||||||
|
- uid=622023(sayebabu) gid=622(senart22) groups=622(senart22)
|
||||||
|
- Linux
|
||||||
|
- /export/home/senart22/sayebabu
|
||||||
|
- DEV1.1 Desktop SCR1.1
|
||||||
|
- total 12
|
||||||
|
drwxr-xr-x 3 sayebabu senart22 4096 Sep 7 16:20 DEV1.1
|
||||||
|
drwxr-xr-x 2 sayebabu senart22 4096 Sep 7 15:51 Desktop
|
||||||
|
drwxr-xr-x 2 sayebabu senart22 4096 Sep 8 13:12 SCR1.1
|
||||||
|
-
|
||||||
|
. .dbus .vboxclient-display.pid
|
||||||
|
.. .emacs.d .vboxclient-draganddrop.pid
|
||||||
|
.ICEauthority .esd_auth .vboxclient-seamless.pid
|
||||||
|
.Xauthority .gnupg DEV1.1
|
||||||
|
.bash_history .local Desktop
|
||||||
|
.cache .ssh SCR1.1
|
||||||
|
.config .vboxclient-clipboard.pid
|
||||||
|
|
||||||
|
-
|
||||||
|
drwx------ 12 sayebabu senart22 4096 Sep 8 13:12 .
|
||||||
|
drwxr-xr-x 27 root senart22 4096 Sep 1 16:13 ..
|
||||||
|
-rw------- 1 sayebabu senart22 656 Sep 8 13:11 .ICEauthority
|
||||||
|
-rw------- 1 sayebabu senart22 54 Sep 8 13:11 .Xauthority
|
||||||
|
-rw------- 1 sayebabu senart22 4909 Sep 8 13:04 .bash_history
|
||||||
|
drwxr-xr-x 3 sayebabu senart22 4096 Sep 7 15:51 .cache
|
||||||
|
drwxr-xr-x 8 sayebabu senart22 4096 Sep 7 16:27 .config
|
||||||
|
drwx------ 3 sayebabu senart22 4096 Sep 7 15:51 .dbus
|
||||||
|
drwx------ 2 sayebabu senart22 4096 Sep 7 16:24 .emacs.d
|
||||||
|
-rw------- 1 sayebabu senart22 16 Sep 7 15:51 .esd_auth
|
||||||
|
drwx------ 3 sayebabu senart22 4096 Sep 7 15:51 .gnupg
|
||||||
|
drwxr-xr-x 3 sayebabu senart22 4096 Sep 7 15:51 .local
|
||||||
|
drwx------ 2 sayebabu senart22 4096 Sep 7 15:54 .ssh
|
||||||
|
-rw-r----- 1 sayebabu senart22 5 Sep 7 15:52 .vboxclient-clipboard.pid
|
||||||
|
-rw-r----- 1 sayebabu senart22 5 Sep 7 15:51 .vboxclient-display.pid
|
||||||
|
-rw-r----- 1 sayebabu senart22 5 Sep 7 15:52 .vboxclient-draganddrop.pid
|
||||||
|
-rw-r----- 1 sayebabu senart22 5 Sep 7 15:52 .vboxclient-seamless.pid
|
||||||
|
drwxr-xr-x 3 sayebabu senart22 4096 Sep 7 16:20 DEV1.1
|
||||||
|
drwxr-xr-x 2 sayebabu senart22 4096 Sep 7 15:51 Desktop
|
||||||
|
drwxr-xr-x 2 sayebabu senart22 4096 Sep 8 13:12 SCR1.1
|
||||||
|
|
||||||
|
-
|
||||||
|
-a, --all
|
||||||
|
do not ignore entries starting with .
|
||||||
|
-l use a long listing format
|
||||||
|
DESCRIPTION
|
||||||
|
List information about the FILEs (the current directory by default).
|
||||||
|
Sort entries alphabetically if none of -cftuvSUX nor --sort is speci-
|
||||||
|
fied.
|
||||||
|
|
||||||
|
Mandatory arguments to long options are mandatory for short options
|
||||||
|
too.
|
||||||
|
|
||||||
|
2)
|
||||||
|
- /export/home/senart22/sayebabu
|
||||||
|
|
||||||
|
4)
|
||||||
|
/bin:/usr/bin:/usr/local/bin:/usr/local/sbin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
|
||||||
|
|
||||||
|
- bash: ./fi21: No such file or directory
|
||||||
|
- bash: ./SCR/TP1/BB/DIR2/fi21: Permission denied
|
||||||
|
|
||||||
|
- bash: fi21: command not found
|
||||||
|
- bash: ./fi21: Permission denied
|
||||||
|
|
1
SCR.1.2/TP2/error_file
Normal file
1
SCR.1.2/TP2/error_file
Normal file
@ -0,0 +1 @@
|
|||||||
|
ls: cannot access 'nofi': No such file or directory
|
0
SCR.1.2/TP2/fi
Normal file
0
SCR.1.2/TP2/fi
Normal file
179
SCR.1.2/TP2/output_and_error_file
Normal file
179
SCR.1.2/TP2/output_and_error_file
Normal file
@ -0,0 +1,179 @@
|
|||||||
|
total 1280
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 ImageMagick-6
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 ImageMagick-7
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 12 2018 ODBCDataSources
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 29 2018 UPower
|
||||||
|
drwxr-xr-x 4 root root 4096 Aug 28 2018 X11
|
||||||
|
drwxr-xr-x 3 root root 4096 Aug 28 2018 acpi
|
||||||
|
-rw-r--r-- 1 root root 541 Aug 17 2018 anacrontab
|
||||||
|
-rw-r--r-- 1 root root 0 Aug 21 2018 arch-release
|
||||||
|
-rw-r--r-- 1 root root 260 Jun 4 2018 asound.conf
|
||||||
|
drwxr-xr-x 3 root root 4096 Aug 28 2018 avahi
|
||||||
|
-rw-r--r-- 1 root root 28 Jun 4 2018 bash.bash_logout
|
||||||
|
-rw-r--r-- 1 root root 618 Jun 4 2018 bash.bashrc
|
||||||
|
-rw-r--r-- 1 root root 2887 Aug 9 2018 bind.keys
|
||||||
|
drwxr-xr-x 2 root root 4096 Jun 22 2018 binfmt.d
|
||||||
|
drwxr-xr-x 4 root root 4096 Aug 27 2018 ca-certificates
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 cifs-utils
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 conf.d
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 cron.d
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 17 2018 cron.daily
|
||||||
|
-rw-r--r-- 1 root root 74 Aug 17 2018 cron.deny
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 cron.hourly
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 17 2018 cron.monthly
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 17 2018 cron.weekly
|
||||||
|
-rw------- 1 root root 722 Aug 21 2018 crypttab
|
||||||
|
drwxr-xr-x 4 root cups 4096 Aug 28 2018 cups
|
||||||
|
drwxr-xr-x 3 root root 4096 Aug 28 2018 dbus-1
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 default
|
||||||
|
drwxr-xr-x 2 root root 4096 May 20 2018 depmod.d
|
||||||
|
-rw-r--r-- 1 root root 1268 Jul 28 2018 dhcpcd.conf
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 31 2018 dkms
|
||||||
|
drwx------ 2 root root 4096 Aug 28 2018 docker
|
||||||
|
-rw-r--r-- 1 root root 13642 Aug 24 2018 drirc
|
||||||
|
-rw-r--r-- 1 root root 233 Aug 31 2018 environment
|
||||||
|
-rw-r--r-- 1 root root 1362 Feb 13 2018 ethertypes
|
||||||
|
-rw-r--r-- 1 root root 439 Jun 7 2018 exports
|
||||||
|
drwxr-xr-x 2 root root 4096 Jun 7 2018 exports.d
|
||||||
|
drwxr-xr-x 4 root root 4096 Aug 28 2018 fonts
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 foomatic
|
||||||
|
-rw-r--r-- 1 root root 417 Aug 31 2018 fstab
|
||||||
|
-rw-r--r-- 1 root root 216 Jul 30 2018 fuse.conf
|
||||||
|
-rw-r--r-- 1 root root 2584 Aug 10 2018 gai.conf
|
||||||
|
drwxr-xr-x 6 root root 4096 Aug 28 2018 gconf
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 gdb
|
||||||
|
drwxr-xr-x 3 root root 4096 Aug 28 2018 gimp
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 glusterfs
|
||||||
|
-rw-r--r-- 1 root root 831 Aug 31 2018 group
|
||||||
|
-rw-r--r-- 1 root root 818 Aug 31 2018 group-
|
||||||
|
-rw------- 1 root root 733 Aug 31 2018 gshadow
|
||||||
|
-rw------- 1 root root 722 Aug 31 2018 gshadow-
|
||||||
|
drwxr-xr-x 3 root root 4096 Aug 27 2018 gss
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 27 2018 gssproxy
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 gtk-2.0
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 gtk-3.0
|
||||||
|
-rw-r--r-- 1 root root 450 May 26 2018 healthd.conf
|
||||||
|
-rw-r--r-- 1 root root 73 Aug 21 2018 host.conf
|
||||||
|
-rw-r--r-- 1 root root 93 Aug 29 2018 hosts
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 hp
|
||||||
|
-rw-r--r-- 1 root root 171 Aug 29 2018 idmapd.conf
|
||||||
|
-rw-r--r-- 1 root root 1810 May 31 2018 idn.conf
|
||||||
|
-rw-r--r-- 1 root root 207 May 31 2018 idnalias.conf
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 ifplugd
|
||||||
|
drwxr-xr-x 4 root root 4096 Aug 27 2018 initcpio
|
||||||
|
-rw-r--r-- 1 root root 714 Jun 4 2018 inputrc
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 iproute2
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 27 2018 iptables
|
||||||
|
-rw-r--r-- 1 root root 20 Aug 21 2018 issue
|
||||||
|
drwxr-xr-x 6 root root 4096 Aug 28 2018 java-8-openjdk
|
||||||
|
drwxr-xr-x 4 root root 4096 Aug 28 2018 java10-openjdk
|
||||||
|
drwxr-xr-x 3 root root 4096 Aug 27 2018 kernel
|
||||||
|
-rw-r--r-- 1 root root 369 May 3 2018 krb5.conf
|
||||||
|
-rw-r--r-- 1 root root 181053 Aug 31 2018 ld.so.cache
|
||||||
|
-rw-r--r-- 1 root root 117 Aug 21 2018 ld.so.conf
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 ld.so.conf.d
|
||||||
|
drwxr-xr-x 3 root root 4096 Aug 28 2018 libblockdev
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 27 2018 libnl
|
||||||
|
drwxr-xr-x 2 root root 4096 Dec 29 2016 libpaper.d
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 libreoffice
|
||||||
|
drwxr-xr-x 4 root root 4096 Aug 28 2018 libvirt
|
||||||
|
drwxr-xr-x 3 root root 4096 Aug 28 2018 lirc
|
||||||
|
-rw-r--r-- 1 root root 9947 Aug 28 2018 locale.gen
|
||||||
|
lrwxrwxrwx 1 root root 34 Aug 29 2018 localtime -> ../usr/share/zoneinfo/Europe/Paris
|
||||||
|
-rw-r--r-- 1 root root 5645 Jul 28 2018 login.defs
|
||||||
|
-rw-r--r-- 1 root root 686 Mar 31 2018 logrotate.conf
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 logrotate.d
|
||||||
|
drwxr-xr-x 5 root root 4096 Aug 28 2018 lvm
|
||||||
|
-r--r--r-- 1 root root 33 Aug 27 2018 machine-id
|
||||||
|
-r--r--r-- 1 root root 8565 Aug 9 2018 mail.rc
|
||||||
|
-rw-r--r-- 1 root root 272 Nov 22 2017 mailcap
|
||||||
|
-rw-r--r-- 1 root root 5782 Jul 27 2018 makepkg.conf
|
||||||
|
-rw-r--r-- 1 root root 5134 Aug 5 2018 man_db.conf
|
||||||
|
-rw-r--r-- 1 root root 2349 Mar 9 2017 mdadm.conf
|
||||||
|
-rw-r--r-- 1 root root 61433 Nov 22 2017 mime.types
|
||||||
|
-rw-r--r-- 1 root root 812 Aug 20 2018 mke2fs.conf
|
||||||
|
-rw-r--r-- 1 root root 2490 Oct 6 2017 mkinitcpio.conf
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 mkinitcpio.d
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 modprobe.d
|
||||||
|
drwxr-xr-x 2 root root 4096 Jun 22 2018 modules-load.d
|
||||||
|
-rw-r--r-- 1 root root 0 Aug 21 2018 motd
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 mplayer
|
||||||
|
lrwxrwxrwx 1 root root 19 Aug 21 2018 mtab -> ../proc/self/mounts
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 31 2018 mysql
|
||||||
|
-rw-r--r-- 1 root root 9288 Jun 3 2018 nanorc
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 ndctl
|
||||||
|
-rw-r--r-- 1 root root 767 May 8 2018 netconfig
|
||||||
|
drwxr-xr-x 5 root root 4096 Aug 28 2018 netctl
|
||||||
|
-rw-r--r-- 1 root root 1215 Aug 28 2018 nfs-common.conf
|
||||||
|
-rw-r--r-- 1 root root 993 Jun 7 2018 nfs.conf
|
||||||
|
-rw-r--r-- 1 root root 3605 Jun 7 2018 nfsmount.conf
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 nginx
|
||||||
|
-rw-r--r-- 1 root root 2387 Aug 10 2018 nscd.conf
|
||||||
|
-rw-r--r-- 1 root root 5024 Aug 29 2018 nslcd.conf
|
||||||
|
-rw-r--r-- 1 root root 9706 Aug 29 2018 nss_ldap.conf
|
||||||
|
-rw-r--r-- 1 root root 238 Aug 29 2018 nsswitch.conf
|
||||||
|
-rw-r--r-- 1 root root 1300 Aug 29 2018 nsswitch.ldap
|
||||||
|
-rw-r--r-- 1 root root 712 Aug 29 2018 ntp.conf
|
||||||
|
-rw-r--r-- 1 root root 0 Aug 12 2018 odbc.ini
|
||||||
|
-rw-r--r-- 1 root root 0 Aug 12 2018 odbcinst.ini
|
||||||
|
drwxr-xr-x 5 root root 4096 Aug 29 2018 openldap
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 openvswitch
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 29 2018 opera
|
||||||
|
lrwxrwxrwx 1 root root 21 Aug 27 2018 os-release -> ../usr/lib/os-release
|
||||||
|
-rw-r--r-- 1 root root 3023 Aug 29 2018 pacman.conf
|
||||||
|
drwxr-xr-x 3 root root 4096 Oct 16 2020 pacman.d
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 29 2018 pam.d
|
||||||
|
-rw-r--r-- 1 root root 437 Aug 29 2018 pam_ldap.conf
|
||||||
|
-rw-r--r-- 1 root root 68 Dec 29 2016 papersize
|
||||||
|
-rw-r--r-- 1 root root 1316 Aug 31 2018 passwd
|
||||||
|
-rw-r--r-- 1 root root 1263 Aug 29 2018 passwd-
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 27 2018 pkcs11
|
||||||
|
drwxr-xr-x 3 root root 4096 Aug 28 2018 polkit-1
|
||||||
|
drwxr-xr-x 3 root root 4096 Aug 28 2018 postfix
|
||||||
|
-rw-r--r-- 1 root root 759 Aug 21 2018 profile
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 profile.d
|
||||||
|
-rw-r--r-- 1 root root 3145 Feb 22 2018 protocols
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 pulse
|
||||||
|
drwxr-xr-x 2 root root 4096 Feb 16 2018 rc_keymaps
|
||||||
|
-rw-r--r-- 1 root root 6362 Feb 16 2018 rc_maps.cfg
|
||||||
|
-rw-r--r-- 1 root root 1814 Jun 5 2018 request-key.conf
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 request-key.d
|
||||||
|
-rw-r--r-- 1 root root 63 Sep 10 2021 resolv.conf
|
||||||
|
-rw-r--r-- 1 root root 65 Oct 16 2020 resolv.conf.bak
|
||||||
|
-rw-r--r-- 1 root root 254 Mar 4 2017 resolvconf.conf
|
||||||
|
-rw-r--r-- 1 root root 1634 Aug 10 2018 rpc
|
||||||
|
drwxr-xr-x 3 root root 4096 Aug 28 2018 sane.d
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 sasl2
|
||||||
|
-rw-r--r-- 1 root root 139 Aug 21 2018 securetty
|
||||||
|
drwxr-xr-x 3 root root 4096 Aug 28 2018 security
|
||||||
|
drwxr-xr-x 2 root root 4096 May 26 2018 sensors.d
|
||||||
|
-rw-r--r-- 1 root root 10215 May 26 2018 sensors3.conf
|
||||||
|
-rw-r--r-- 1 root root 296299 Feb 22 2018 services
|
||||||
|
-rw------- 1 root root 847 Oct 16 2020 shadow
|
||||||
|
-rw------- 1 root root 826 Aug 31 2018 shadow-
|
||||||
|
-rw-r--r-- 1 root root 102 Aug 28 2018 shells
|
||||||
|
-rw-r--r-- 1 root root 1803 Jun 7 2016 signond.conf
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 skel
|
||||||
|
-rw-r--r-- 1 root root 2932 Aug 28 2018 slim.conf
|
||||||
|
-rw-r--r-- 1 root root 405 Nov 26 2017 slimlock.conf
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 ssh
|
||||||
|
drwxr-xr-x 5 root root 4096 Aug 27 2018 ssl
|
||||||
|
-r--r----- 1 root root 3180 Aug 28 2018 sudoers
|
||||||
|
drwxr-x--- 2 root root 4096 May 16 2018 sudoers.d
|
||||||
|
drwxr-xr-x 2 root root 4096 Jun 22 2018 sysctl.d
|
||||||
|
drwxr-xr-x 5 root root 4096 Aug 28 2018 systemd
|
||||||
|
drwxr-xr-x 2 root root 4096 Jun 22 2018 tmpfiles.d
|
||||||
|
-rw-r--r-- 1 root root 1107 Jul 12 2017 trusted-key.key
|
||||||
|
-rw-r--r-- 1 root root 852 Apr 19 2018 ts.conf
|
||||||
|
drwxr-xr-x 4 root root 4096 Aug 28 2018 udev
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 udisks2
|
||||||
|
-rw-r--r-- 1 root root 558 Jun 5 2018 updatedb.conf
|
||||||
|
-rw-r--r-- 1 root root 13 Aug 28 2018 vconsole.conf
|
||||||
|
-rw-r--r-- 1 root root 51 Nov 11 2017 vdpau_wrapper.cfg
|
||||||
|
-rw-r--r-- 1 root root 912 Aug 13 2018 vimrc
|
||||||
|
-rw-r--r-- 1 root root 5026 May 7 2018 wgetrc
|
||||||
|
-rw-r--r-- 1 root root 642 Jun 19 2018 xattr.conf
|
||||||
|
drwxr-xr-x 10 root root 4096 Aug 28 2018 xdg
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 xinetd.d
|
||||||
|
drwxr-xr-x 2 root root 4096 Aug 28 2018 xml
|
||||||
|
-rw-r--r-- 1 root root 1285 Aug 28 2018 yaourtrc
|
1
SCR.1.2/TP2/output_file
Normal file
1
SCR.1.2/TP2/output_file
Normal file
@ -0,0 +1 @@
|
|||||||
|
fi
|
86
SCR.1.2/TP2/tp02-reponses.txt
Normal file
86
SCR.1.2/TP2/tp02-reponses.txt
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
1.
|
||||||
|
1) affiche une ligne de texte
|
||||||
|
2) Hello world!
|
||||||
|
3) 130
|
||||||
|
4) fi
|
||||||
|
5) 0
|
||||||
|
6) -rw-r--r-- 1 sayebabu senart22 0 Sep 22 14:15 fi
|
||||||
|
7) 0
|
||||||
|
8) ls: cannot access 'nofi': No such file or directory
|
||||||
|
9) 2
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
|
||||||
|
1) Hello world2!
|
||||||
|
2) Hello world1!
|
||||||
|
|
||||||
|
liste :
|
||||||
|
|
||||||
|
2)
|
||||||
|
fi
|
||||||
|
0
|
||||||
|
|
||||||
|
3)
|
||||||
|
ls: cannot access 'nofi': No such file or directory
|
||||||
|
2
|
||||||
|
|
||||||
|
4)
|
||||||
|
fi
|
||||||
|
Hello world!
|
||||||
|
0
|
||||||
|
|
||||||
|
5)
|
||||||
|
ls: cannot access 'nofi': No such file or directory
|
||||||
|
2
|
||||||
|
|
||||||
|
6)
|
||||||
|
fi
|
||||||
|
0
|
||||||
|
|
||||||
|
7)
|
||||||
|
ls: cannot access 'nofi': No such file or directory
|
||||||
|
Hello world!
|
||||||
|
0
|
||||||
|
|
||||||
|
8)
|
||||||
|
ls nofi || ls fi ; echo "$?"
|
||||||
|
|
||||||
|
9)
|
||||||
|
ls fi || ls nofi ; echo "$?"
|
||||||
|
fi
|
||||||
|
0
|
||||||
|
|
||||||
|
10)
|
||||||
|
ls: cannot access 'nofi': No such file or directory
|
||||||
|
2
|
||||||
|
|
||||||
|
II.
|
||||||
|
3. on a ecrit le resultat de la commande dans le "output_file" si elle aboutie
|
||||||
|
5. il lecrase
|
||||||
|
9. il rajoute le resultat a la suite
|
||||||
|
15. 2> ecrit le msg derreur dans le fichier preciser et l'ecrase 2>> "" mais rajoute a la suite
|
||||||
|
20. il mets les deux dans le meme fichier
|
||||||
|
22. le nombre de ligne, de mot et de byte
|
||||||
|
24. le premier affiche le nom du fichier les second non
|
||||||
|
25. on a ecris le resultat de la commande ls dans le fichier
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
TP03
|
||||||
|
II.
|
||||||
|
1. man
|
||||||
|
2. $
|
||||||
|
3. /
|
||||||
|
4.
|
||||||
|
5. -n
|
||||||
|
6. ;
|
||||||
|
7. echo -n "Type var value:" ; read x ; echo "var value is $x"
|
||||||
|
|
||||||
|
II.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user