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