21. What command is used to display the current date and time in Linux?
a) time
b) date
c) clock
d) now
22. How do you recursively copy a directory and its contents in Linux?
a) mv
b) cp
c) mkdir
d) rm
23. What command is used to search for a specific string within files in Linux?
a) grep
b) find
c) locate
d) search
24. How do you create a symbolic link in Linux?
a) symlink
b) link
c) ln
d) mklink
25. What command is used to display the running processes in Linux?
a) top
b) ps
c) status
d) proc
26. How do you archive and compress files using tar and gzip in a single command?
a) zip
b) gzip
c) tar.gz
d) tar -zcvf
27. What command is used to display the network configuration in Linux?
a) ifconfig
b) netstat
c) ipconfig
d) network
28. How do you recursively delete a directory and its contents in Linux?
a) rmdir
b) rm
c) del
d) erase
29. What command is used to change the permissions of a file or directory in Linux?
a) chmod
b) chown
c) chgrp
d) perm
30. How do you check the system hardware information in Linux?
a) sysinfo
b) lshw
c) hardware
d) hinfo
To read more such Linux MCQ Questions see next Part-4
Thanks For Reading