How can you grant “read and execute” permissions to the owner and group while revoking all permissions from others for a file named ‘program’ using the symbolic mode?
- chmod ug+rx,o--- program
Practice related MCQ quizzes and improve step by step.
How can you grant “read and execute” permissions to the owner and group while revoking all permissions from others for a file named ‘program’ using the symbolic mode?
What does the command ‘chmod 755 file.txt’ do in Linux?
Which utility is used to rename files ordirectories in Linux?
Which of these commands do we use just counting the total number of lines a file contains?
Which utility is used to create a new directory in Linux?
What command in Kali Linux is used to start a process in the background?
By default how foreground processes areexecuted in Kali Linux?
What does the command ‘chown root:root file.txt’ do in Kali Linux?
Define the paths provided below:
./public_html/cgi-bin & /home/users/c/computerhope/public_html/cgi-bin
Which command can be used to view the /var/log/wtmp file entries?
The /etc/shadow file contains encrypted passwords. (True or False?)
The first line of this command displays how long the system has been running since being rebooted.
Sudo privileges allow users to execute commands as another user. (True or False)?
The last command displays reboot records…
The “Epoch” began on January 1, 1970.(True or False?)
A value of 0 in the “minimum” password aging field means the user cannot change their password. (True or False)?
Which command will display the groups that the root user belongs to?
To display the group(s) a user belongs to use this command:
Usernames cannot be the same as group names.(True or False?)
What would an account with the UID 376 typically be used for?