Inicia sesión
Crear actividad
Tipos de actividades
Centro de ayuda
Introduce tu Game Pin
Blog
Premium
English
Español
Français
Crear actividad
Inicia sesión
Todas las actividades
Jugar Test
Imprimir Test
Managing File Ownership and Attributes
Author :
Mr. Balcarcel
1.
Step 1 Open a terminal window
A.
Click Applications in the menu bar and then Terminal
B.
Click Setting in the menu bar and then Terminal
C.
Click Terminal in the start bar
2.
STEP 2. Use the su command to switch to the root account.
A.
su -su
B.
su -
C.
- su
3.
Step 3. Copy the /etc/group file to the /tmp directory
A.
cp /tmp/group /etc
B.
cp /etc/group /tmp
C.
cp /group /etc /tmp
D.
4.
Step 4. Change the user ownership of the /tmp/group file to the student user
A.
cown student /tmp/group
B.
chown student /tmp/group
C.
chown students /tmp/groups
5.
Step 5. Change the group ownership of the /tmp/group file to the bin group
A.
chgrp bin /etc/group
B.
chown bin /tmp/group
C.
chgrp bin /tmp/group
D.
6.
Step 6. Run the correct command to display the file attributes of the /tmp/group file
A.
lessattr /tmp/group
B.
lsattr /tmp/group
C.
lsattr /tmp/groups
D.
7.
Step 7. Remove the /tmp/group file.
A.
rm /tmp/group
B.
remove /tmp/group
C.
rm /tmp/groups
D.