Fedora Set 3
On This Page
This set of Fedora Multiple Choice Questions & Answers (MCQs) focuses on Fedora Set 3
Q1 | Which command changes a file’s group owner
- cgrp
- chgrp
- change
- group
Q2 | Which command is used to extract intermediate result in a pipeline
- tee
- extract
- exec
- none of the above
Q3 | Which command is used to extract a column from a text file
- paste
- get
- cut
- tar
Q4 | Which command is used to display disk consumption of a specific directory
- du
- ds
- dd
- dds
Q5 | Which command is used to perform backup in unix?
- backup
- cpio
- zip
- gzip
Q6 | Which command creates an empty file if file does not exist?
- cat
- touch
- ed
- read
Q7 | Which option of rm command is used to remove a directory with all its subdirectories
- –b
- –o
- –p
- –r
Q8 | Write the command to display the current date in the form dd/mm/yyyy.
- date +%d/%m/%y
- date +”%d/%m/%y”
- date +/%d/%m/20%y
- date +”/%d/%m/20%y”
Q9 | Which command will delete all the blank lines in file old.txt?
- sed ‘/d’ old.txt
- sed ‘/^/d’ old.txt
- sed ‘/^$/d’ old.txt
- sed ‘/^*/d’ old.txt
Q10 | The command “sed -n ‘/mcqmate/p’ old.txt” will
- print the lines containing the word ‘mcqmate’ in file old.txt
- delete the lines containing the word ‘mcqmate’ in file old.txt
- will generate an error message
- none of the mentioned
Q11 | Which option is used by sed to specify that the following string is an instruction or set of instructions?
- -n
- -e
- -f
- -i
Q12 | When we install a new package in linux system, then
- all the files of the packages are installed in a single directory
- different files are installed at different locations of the file system
- package works just after extraction, installation is not required
- none of the mentioned
Q13 | Host specific configuration files are installed in
- /etc directory
- /lib directory
- /root directory
- /bin directory
Q14 | The directory /media is the
- mount point for removable media
- mount point for filesystem
- both (a) and (b)
- none of the mentioned
Q15 | What is /bin/sh ?
- bourne shell
- hard or symbolic link to the real shell command
- bash shell
- both (b) and (c)
Q16 | The /boot directory stores the data that is used
- before the kernel begins executing user mode programs
- after the kernel begins executing user mode programs
- before the bootloader is loaded in the ram
- none of the mentioned
Q17 | Which one of the directory does not contain binary files?
- /bin
- /sbin
- /etc
- none of the mentioned
Q18 | Kernel modules are present in
- /lib directory
- /root directory
- /boot directory
- none of the mentioned
Q19 | The directory /opt is reserved for
- installation of add-on application software packages
- optional booting files
- optional user specific files
- none of the mentioned
Q20 | The directory /srv contains
- site-specific data which is served by the system
- all the system files
- all the service files provided by the specific user
- none of the mentioned
Q21 | Any file or directory present in the ______ directory may not be reserved between the invocation of the program.
- /var
- /tmp
- /etc
- all of the mentioned
Q22 | What is a context switch?
- kernel switches from executing one process to another.
- process switches from kernel mode to user mode.
- process switches from user mode to kernel mode.
- none of the above
Q23 | Pid of init process
- 0
- 1
- 32767
- none of the above
Q24 | What is the default maximum number of processes that can exist in Linux?
- 32768
- 1024
- 4096
- unlimited
Q25 | How do you get parent process identification number?
- waitpid
- getpid()
- getppid()
- parentid()