Linux

  1. Describe the common usage of each of the following directories in a Linux file system.
    1. /
    2. /home
    3. /dev
    4. /etc
    5. /bin
    6. /root
    7. /lib
    8. /sbin
    9. /boot
    10. /usr
    11. /var
    12. /tmp
    13. /mnt
  2. What is a special file in Linux?
  3. Where in the Linux File System (Directory Structure) are Input/Output devices found?
  4. What is a virtual console? How are they accessed?
  5. What command would you use to get help with using the 'cat' command?
  6. What commands are used to
    1. make a new directory
    2. learn about a command
    3. display/set network interface information
    4. adds file systems on devices such as disk drives and network hosts to the file system hierarchy?
    5. create new users and passwords?
    6. turn off linux? What are the syntaxes?
    7. to terminate a user session?
  7. What is the result of each of the following commands. Assume the current working directory is your home directory in every case
    1. cp filex filey
    2. cp filex /etc/filex
    3. mv filex filey
    4. cp filex filex
    5. mkdir /tmp/stuff
    6. su
    7. updatedb
  8. What are three ways to get help about Linux commands (without searching the Internet)
  9. What command is used to view the Linux interface settings?
  10. What command is used to set the interface IP address and related parameters? Show the syntax.
  11. What command is commonly used to test a connection to a remote host?
  12. Name three ways in which the network interface can be started and stopped?
  13. What two files contain information used by the networking script?
  14. Which file contains the system hostname?
  15. Which file contains the IP address and related parameters?
  16. Which file specifies whether DHCP is to be used?
  17. What command is used to view the routing table?
  18. What two entries must appear in a routing table?
  19. What entry is added to the routing table if the LAN is connected to the Internet?
  20. What is the name of the default shell used in Fedora (and most Linux distributions)?
  21. How can you easily call up previously executed shell commands?
  22. What is the difference between the 'find' and 'locate' commands?
  23. How can you easily call up previously executed shell commands?
  24. Explain the purpose and use of each of the following shell symbols
    1. < (redirect STDIN)
    2. > (redirect STDOUT)
    3. | (pipe)
  25. What is a shell alias? How do you create one?
  26. What (hidden) files are used to configure the way Linux operates?
  27. What are environment variables?
  28. What is the purpose of the $PATH environment variable
  29. What keyboard key puts you into command mode in the vi editor?
  30. What keyboard key puts you into insert mode in the vi editor?
  31. Regarding the vi editor
    1. How do you enter INSERT mode?
    2. How do you enter COMMAND mode?
    3. What command is used to save (write) a file?
    4. What command is used to exit (quit) vi?