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