Answer: In Linux, the primary command used to list directory contents is ls. However, the dir command can also be used to achieve similar results.
Answer: In Linux, the primary command used to list directory contents is ls. However, the dir command can also be used to achieve similar results.
You want to log in to an SMB share. Which of the following commands shows correct syntax for doing so?
a) mount -o username=sambauser1 //server/share /somewhere
b) mount -o uname=sambauser1 //server/share /somewhere
c) mount sambauser1@//server/share /somewhere
d) mount -o username=sambauser1@//server/share /somewhere
#Linux #quiz #rhel #redhat #ex200 #gnulinux #rhcsa #LinuxQuiz #sysadmin #smb #cifs #samba #mount
How do you create a #cron job for a specific user?
a) Log in as that user and type crontab -e to open the cron editor.
b) Open the crontab file in the user home directory and add what you want to add.
c) As root, type crontab -e username.
d) As root, type crontab -u username -e.
#Linux #quiz #crontab #rhel #redhat #ex200 #gnulinux #rhcsa #LinuxQuiz