Placement papers on Linux - Set 2

Placement papers on Linux - Set 2


1. How to accomplish the LILO boot configuration updation for supporting a newly installed IDE hard drive?

Run "lilo -o /dev/hda"
Edit lilo.conf and run "lilo -v -v"
Edit lilo.conf and run "liloconf -v -v"
Set LILO=/dev/hda and then run "liloconf /dev/hda"
View Answer / Hide Answer

ANSWER: Edit lilo.conf and run "lilo -v -v"




2. cd home to get back to your home-directory?

True
False
View Answer / Hide Answer

ANSWER: False




3. Which command is used to clear the screen?

% clear
clear
% clrscr
either a or c
View Answer / Hide Answer

ANSWER: % clear




4. The head command writes the first _____________ lines of a file to the screen.

five
Twenty
ten
fifteen
View Answer / Hide Answer

ANSWER: ten




5. A process can run only in the background

True
False
View Answer / Hide Answer

ANSWER: False




6. Which command reduces the size of a file?

pzip
gcat
pgcat
gzip
View Answer / Hide Answer

ANSWER: gzip




7. Find command can search for files by

date
size
name
all of above
View Answer / Hide Answer

ANSWER: all of above




8. The basic function of ______________ is to search files for lines (or other units of text) that contain a pattern.

awk
search
%awk
cat
View Answer / Hide Answer

ANSWER: awk


Post your comment