All Free Software Engineering MCQs with Answers
Every Software Engineering question in the bank, across all chapters, each with the correct answer and a written explanation. Free and unlimited, with no account needed.
1,731 questions · page 44 of 87
- A. nfsmount
- B. knfsd
- C. mount
- D. All of the above
Explanation: The `mount` command attaches a filesystem, including an NFS filesystem, to the directory tree; NFS is typically specified with a type or…
Correct answer: mount- A. $
- B. 3 dw
- C. 3 x
- D. 3 dd
Explanation: In vi, `dw` deletes one word, so `3dw` deletes three words from the cursor position.
Correct answer: 3 dw863. Who founded the FSF?
- A. Linus Torvalds
- B. Richard Stallman
- C. Bob Young
- D. All of the above
Explanation: Richard Stallman founded the Free Software Foundation in 1985 to promote free software and related freedoms.
Correct answer: Richard Stallman- A. del
- B. mv
- C. rm
- D. remove
Explanation: `rm` removes files in Unix/Linux systems. `mv` renames or moves a file, whereas `del` and `remove` are not the standard Unix command for…
Correct answer: rm- A. /etc/.profile
- B. /etc/.bashrc
- C. /etc/.log
- D. /etc/profile
Explanation: `/etc/profile` is read for system-wide shell initialization, so its settings apply by default to users with login shells.
Correct answer: /etc/profile- A. to exit status of ast command executed.
- B. to process number of the current shell
- C. to list the positional parameters
- D. to name the command being executed
Explanation: `$*` expands to all positional parameters supplied to the shell script or function, generally as one word when quoted.
Correct answer: to list the positional parameters- A. h
- B. k
- C. j
- D. i
Explanation: In vi command mode, `h` moves the cursor one position left. The commands `j` and `k` move down and up, while `i` enters insert mode.
Correct answer: h868. What command is used to save the standard output in a file, as well as display it on the terminal ?
- A. tee
- B. grep
- C. cat
- D. more
Explanation: `tee` copies standard input to a file while also sending the same data to standard output, so the output is both saved and displayed.
Correct answer: tee- A. /etc/apache.conf
- B. /etc/httpd/config.ini
- C. /etc/httpd/conf/httpd.conf
- D. /etc/srm.conf
Explanation: On traditional Apache installations, the primary configuration file is `/etc/httpd/conf/httpd.conf`.
Correct answer: /etc/httpd/conf/httpd.conf- A. /dev
- B. /bin
- C. /etc
- D. /home
Explanation: System startup scripts are kept under `/etc`, commonly in subdirectories such as `/etc/init.d` or `/etc/rc.d`.
Correct answer: /etc- A. switchdesk
- B. intrc
- C. xinitre
- D. Xchange
Explanation: `switchdesk` was a graphical Linux utility used to select or change the default X Window desktop environment.
Correct answer: switchdesk- A. !
- B. $
- C. #
- D. @
Explanation: In traditional Unix terminal settings, @ was the line-kill character, removing the complete input line without issuing a new shell prompt.
Correct answer: @- A. :pat
- B. ?pat
- C. /pat
- D. All of the above
Explanation: The vi command /pat searches forward for the pattern pat, while ?pat searches backward.
Correct answer: /pat- A. lc
- B. wc - l
- C. cl
- D. count
Explanation: wc counts lines, words, and bytes; the -l option restricts its output to the number of lines. Thus wc -l filename is the standard command.
Correct answer: wc - l- A. ren
- B. mv
- C. remove
- D. change
Explanation: The Unix mv command moves a file and also changes its name when the destination is another filename.
Correct answer: mv- A. cdir
- B. chdir
- C. changedir
- D. cd
Explanation: cd changes the shell's current working directory, for example cd /var/log.
Correct answer: cd- A. NFS
- B. FTP
- C. PCMCIA
- D. All of the above
Explanation: NFS, FTP, and PCMCIA installations may require special boot disks because the installer needs drivers or network support before the…
Correct answer: All of the above- A. /etc/hosts.allow
- B. /etc/hosts.deny
- C. /etc/hosts
- D. /etc/tcp.conf
Explanation: tcp_wrappers reads /etc/hosts.allow for permitted connections, so an entry such as ALL: ALL allows connections from every host.
Correct answer: /etc/hosts.allow- A. au
- B. ps
- C. du
- D. pid
Explanation: ps displays information about active processes, including process IDs, terminals, CPU usage, and command names.
Correct answer: ps- A. rmdir
- B. rd
- C. remove
- D. rdir
Explanation: rmdir removes an empty directory in Unix and Linux. A directory containing files must first be emptied or removed recursively with an…
Correct answer: rmdir