programming languages Online Quiz - 333
programming languages Online Quiz - 333
Questions
Bourne Shell provides support for command aliasing
- True
- False
Unix allows more than one root directory
- True
- False
tar can be used to write on to floppy disks
- True
- False
if statement needs to end with end if
- True
- False
du command displays the file system usage for the entire file system
- True
- False
Normal users can kill init process
- True
- False
top command can be used to control processes
- True
- False
Using netstat one can restart network device
- True
- False
What will happen if the specfied shell directive is not present in the path as mentioned in the shell script?
- Takes default shell
- Prompt error
- Fixes the path
- None
What is a named pipe?
- A Pipe used by kernel to access device
- A pipe to be used by the user to access device
- An abstraction to provide support for inter process communication
- A device
To search exactly one word in a given list
- [word1, word2, ..]
- {word1, word2, ….}
- (word1, word2, ….)
-
word1, word2, ….
It is possible to redirect the output of a process to more than one source
- True
- False
- True but needs root permission
- None
The components of unix file system are (Give the proper order)
- boot block, super block, inode block, data block
- super block, boot block, inode block, data block
- boot block, inode block, super block, data block
- boot block, super block, data block, inode block
Commands tar & dd
- dd allows block sizes to be defined, tar does not allow
- tar allow block sizes to be defined while dd does not allow
- both tar & dd allow block sizes to be modified
- both tar & dd do not allow block sizes to be modified
what does cmp do?
- Copies file1 to file2
- Compares file1 and file2 and update file1 with file2 whereever differs
- Compares file1 and file2 and update file2 with file1 whereever differs
- None
fsck command is
- Used to create file systems
- Used to create files
- Used to create root file system alone
- None
fdisk command is
- Used to create file systems
- Used to create harddisk partitions
- Used to create root file system alone
- None
The option not allowed in test command
- -d
- -l
- -u
- -a
The valid conditional operator
- -NE
- -GT
- -LT
- -eq
How to mount a file system?
- fsck
- fsmount
- mount
- mountfs