Question 1 |
Which ones are modes of vi editor? (Select three)
monitor mode | |
insert mode | |
command mode
| |
owner mode | |
ex mode |
Question 2 |
How can we schedule a task in Linux? (Select Two)
calender | |
set | |
cron | |
at | |
sch |
Question 3 |
How can we open file abc.txt in read-only mode using vim editor?
none of them | |
show -r abc.txt | |
vi -R abc.txt | |
vim -R abc.txt | |
exc -r abc.txt |
Question 4 |
How do you refer to the parallel port that our printer is connected?
/sys/dvc | |
/device/usb | |
/usr/local | |
/dev/lp | |
none of them |
Question 5 |
Which one is used to see how much memory is being used? (Select Three)
top | |
chmod | |
ethtools | |
vmstat | |
free |
Question 6 |
Which one saves current work and exist in vi editor?
:wq! | |
:wq | |
:q! | |
:q | |
:w! |
Question 7 |
Which command do we use, to look at the content of compressed file, abc.z?
zip abc.z | |
cat abc.z | |
none of them | |
vi abc.z | |
zcat abc.z |
Question 8 |
What are the filenames that are preceded by a dot?
Draft Files | |
Run Files | |
Critical Files | |
Hidden Files | |
System Files |
Question 9 |
Comments are created by typing the ... symbol before the actual command.
& | |
* | |
# | |
- | |
/ |
Question 10 |
How to identify which shell you are using in Linux?
echo $SHELL | |
pwd $SHELL | |
cat $SHELL | |
show $SHELL | |
vi $SHELL |
Question 11 |
To terminate all processes, we use ... in Linux.
stop 0 | |
end 0 | |
terminate 0 | |
kill 0 | |
dead 0 |
Question 12 |
Which Linux command combines ping and track path into a single command?
mtr | |
traceroute | |
pintrc | |
traceping | |
ping |
Question 13 |
What is the appreviation command for print working directory?
pow | |
dir | |
pwd | |
prt | |
print |
Question 14 |
Which one gives read, write, and execute to owner while read to group and everyone?
744 | |
655 | |
754 | |
755 | |
544 |
Question 15 |
With which command can you change permissions in Linux?
chmod
| |
dstat | |
du | |
pwd | |
mkdir |
Question 16 |
How do you check how much space left in current drive ?
ls | |
df | |
ds | |
w |
Question 17 |
Which regular expression used in Linux is False?
none of them | |
? - Match exactly one more characters | |
* - Match zero or more characters | |
^ - Match the beginning of the String | |
$ - Match the end of the String |
Question 18 |
Swap Space | |
Buffer Space | |
System Space | |
RAM Space | |
Idle Space |
Question 19 |
Which one is the permission number used for r – x?
7 | |
4 | |
3 | |
5 | |
1 |
Question 20 |
Which system call is used to create a new process?
run() | |
wait() | |
fork() | |
exec() | |
exit() |