Question 1 |
Which LINUX command used for simple DNS lookup?
curl | |
dir | |
dstat | |
dig |
Question 2 |
With which command can we display first 10 lines of file abc?
ls abc | |
touch abc | |
tail abc | |
head abc |
Question 3 |
Which Linux command compresses abc file using gzip?
pwd gzip abc | |
gzip abc | |
tail abc | |
df abc |
Question 4 |
Which ls option provide comma-separated output in Linux?
-a | |
-c | |
-m | |
-s |
Question 5 |
Which Linux command is used for packet analyze?
tracepath | |
tshark | |
dig | |
gzip |
Question 6 |
How to find the location of abc quickly in Linux?
locate abc | |
move abc | |
find abc | |
grep abc |
Question 7 |
In Linux, .... command brings job x to the foreground.
bg x | |
fg x | |
df x | |
ss x |
Question 8 |
How to delete user Angela in Linux?
del Angela | |
userdel Angela | |
remove Angela | |
move Angela |
Question 9 |
Which Linux command kills all processes named abc?
killall abc | |
kill abc | |
pkill abc | |
killall |
Question 10 |
How to encrypts file abc in Linux?
touch abc | |
tail abc | |
gpg -c abc | |
encry -o abc |
Question 11 |
Which Linux Command shows who you are logged in as?
who | |
df | |
whoami | |
pwd |
Question 12 |
How to create group xyz in Linux?
touch xyz | |
groupadd xyz | |
create xyz | |
grp xyz |
Question 13 |
In Linux, .... command shows free and used space on mounted file systems.
ls -a | |
df -h | |
free | |
bg |
Question 14 |
Which Linux command is used for secure connection?
iptables | |
ss | |
ssh | |
ethtools |
Question 15 |
... command displays messages in kernel ring buffer in Linux.
bufmes | |
displaymsg | |
dmesg | |
showmsg |
Question 16 |
With which Linux command, can we upload file ‘abc’ from local to remote device?
get abc | |
head abc | |
put abc | |
up abc |
Question 17 |
With which linux command can we view file abc?
cat abc | |
view abc | |
display abc | |
ls abc |
Question 18 |
Which Linux command shows files in the current directory?
dir | |
ss | |
rm | |
df |
Question 19 |
Which Linux command displays ethernet activity and Ethernet/ip pairings?
ethtool | |
arpwatch | |
interface | |
filters |
Question 20 |
Which Linux command is used for path tracking?
tracepath | |
ethtools | |
iptables | |
ping |