1. You are tasked to build a new Linux
workstation. User wants to install a word processor and spreadsheets that
offers a similar version for Microsoft Windows system. Which office suite
should you install?
Ans:- You should use Apache
OpenOffice. Its free and open source project. And works fine on both Window and
Linux systems.
2. A technician uses the ps command to
see what processes are running. When the current running processes are shown,
he notices a process that he terminated 10 minutes ago by using the kill
command is still running. What command should he use next to terminate this
process?
Ans:- He should use -9 argument with
kill command that will send a kill signal to the process. This will terminate
the specific process immediately.
3. A technician quickly notices a
kernel error message on the screen during the boot process. Unfortunately, the
error message disappear so quickly for the technician to read it all. What log
directory can the technician use to examine boot-time messages?
Ans:- Linux system keeps almost all
log files under the /var/log directory. Most of the boot messages
are kept in
buffer, which can be accessed by using the dmesg command. He can examine the
/var/log/dmesg.log file. For boot time message he can also check the
/var/log/boot.log file.
4. A technician wants to view a list
of all running processes on the server. How can he do this?
Ans:- He should use the ps command
with -ef argument. ps -ef command will show a list of all running process.
5. Where inittab file is located?
Ans:- Default location of inittab file
is /etc directory. This file describes which process would be start at boot
time.
6. A technician want to boot the
system in CLI mode on start up. Which runlevel should he assign and in which
file ?
Ans:- He could assign runlevel 3 as
the default runlevel in /etc/inittab file.
7. What program a technician can use
to analyze program’s core dump files and to debug the application while it is
actually running?
Ans:- He can use gdb program to
analyze program’s core dump files and also debug the application while it is
actually running.
8. As a technician you want to
shutdown the Linux system. What command should you use?
Ans:- You could use shutdown command. shutdown -h now
9.
As a technician you need to perform a scheduled shutdown that will occur
in 10 minutes. What should you use to shut down the server in 10 minutes.?
Ans:- You can use -h argument with
shutdown command which allows you to specify the time in second. To shutdown
the system in 10 minute you should run shutdown -h 600 command.
10. What command will halt the system?
Ans:- halt will halt the system.
11. As a technician you need to
restart the Apache Web Server. What command should you use.?
Ans:- You could use following command
to restart the Apache web server.
#service httpd restart or /etc/init.d/httpd restart
12. Which command will restart the FTP
Server?
Ans:- #service vsftpd restart or /etc/init.d/vsftpd restart
Above command will restart the FTP
server.
13. What line printer control command
is used to control the operation of the line printer system?
Ans:- lpc command is used with various
argument to control the operations of line printer system.
14. A technician wants to terminate an
active spooling daemon on the local host immediately and then disables printing
for the specified printers. What command should he use?
Ans:- He should use lpc command with
abort options. lpc abort lpc abort terminates an active spooling daemon on the
local host immediately and then disables printing for the specified printers,
15. What print command stops a
spooling daemon after the current job completes and disables printing?
Ans:- The lpc stop command stops a
spooling daemon after the current job completes and disables printing
16. What command allows you to
directly see what jobs are currently in a printer queue?
Ans:- The lpc command allows you to
directly see what jobs are currently in a printer queue
17. A technician wants to halt the
Linux server. What command should he use ?
Ans:- He can use init 0 command to
halt the Linux server.
18. What line printer command lets you
remove print jobs from the printer queue?
Ans:- The lprm command will let you
remove print jobs from the printer queue.
19. What is the default text editor of
Linux which include almost every version of Linux?
Ans:- Default editor of Linux is vi
editor that can used to edit any ASCII text.
20. What command is used for combining
a large number of files into one single file for archival to tape?
Ans:- vi is a text editor that can be
used to edit any ASCII text. It is especially useful for editing programs.
21. Where do all your configurations
for your services, programs, and daemons reside by default?
By default, all configurations for
your services, programs, and daemons reside in the /etc directory.
22. What type of backup tape will only
back up files that have changed since the previous backup and clear the archive
bit?
Ans:- An Incremental backup will
backup only files that have changed since the previous backup and clear the
archive bit.
23. Which argument is used with tar
command to create a new archive file?
-c argument is used to create new
archive file.
24. Which argument is used with tar
command to extract the files from archive ?
Ans:-
x argument is used with tar command to extract the files form archive.
25. What is default name of super or
administrator account name in Linux?
Ans:- Super or administrator account
in Linux is known as root user.
No comments:
Post a Comment