Learning Linux Through McQ's(Day-5)

Learning Linux Through McQ's(Day-5)

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) firewalld


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

Vishweshwaran M J

Senior DevOps Engineer ? AWS ? Docker ? Kubernetes ? Ansible ? Python ? Terraform Certified ?

1 年

41-c, 42-a, 43-a, 44-c, 45-a, 46-a, 47-a, 48-a, 49-a,d, 50-b

回复
Mesut Oezdil

Dev(Sec)Ops Engineer ? Mentoring

1 年

Keep sharing your knowledge and insights - they are valuable for everyone in the field. Congratulations on your accomplishments and keep inspiring others!

回复
Mohamed El Eraki

Cloud & DevOps Engineer @Deloitte Innovation Hub

1 年

Thanks for sharing Gauri Yadav

回复

要查看或添加评论,请登录

Gauri Yadav的更多文章

社区洞察

其他会员也浏览了