Vous êtes sur la page 1sur 6

Évaluation Num 3

Hassen ELLINI

Exercice N°1 :

Q1 :

d : signifie que c’est un directory


rwx : droit sur le directory pour user
r-- : droit sur le directory pour group
r-x :droit sur le directory pour others
michael : user name
IN102 : groupe name
512 : taille en octet
Sep8 19:15 : date creation
DS : nom de repo

*) chmod u+w app .sh


*) tout les utilisateurs puisque ils ont tous le droit de lecture
*) seulemnt le user : les autres (group and other ) n’ont pas le droit
d’ecriteur
*) seulemnt le user : les autres (group and other ) n’ont pas le droit
d’excuter

Q2:

*) chmod 534 exam.txt


*) chmod 602 exam.txt
*) chmod u-x,g+r,o+w exam.txt
*) chmod 570 exam.txt

Q3 : default umask is 022


so default right for creating file is 644
Exercice 2 :

Q1 :

*)

*)

Q2 :
Q3 :
ps -a : Select all processes

ps -u : Select all processes associated to the log in user

ps -x : Select all processes encore d’excuter

*) ps -ux : select all process running under our user

User : user responsable de cree le process


PID : process identifier
%CPU : percentage of processor in use
%MEM : percentage of ram in use
TTY:on which terminal it was launched
*)STAT : the state of the process (actif ,on hold ,killed)
Start : time starteed in
*)TIME:time took to finish
Command : responsible of launching the proccess
*) top

*)

*) ps -ux : select all process running under our user

*)
*)

*)

Q5 :
la deuxieme column

Exercice 3 :
1/

2/

3/

5/
4/

6/

7/

the first if to check weither or not we provided an argument


the second if to check if the argument is decimal or not
the else create a folder with the name provided as an argument

Vous aimerez peut-être aussi