This quiz assesses knowledge on Linux networking, focusing on symbolic links, permissions, file ownership, and command functionalities.
Full control, read-execute, write
Read, write, modify
Execute, read, write
Read, write, examine
Rate this question:
True
False
Rate this question:
--w-r--rwx 1 user1 root 0 Apr 29 15:40 file1
--wx--xrwx 1 user1 root 0 Apr 29 15:40 file1
-rwxrw-r-x 1 user1 root 0 Apr 29 15:40 file1
--w-rw-r-e 1 user1 root 0 Apr 29 15:40 file1
User1 has read and write, members of the root group have read and execute, and all others have read permissions to the file.
Members of the root group have read and write, user1 has read and execute, and all others have read permissions to the file.
All users have read and write, members of the root group have read and execute, and user1 has read permissions to the file.
User1 has read and write, all others have read and execute, and members of the root group have read permissions to the file.
Rate this question:
Cp
Mv
Rn
Rename
Rate this question:
True
False
Rate this question:
Various additional programs
Spools and log files
Temporary files
Files that are architecture independant
Local variance devices
Rate this question:
Only the data in the file you modified is affected.
Only the data in the file you modified and any hard linked files in the same directory are affected.
The data in the file you modified and the data in all hard linked files are modified as they have different inodes.
The data in the file you modified as well as the data in all hard linked files are modified as they share the same data and all have the same inode and file size.
Rate this question:
It makes a volume.
It makes a directory.
It moves a directory.
It moves a file.
Rate this question:
Causes all new files created in the directory to have the same group membership as the directory and not the entity that created them
Cannot be done as it is only applied to files
Allows users the ability to use more than two groups for files that they create within the directory
Causes users to have their permissions checked before they are allowed to access files in the directory
Rate this question:
Can only be used to search for executables
Searches for a file in all directories starting from the root
Is not a valid Linux command
Searches for a file only in directories that are in the PATH variable
Rate this question:
Run chgrp again listing himself as the new owner.
Nothing as this is a one-way, one-time action.
Have the new owner run chgrp and list the original owner as the new owner.
Run chown and list himself as the new owner.
Chown user1:root file1
Chown user1 : root file1
This cannot be done because user and group ownership properties of a file must be modified separately.
Chown root:user1file1
Chown root : user1file1
Rate this question:
Rw-rw-rw- and rw-rw-rw-
Rw-rw-rw- and r--r--r--
Rw-rw-rw- and rwxrwxrwx
Rwxrwxrwx and rw-rw-rw-
Rwxrw-rw- and rwx-rw-rw-
Rate this question:
One
Two
Three
Four
Rate this question:
Chmod u+x-r,g+r-x,o+w file1
Chmod u=w,g=rw,o=rx file1
Chmod u-r-w,g+r-w,o+r-x file1
Chmod u=x,g=r,o=wx file1
Chmod u+w,g+r-w,o+r-x file1
Rate this question:
Rw-rw-rw-
Rwxrw-r--
---r--rw-
----wx--x
Rate this question:
There is no choice as the new file will overwrite the old one by default.
Type interactive cp or interactive mv.
Type cp -i or mv -i.
Type cp --interactive or mv --interactive.
Just type cp or mv as they run in interactive mode by default.
Rate this question:
Quiz Review Timeline (Updated): Mar 21, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.