Home / Programming MCQs / Linux MCQs / Question
S
Q. The -rwxr-xr-t permissions represented by the following octal value.
The sticky bit ($ chmod +t file-name) was introduced for use with executables to allow to an operating system to keep the program’s text segment in swap space after the process has finished. It was a performance feature designed to speed up program execution. The sticky bit is most commonly used on directories where it allows files or directories to be moved or deleted only by the owner of that object, the owner of the directory or the root superuser. To define the sticky bit on a file, the octal value is 1000 and the symbolic value is “t”. String notation: $ chmod o+t file1.txt Numeric notation: $ chmod 1755 file1.txt The sticky bit has no effect if other does not have execution permissions. The sticky bit is represented with a lowercase “t” in the output of ls. In cases where it has no effect, it is represented by a capital “T”. $ ls -l file1 -rwxr-xr-t 1 user1 user1 0 2018-10-29 21:41 file1
You must be Logged in to update hint/solution
In what mode of editing, the keyboard behaves as a normal typewriter with the exception?
Which DNS resource record shows the hosts that provide services?
Which directive in the module’s configuration file will give the module a new name?
The shell in the Unix system is the
Which command is used to make a file system available to the system?
Which command is used to view the disk usage within a directory?
The fsck utility checks a file system using how many passes?
Discusssion
Login to discuss.