⟩ Linux file defaults permition is?
umask value = 022
Without a umask in effect,any file created will have 666
permissions.
666
022
---------
644
---------
A umask of 022 will result in files created with 666 permission.
umask value = 022
Without a umask in effect,any file created will have 666
permissions.
666
022
---------
644
---------
A umask of 022 will result in files created with 666 permission.
The file /proc/kcore displays a size of a) RAM b) RAM plus 4 KB c) RAM plus 8 KB d) none of the mentioned
The /sbin/sysctl command is used to a) view kernel settings in the /proc/sys/ directory b) set kernel settings in the /proc/sys/ directory c) automate kernel settings in the /proc/sys/ directory d) all of the mentioned
What is /proc/self? a) a directory b) link to the currently running process c) it allows a process to look itself without having to know its process ID d) all of the mentioned
The file /proc version shows the version of ______ used in the system. a) kernel b) gcc c) both (a) and (b) d) none of the mentioned
The file /proc/locks displays the file currently locked by the a) kernel b) user c) superuser d) none of the mentioned
/bin/dmesg picks the messages from a) /proc/kmesg b) /sbin/klogd c) both (a) and (b) d) none of the mentioned
Which file contains the boot options passed to the kernel? a) /proc/cmdline b) /proc/root c) /proc/boot d) none of the mentioned
Which one of the following file contains the environment for the process? a) /proc/[PID]/environ b) /proc/[PID]/env c) /proc/[PID]/path d) none of the mentioned
What is /bin/sh? a) bourne shell b) hard or symbolic link to the real shell command c) bash shell d) both (b) and (c)
Which one of the directory does not contain binary files? a) /bin b) /sbin c) /etc d) none of the mentioned