1) You forget the root password. You decide to reboot using a boot disk floppy. What do you need to do to recover the root password?
a) Mount the main partition, edit the /etc/passwd file to remove the root password, reboot.
b) Mount the root partition, edit the /etc/passwd file to remove the root password, reboot.
c) Mount the main partition, edit the /tmp/passwd file to remove the root password, reboot
d) Mount the root partition, edit the /etc/passwds file to remove the root password, reboot
e) none of the above
2) The previous system administrator put useless messages at login, what file do you edit to change the system message?
a) /etc/motd
b) /etc/str
c) /etc/strtms
d) /etc/.conf
3) Users on your network cannot print to a Linux printer. You decide to restart the printer daemon, which command would achieve that?
a) topq printer-name
b) enable printer-name
c) restart printer-name
d) up printer-name
4) Which file does Linux use to resolve hostnames?
a) /etc/hostname.conf
b) /etc/dns.conf
c) /etc/host.conf
d) /etc/resolve.conf
5) What is "tin"?
a) Terminal Interpreter
b) The command to change the time
c) The command to compare text files
d) A newsreader
6) What are the file attributes for executing Perl programs?
a) 666
b) 755
c) 766
d) 777
7) What is bash?
a) Something you do to a watermelon
b) A command to delete multiple files
c) A network bit format
d) A command shell
8) What is the DOS LPT1 port in Linux?
a) /dev/lpt0
b) /dev/lpt1
c) /dev/lp0
d) /dev/lp1
e) DOSLPT1
9) What is the minimum memory requirements for XFree86?
a) 640K
b) 2MB
c) 4MB
d) 8MB
e) 16MB
10) You attempt to remove a directory, but Linux won't allow you, what is the most likely problem?
a) The directory name contains illegal characters
b) You are not logged in as root
c) The hard disk is full
d) The directory is not empty
e) None are likely problems
11) From a command prompt, what does the command "ls" do?
a) Lists the settings of the OS
b) Lists the contents of the directory
c) List command to list contents of files
d) Finnish words, means to direct a file to a port
e) None of the Above
12) Which command creates a file system?
a) fdisk
b) crfs
c) mkfs
d) fs
13) What is the default administrator username?
a) administrator
b) admin
c) superuser
d) root
e) head
14) Which of the following are valid Linux wildcards? (Choose all that apply)
a) * and ?
b) /
c) ?
d) &
e) Z
15) What does the command "ps" do?
a) Prints the directory
b) Shows what processes are running
c) Print status of LPT1
d) Produces system statistics
e) None of the above
16) You are working in Linux when a program hits a flaw and stops running. Which command can be used to end the process?
a) kill
b) stop
c) end
d) wait
e) CTL-ALT-DEL
17) A user is logged into the Linux workstation, what is the best way to login to root from a shell prompt?
a) login root
b) chuser root
c) su
d) root
18) Linux allows filenames up to what number of characters?
a) 8
b) 11
c) 256
d) 512
e) Unlimited
19) T/F: The command "pwd" displays the directory
a) True
b) False
20) T/F: To move files, use the "move" command.
a) True
b) False
how do i know what the right answers are?
ReplyDelete