Day-5 Learning Linux Through McQ's
Part-5

Packaged App Development Associate @ Accenture | Infrastructure Engineering | Exploring Cloud & Security
41. How do you create a compressed tar archive in Linux?
a) gzip
b) zip
c) tar
d) compress
42. What command is used to change the ownership and group of a file or directory in Linux?
a) chown
b) chmod
c) chgrp
d) own
43. How do you monitor system performance in real-time using the command line in Linux?
a) top
b) vmstat
c) sar
d) perf
44. What command is used to create a backup of a file or directory in Linux?
a) cp
b) backup
c) tar
d) zip
45. How do you set up a firewall in Linux?
a) iptables
b) ufw
c) firewall-cmd
d) firewalls
46. What command is used to display the contents of a compressed file in Linux?
a) zcat
b) gunzip
c) unzip
d) tar
47. How do you monitor disk usage and free space in Linux?
a) df
b) du
c) ls
d) disk
48. What command is used to display active network connections in Linux?
a) netstat
b) ifconfig
c) ip
d) ping
49. How do you create a new user account in Linux?
a) useradd
b) passwd
c) usermod
d) adduser
50. What command is used to view and modify environment variables in Linux?
a) env
b) set
c) export
d) source
To read more such Linux MCQ Questions see next Part-6
Thanks For Reading




