ITSC 1405 – Exam #1 (Chapters 1-4)
ITSC 1405 – Final Exam – Part 3 (UNIX/Linux)
Intro to PC Operating Systems
Instructor: Prof. Michael P. Harris, CCNA, CCAI rev. 20101207
Multiple Choice: (0.5 points each)
1. _____ Which UNIX/Linux directory contains the majority of executable files/commands?
a. /bin
b. /sbin
c. /usr/bin
d. all of the above
2. _____ In which UNIX/Linux directory will the users personal directorys be located?
a. /home/lib
b. /usr/bin
c. /home
d. /passwd
3. _____ Which UNIX/Linux directory will usually contain most of the system setup files?
a. /config
b. /etc
c. /sys
d. /usr/adm
4. _____In which UNIX/Linux directory will the hardware dependant files be located?
a. /dev
b. /sys
c. /bin
d. none of the above
5. _____ Which UNIX/Linux file is equivalent of the DOS CONFIG.SYS boot-up config file?
a. /unix
b. /etc/rc
c. /etc/startup
d. /etc/motd
6. _____ Which UNIX/Linux file usually contains the users’ daily login message?
a. /bin/login
b. /etc/motd
c. /usr/.profile
d. /etc/rc
7. _____ Which UNIX/Linux file usually contains the users account data?
a. /bin/passwd
b. /etc/var/profiles
c. /etc/passwd
d. /bin/var/profile
8. _____Which UNIX/Linux file contain a users personal startup and setup commands?
a. ~/.profile
b. /usr/lib
c. /home/.profile
d. /etc/rc
9. _____ What are valid UNIX/Linux permissions for a file?
a. u g o a
b. r w x -
c. d s -
d. none of the above
10. _____ Which UNIX/Linux command changes file permissions?
a. chgrp
b. chown
c. chmod
d. none of the above
11. _____ What will the following UNIX/Linux command sequence do?
$ cat /etc/passwd | sort -r > wholist
a. sort user passwords into a file ‘wholist’
b. replace the ‘passwd’ file with the sorted ‘wholist’ file
c. create a sorted list of users into a file ‘wholist’
d. generate a syntax error
12. _____ What will the following UNIX/Linux command sequence do?
$ head +4 < wholist >> register
a. sort the registered users into a register file
b. Put all but the first 3 users in the file ‘wholist’ to the file ‘register’
c. Put the last 4 users in the file ‘wholist’ to the file ‘register’
d. generate a syntax error
13. _____ What will the following UNIX/Linux command do?
$ Ctrl-D (^D)
a. shutdown UNIX
b. pause the UNIX screen display
c. refresh the UNIX screen display
d. logoff
14. _____ Which filename is not valid for UNIX/Linux?
a. firstfile.txt
b. FIRSTFILE.TXT
c. first file
d. first/file
e. first!file
15. _____ Which of the following filenames are matched by: [A-G]*ing.?txt
a. Gagging.test
b. Bing.xt
c. Aging.ntxt
d. Ing.etxt
e. Going.txt
16. _____ A UNIX/Linux file is hidden if:
a. It is owned by root and is read protected.
b. The name of the file begins with the character “.”
c. The chmod permission is set to 000
d. UNIX/Linux files cannot be hidden
17. _____ What UNIX/Linux command will display the entire contents of a file?
a. ls filename
b. grep filename
c. cat filename
d. sh filename
18. _____ What command would effectively make a file executable for all users?
a. chmod u+x
b. chmod ugo=xxx
c. chmod ugo-rx
d. chmod a+x
19. _____ What command displays the name of the UNIX/Linux machine you are using?
a. hostname
b. whoami
c. uname
d. logname
20. _____ Which UNIX/Linux command will show who is currently logged on?
a. ps -A
b. login
c. who
d. hostname
21. _____ Which UNIX/Linux command will show currently running processes?
a. uname -a
b. ps -A
c. whodo
d. runlevel
22. _____ The UNIX/Linux command cd ~ will do what?
a. Move to the top of the root directory
b. Move up three directory levels
c. Return to the prior directory
d. Return to your home directory
23. _____ The UNIX/Linux command ls –FRAC will?
a. Give an error message
b. Display a random Sci-fi expletive
c. Display a detailed directory structure and contents
d. Display UNIX/Linux system files with access attributes
24. _____ The UNIX command uname –a will?
a. Display the names of all the users
b. Display your current username
c. Display your computer name, os, os version, cpu, …
d. Display UNIX/Linux system files with access attributes
25. _____ The UNIX/Linux command tar –cvzf will?
a. Backup a file to tape
b. Display in columns, a verbose list of sorted filenames
c. Create a .tar file from a .tar.gz file
d. Create a compressed archive file with the extension .tar.gz or .tgz
26. _____ The UNIX/Linux command find . –type d will?
a. Give an error message
b. Find the word ‘type’ in any file in the current directory
c. Find all files the begin with ‘d’
d. Display a recursive list of all directories from the working directory
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- huckleberry finn chapters 1 10 summary
- 1 8 to 1 4 mile conversion
- 1 2 of 1 4 tsp
- 1 4 1 2 lineset
- the outsiders answer key chapters 1 12
- activity 1 4 4 orthography projection
- 1 8 to 1 4 mile calculator
- 1 4 mile to 1 8 calculator
- 1 2 1 4 equals in fraction
- 1 2 plus 1 4 equals
- 1 8 mile to 1 4 calculator
- discover 1 2 3 4 checking 1 2 3 4 account