Linux Examination Questions

The following are a list of examination questions for Linux: 

1. You want to move all files in /dir1 to /dir2 that begin with a and end with v.

What is the correct command to do this?
A. mv /dir1/a*v /dir2 
B. mv -r /dir1/a.v /dir2 
C. move /dir1/a?v /dir2 
D. ls a*v | cp /dir2 
E. mv /dir1/[a-v] /dir2 
F. ps 

2. Which directory is used to store undelivered user email by default? 

A. /var/spool/sendmail/usermail 
B. /var/spool/mail 
C. /var/spool/mailqueue 
D. /var/spool/sendmail/username 
E. /var/mail/sendmail/username 

3. With a Linux 2.2 Kernel-based machine configuration of 133 MHZ, 32 MB RAM and a 1 GB HD, how much swap should be configured? 

A. 512MB 
B. 256MB 
C. 128MB 
D. 64MB 
E. 32MB 

4. What command can find the program file "bar" and it's associated man pages and any existing source files, but not return all files that have "bar" in the command name or path? 

A. whereis 
B. find 
C. locate 
D. apropos 
E. whatis 

5. Which of the following modems cannot be used on linux systems 

A. ISDN TA 
B. Cable modems 
C. Analogue modems 
D. PCI modems 
E. Win modems 

6. What is the correct format for a proper command in the shell? 

A. Option Argument Command 
B. Command Argument Option 
C. Command Option Argument 

7. What option can be used with the shutdown command to reboot the system? 

A. shutdown -r 
B. shutdown -y 
C. shutdown -c 
D. shutdown –b 

8. What run level represents a power down? 

A. 5 
B. 0 
C. 1 
D. 4 

9. What run level represents a GUI (Graphical User Interface)? 

A. 3 
B. 0 
C. 1 
D. 5 

10. What option is used with the useradd command to specify the user's login shell? 

A. -u 
B. -s 
C. -ui 
D. –id 

11. You need to use your Linux box as proxy server. How to use Linux box as porxyserver 

12. What is the main configuration file for squid? 

13. What is the SWAP partition? 

14. How to change the host name of your Linux box? 

15. How to change the IP address of your Linux box in command prompt?

Have a Linux Problem
Linux Forum - Do you have a Linux Question?

Linux Books
Linux Certification, System Administration, Programming, Networking Books

Linux Home: Linux System Administration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.