Unix Computer Science Questions and Answers - ObjectiveBooks
Hello everybody! You can translate the content of this page by selecting a language in the select box.

Unix Computer Science Questions and Answers

Practice Test: Question Set - 09


1. Which of the following commands is used to remove files?
    (A) erase
    (B) delete
    (C) rm
    (D) dm

2. The command chmod 761 note is equivalent to
    (A) chmod 167 note
    (B) chmod u=rwx, g=rw, o=x note
    (C) chmo a =761 note
    (D) chmod 4=7, g=6,0 =1 note

3. Which of the following commands is used to display the filenames in multiple columns?
    (A) ls
    (B) ls -1
    (C) ls -x
    (D) lc

4. The field separator in cut command is specified with
    (A) -a option
    (B) -d option
    (C) -r option
    (D) -x option

5. Which command is used to print a file?
    (A) print
    (B) prn
    (C) pg
    (D) lp

6. Which of the following keys is used to move the cursor to the end of the paragraph.
    (A) }
    (B) {
    (C) |
    (D) $

7. Which of the following set options is used with vi editor to ignore case while searching for patterns?
    (A) ic
    (B) ai
    (C) sm
    (D) ts

8. Which of the following directories contain all the Alias created by a user, including his login directory?
    (A) /tmp
    (B) /etc
    (C) /usr
    (D) /dev

9. Which of the following commands is used to view your file 24 lines at a time?
    (A) pg
    (B) cat
    (C) lp
    (D) /p

10. Which command is used to display and create files?
    (A) cat
    (B) vi
    (C) ed
    (D) lyrix

11. In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory.
    (A) .exrc
    (B) .profile
    (C) lastlogin
    (D) .mbox

12. Which of the following commands is used to display the directory attributes rather than its contents?
    (A) ls -l -d
    (B) ls -l
    (C) ls -x
    (D) ls -F

13. Which of the following commands is used to summarize the disk usage?
    (A) chkdsk
    (B) fdisk
    (C) du
    (D) disk

14. The agency that sits between the user and the UNIX system is called the
    (A) logic
    (B) profile
    (C) shell
    (D) erxc

15. Which command is used to remove a directory?
    (A) rd
    (B) rmdir
    (C) dldir
    (D) rdir

Show and hide multiple DIV using JavaScript View All Answers

 Next Tests:

    Blogger Comment
    Facebook Comment