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