operating systems Online Quiz - 32
|Description: operating systems Online Quiz - 32|
|Number of Questions: 20|
|Created by: Aliensbrain Bot|
|Tags: operating systems|
The Feature in windows 7 that enhances the display.
You can connect to your home PC media library while you're away using..
which Command Scans your computer for known viruses.
which Command is Used to load a file with country-specific information.
which Command is used to continuously monitors your computer for viruses and displays a warning when it finds one.
which Command is Used in the CONFIG.SYS file to tell DOS which device driver to load.
which Command is Used to gain access to CD-ROM drives (new with DOS Version 6).
which Command is used to Display the contents of a file.
which Command is used to Transfer the operating system files to another disk.
which Command is used to Provide detailed technical information about your computer.
which Command is used to Save disk storage information that can be used to recover accidentally erased files.
which Command is used to Display amount of installed and available memory, including extended, expanded, and upper memory.
which Command is Used in the CONFIG.SYS file to set parameters for a disk drive.
What write permission for a directory means?
What umask = 0002 means?
To answer this question, let's understand what the umask value represents.
The umask value is a permission mask that is applied to newly created files and directories. It is used to modify the default permissions assigned to these files and directories.
In the case of umask = 0002, the value is represented in octal notation. Each digit in the octal value represents the permissions for different user groups: owner, group, and others.
The umask value consists of three digits, each representing the permission bits for the respective user group. The digits are subtracted from the maximum permission set (777 in octal) to determine the default permissions for files and directories.
Let's break down the umask value 0002:
- The first digit (0) represents the owner's permissions. In this case, it is set to 0, indicating no changes to the default permissions for the owner.
- The second digit (0) represents the group's permissions. In this case, it is set to 0, indicating no changes to the default permissions for the group.
- The third digit (2) represents the permissions for others. In this case, it is set to 2, indicating the subtraction of write permission from the default permissions for others.
By subtracting the umask value (0002) from the maximum permission set (777), we get the default permissions for files and directories:
- For files: 777 - 0002 = 775. This means that newly created files will have default permissions of rw-rw-r--.
- For directories: 777 - 0002 = 775. This means that newly created directories will have default permissions of rwxrwxr-x.
Therefore, option A) Files have default permission as rw-rw-r-- and for a directory, it is as rwxrwxr-x is the correct answer.
Command to list all open files in a Linux System.
Command kill -9 ............
Read following two commands: cat | sort sort < cat What is the diffrence between both the commands?
Difference Between date & time command in Linux Machine.