Learning Linux Through McQ's(Day-4)

Learning Linux Through McQ's(Day-4)

31. What command is used to view the contents of a compressed file without extracting it?

??a) unzip

??b) unrar

??c) tar

??d) zcat


32. How do you add a user to a group in Linux?

??a) addgroup

??b) useradd

??c) usermod

??d) groupadd


33. What command is used to display real-time system resource usage in Linux?

??a) top

??b) ps

??c) free

??d) vmstat


34. How do you redirect the standard output of a command to a file in Linux?

??a) >

??b) |

??c) <<

??d) <


35. What command is used to find and replace text in multiple files in Linux?

??a) grep

??b) find

??c) sed

??d) awk


36. How do you check the available disk space on a Linux system?

??a) df

??b) du

??c) diskutil

??d) fspace


37. What command is used to start a stopped or background process in Linux?

??a) bg

??b) stop

??c) continue

??d) fg


38. How do you set up a static IP address in Linux?

??a) ifup

??b) dhcpd

??c) ifconfig

??d) ip addr


39. What command is used to display the manual pages for a specific command in Linux?

??a) info

??b) man

??c) help

??d) doc


40. How do you find the process ID (PID) of a running program in Linux?

??a) pid

??b) ps -a

??c) pgrep

??d) top

Mesut Oezdil

Dev(Sec)Ops Engineer ? Mentoring

1 年

Great initiative, Gauri! Your Linux McQ Day-4 challenge is a fantastic way to revise and learn about Linux. I appreciate the effort you're putting into it.

回复
Hari Krishna E

Linux Beginner?? | AWS Enthusiastic ?? | Ex Teleperformance | Ex Cogent E Services | Ex OLA | Ex UBER | Ex Mc Donalds

1 年

Thanks for sharing

回复
Vikash Kumar Yadav

Building something cool ?? | Web3 Dev @Conflux Network, Dev Ambassador @Blockscout , MorphL2, @Router Protocol | Github Campus Expert

1 年

Thanks for sharing!!

回复
Diwakar Selvam

DevOps Engineer @ HCL Software | Azure Devops |5x Azure Certified | 3x Google Certified | 1x AWS Certified

1 年

31-(a)unzip 32-(c)usermod 33-(a)top 34-(a)> 35-(c)sed 36-(b)du 37-(a)bg 38-(d)ip addr 39-(b)man 40-(b)ps-a

回复

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

Gauri Yadav的更多文章

社区洞察

其他会员也浏览了