You are on page 1of 1

Kernel

What is the simplest command used to print the information of a module? What is the simplest command used to remove a module from your system? What is the simplest command used to install a particular module? What variable determines the module search path? What is the simplest command used to list the loaded modules? What is the simplest command used to show the existing module dependencies? Kernel software is typically named linux-x.y.z. What does the x.y.z represent? What command do you use to load a GUI that allows some interactions with creation of the /usr/src/linux/.config file? What command should be used to create dependencies for the kernel? What utility is used to check for and install a module and its dependents? What options can be used to create the /usr/src/linux/.config file? You want to load a module file into the kernel and change any symbols that are defined on the command line. What utility is used? The presence of what kernel file indicates a compressed kernel image? In what file do you specify kernel module options for loadtime? What depmod option allows you to print a list of all unresolved symbols? What environment variable controls the location of the module configuration file? What switch for insmod is used to force the loading of a module even if problems are encountered? What make target removes all object files and some other things that an old version may have left behind? The run control scripts in the system execute what command so that the correct module dependencies will be available after booting the system? Incremental upgrades of the kernel are typically distributed as what? What command will compile the linux kernel and leave a file behind called bzImage in the floppy disk. Insmod tries to link a module into the running kernel by resolving all symbols obtained from what? What utility examines the object file module_file associated with a kernel module and displays any information that it can glean? Which make target ensures that all of the dependencies, such as the include files, are in place? Describe the relationship between depmod and modprobe The information displayed by lsmod is identical to that available from what? What environment variable controls the path that lsmod searches for module files? What option of modprobe allows you to set autoclean on the loaded modules? What make target will attempt to configure the kernel from an old configuration file? What option of rmmod specifies that all outputs be sent to syslog? Modprobe will automatically load all base modules needed in the module stack as described by its dependency file. What file is this? What option of modinfo can display its version number? What option of modprobe specifies the loading of all matching modules instead of stopping after the first successful loading? Lsmod shows information in what format?

Boot, Initialization, and Runlevels

What is the purpose of the dmesg command? What is the command to issue in order to shutdown and restart a system? You can shut down the system to a halt by issuing what command? What daemon is responsible for starting other processes for your system? At which runlevel will the system be in multiple user mode, and with NFS support? At which runlevel will the system be rebooted? At which runlevel will the system by in multiple user mode, but without NFS support? What two commands can be used to change the runlevel of your system? What do you edit to configure your system to go to a specific runlevel upon rebooting? At which runlevel will the system be in single user mode, suitable for performing system management work? At which runlevel will the system be suitable for power off?

Printing

What command and switch are used to print a document and modify the number of copies printed? Where is the printer capability information for lpd kept? What is the name of lpds configuration file? What command is used to submit print jobs to the print service? What command is used to manage the print service? What command is used to look at print queues? What two parameters can be used to cause lpr to print multiple copies? What file lists the machine names allowed for printer access? In Linux, the printer capability is read by what daemon during startup? When using ps to view active processes, what represents line printer daemons? What lpr parameter is used to signify a title page? You are configuring remote printing. While file (besides the /etc/printcap on the printer client) is required? What command can be used to flush the printer queue? What directory represents the directory for printer spooling? What command would be used to suspend the printer queue? What parameter is used by lpr to suppress the banner?

Documentation From where can you obtain information regarding the software that could help you test a modem? You want to find out what manual pages are available for a particular command entry. What is the simplest command to use? You are looking for a location holding manual pages about the definition of linux shell utilities and commands. What is the path to their location? You are unsure of the command syntax for a particular utility you are about to execute. What should follow the utility name so you can get help on the syntax? You want to check a syntax usage rule. You also want to read a detailed description of the command. How do you access the corresponding manual? What internet resource contains a wealth of linux information? You want to find out where manual pages available for a particular command entry are found, in addition to the binary and source. What command would you use? You are looking for a location holding manual pages about the description of various configuration files. What is the path to their location? You are looking for a location holding manual pages about the description of various devices. What is the path to their location? You want to find out what help files are available to you (not the man system). What command is used?

Shells, Scripting, and Programming

What would you type to ensure that cmd2 will be executed only if cmd1 is successful? What command can be used to remove the alias for ls? What is considered a normal exit value for a process? What file contains the environment variables applied to users on an individual basis? What file contains the variables that apply to all users?

Administrative Tasks

When you use the passwd command to configure a user password To disable a user account on a system that does not deploy shadow password, you need to edit which file? What parameter is used with tar for verbose output? What parameter is used with tar for extracting files? What parameter is used with tar for signifying the name of files? Within the shadow password file, we place 99999 in the field representing the number of days after which the password must be changed. What is the effect? What is the delimiter in the /etc/passwd file? What are the permissions on the /etc/shadow file? What file must be edited to disable a user account on a system that deploys shadow password? For cron, the weekday value of 0 indicates what? What fields are needed by cron for schedule execution? Crons execution schedule is stored in what file? What is the valid range for the hours of the day in crontab? What files in the users home directory are used to customize the bash environment? Running atrm is equivalent to running at with what switch? What class A network does RFC1918 reserve for intranet use? Class B? Class C? On what basis can logrotate be set to handle a log file? What happens to output from the cron commands? Running atq is equivalent to running at with what switch? What package implements the system log daemon and is responsible for providing logging of messages received from programs and facilities? When creating user accounts, keep in mind that the maximum length of a username is what? What parameter is used with tar to show the file list of a tar file? What utility allows for automatic log rotation, compression, removal and mailing? To change a password on behalf of a user, you first su to the root account and then invoke what command? Can cpio read tar files? What configuration file can you modify to effect the system log daemon? What backup utilities include support for remote tape servers? What daemon is responsible for logging kernel-related messages? What file holds system log events? What daemon is responsible for logging system-related events? You need to add some users and dont want to configure files manually. What is the simplest command you will use? What is the full path of template files automatically copied to users home directories? At which field inside the password file is a users GID stored? What two files are used to restrict users access from using the cron service? At which field inside the password file is a users default shell specified? You are configuring jobs to be executed according to schedule. You want the job to run one time only. What utility would be used? At which field inside the password file is a users password stored? At which field inside the password file is a users UID stored? What two files are used to restrict users access from using the at service? What is the valid range of days of the week a job can be set to run in a crontab? On a linux server, where are the group definitions located? You are configuring groups on your linux server. You worry about password security. To improve security, what command can you use? How do you archive logs and perform maintenance automatically, according to the configuration found in / etc/syslog.conf? At which field inside the password file is a users home directory location specified? What command is used to deploy user password shadow? You need to modify a groups settings. What command is used? You need to modify a users account and dont want to configure the files manually. What utility should be used? What linux service is used to execute a job according to schedule once every afternoon? What utility could be used to remove a user account? How do you write entries to log files manually? What is the valid range of months a job can be set to run in a crontab? What file is used to determine execution time for recurring jobs? You want to cancel a scheduled one-time-only job. What command would you use? To improve security, the group passwords can be moved to what location? You need to add a new group to the system and dont want to edit the files manually. What command is used? What is the simplest command you could use to view the currently scheduled one-time-only jobs? You need to transfer a user from one group to another. What utility would you use? What utility is used to delete a group without editing files directly? Where are usernames stored?

Networking fundamentals

What is the most secure authentication method you may use with PPP? Where are the options for the PPP daemon located? What command is used to configure the settings of your NIC? What utility is used to send ICMP messages that will echo back? What are the valid authentication methods you may use with PPP? What daemon handles PPP in Linux? What protocol is used for automatically assigning IP configuration information to hosts? What is the most common method of connecting your linux box to the internet via dialup? What is used by the local host to determine which hosts are on the local subnet and which hosts are on remote networks? What command is used to add a default route using a gateway of 192.168.1.1? What protocol is used by ping? What file contains the port numbers used by given network services? You suspect that a gateway machine on your network has failed. What command will help you locate the problem? What is the PPP configuration file? What command is used to display the version of the pppd daemon youre using?

Networking services

To add an e-mail alias when configuring a new user account, what file must you edit? What account does Apache use for running on Linux? What is the name of the BIND v4 config file? What is the syntax for exporting the /etc/exports read-only for client Bob? What daemon is responsible for routing? What are the two methods by which server processes can be started? Where are undelivered mails for remote system stored? What command should you run after modifying the sendmail alias file? What is the name of the daemon that must be run to use samba? What are the configuration files for apache? After editing the /etc/aliases file and running newaliases, what must be done to activate the alias? What does it mean when an NFS share is set with no_root_squash? By default, who has access to run the cron daemon? For a low-to-moderate volume website, how many spare server processes are required? What type of DNS record is an alias of another record? What port is used by telnet? What are .in-addr.arpa DNS entries used for? What file contains a list of directories for an NFS daemon to serve to other systems? What port is used by IMAP? What port is used by POP3? Which directory by default contains the delivered mail for each user?

Security What security restrictions does the root account have placed on it? To disable telnet service on a system, which action would you take? What tool is used for supplying TCP/IP filters in kernel versions 2.2 and later?