Day-1 Learning Linux Through McQ's

Packaged App Development Associate @ Accenture | Infrastructure Engineering | Exploring Cloud & Security
1. What is the command to list files and directories in Linux?
a) ls
b) cd
c) pwd
d) cp
2. How do you change the directory in the command line?
a) cd
b) ls
c) mkdir
d) touch
3. What command is used to create a new directory in Linux?
a) ls
b) rm
c) mv
d) mkdir
4. How do you copy a file in Linux?
a) rm
b) mv
c) cp
d) touch
5. What command is used to remove a file in Linux?
a) cp
b) touch
c) mv
d) rm
6. How do you check the current working directory in Linux?
a) cd
b) pwd
c) ls
d) mkdir
7. What is the command to display the contents of a file in the terminal?
a) ls
b) cp
c) touch
d) cat
8. How do you rename a file in Linux?
a) rm
b) mv
c) cp
d) mkdir
9. What command is used to search for files and directories in Linux?
a) find
b) cp
c) touch
d) rm
10. How do you change file permissions in Linux?
a) chmod
b) chown
c) chdir
d) rm
To read more such Linux MCQ Questions see next Part-2
Thanks For Reading




