Commandes Flashcards

1
Q

Répertoire courant

A

Pwd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Changer de document

A

Cd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Voir le contenu du répertoire courant

A

Ls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Créer un répertoire dans le répertoire courrant

A

Mkdir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Supprimer un fichier

A

rm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Supprimer in fichier

A

rm -r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Créer un fichier vide

A

Touch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Copier un fichier

A

Cp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Les 3 types de droits pour les utilisateurs

A

r:read
w:write
x:execute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Les 3 types d’utilisateurs

A

u: l’admin (propriétaire)
g: le group
o: les autres

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Montrer que nous avons à faire à un fichier

A

-

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Montrer que nous avons affaire à un répertoire

A

d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

comment autorisé un types d’interaction et comment l’interdir

A

Autoriser : mettre la lettre
Interdir: -

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Modifier les permissions

A

chmod

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Syntaxe pour permettre à un group de pouvoir lire et exécuter mais pas écrire

A

chmod g+rx [nom_du_fichier]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly