Linux Module 4 Flashcards
A symbolic link is also known as a soft link and is depicted by an @ symbol appearing at the beginning of the filename when viewed using the ls -l command. True of False?
False
What was created to define a standard directory structure and common location for Linux?
FHS
There is no real difference between the ‘S’ and the ‘s’ special permissions when displayed using the ls -l command. One just means it is on a file and other that it is on a directory. True of False?
False
The default permissions given by the system prior to analyzing the umask are known as what for directories, and referred to as what for files?
rwxrwxrwx and rw-rw-rw-
What must a user do to run cp or mv interactively and be asked if she wants to overwrite an existing file?
Just type cp or mv as they run in interactive mode by default.
The root user user utilizes the chgrp command to give ownership of a file to another user. What must the root use do to regain ownership of the file?
chown user1:root file1
Bitch Im your Uh -XxXtenTacion
After typing the ls -F command, you see the following line in the output:
-rw-r-xr- 1user1 root
What does this mean?
User 1 has read and write permission, members of the group have read and execute permissions, and all other have read permissions to the file.
After typing the command umask731 the permissions on all subsequently created files and directories will be effected. In this case, what will permissions on all new files be?
- -r–rw
You noticed a file in your home directory that has a + symbol appended to the mode. What does this indicate?
Additional entries exist within the ACL of that file that can be viewd using the getfacl command.
When you change the data in a file that is hard-linked to three others:
The data in the file you modified as well as the data in all hard-linked files are modified, as they all share the same data and all have the same inode and file size.
The command chmod317file1 would produce which of the following lines in the ls command?
–wx–xrwx 1 user root ‘date’
Which of the following commands will change the user ownership and group ownership of file1 to user 1 and root respectively?
chown user1:root file1
What does the /var directory contain?
spools and log files
What does the mv command do?
It moves a file.
A file has the following permissions r—-x-w-. The command chmod 143 would have the same effect as the command:
chmod u=x,g=r,o=wx file1