| | | | MCQ Tutorial - Linux->Command | | | | 121.) Which commands will give you information about how much disk space each file in the current directory uses? | | Options are: | | A.) ls -l
| | B.) ls -la
| | C.) ls -a
| | D.) du
| | Correct Option: D | | | | | | | 122.) The command "mknod myfifo b 4 16" | | Options are: | | A.) Will create a block device for all users
| | B.) Will create a FIFO if user is not root
| | C.) None of the above
| | D.) Will create a block device if user is root
| | Correct Option: D | | | | | | | 123.) Which command is used to display disk consumption of a specific directory | | Options are: | | A.) dds
| | B.) du
| | C.) ds
| | D.) dd
| | Correct Option: B | | | | | | | 124.) For every successful login, which script will be executed? | | Options are: | | A.) /etc/profile
| | B.) /etc/init
| | C.) /etc/inittab
| | D.) /etc/login
| | Correct Option: A | | | | | | | 125.) Which of the following commands allows definition and assignment of environment variables under bash | | Options are: | | A.) export
| | B.) environ
| | C.) setenviron
| | D.) env
| | Correct Option: D | | | | | | | | | | | |