Sure, here are 20 medium difficulty level multiple choice questions and answers about creating files and folders in Linux:
- How do you create a new directory in Linux?
a. Use the "mkdir" command
b. Use the "touch" command
c. Use the "cd" command
d. Use the "ls" command
Answer: a. Use the "mkdir" command
- How do you create a new file in Linux?
a. Use the "touch" command
b. Use the "mkdir" command
c. Use the "cd" command
d. Use the "ls" command
Answer: a. Use the "touch" command
- How do you rename a file or directory in Linux?
a. Use the "mv" command
b. Use the "cp" command
c. Use the "rm" command
d. Use the "ls" command
Answer: a. Use the "mv" command
- How do you copy a file or directory in Linux?
a. Use the "cp" command
b. Use the "mv" command
c. Use the "rm" command
d. Use the "ls" command
Answer: a. Use the "cp" command
- How do you delete a file or directory in Linux?
a. Use the "rm" command
b. Use the "cp" command
c. Use the "mv" command
d. Use the "ls" command
Answer: a. Use the "rm" command
- How do you change the permissions of a file or directory in Linux?
a. Use the "chmod" command
b. Use the "cp" command
c. Use the "mv" command
d. Use the "ls" command
Answer: a. Use the "chmod" command
- How do you make a file executable in Linux?
a. Use the "chmod +x" command
b. Use the "cp" command
c. Use the "mv" command
d. Use the "ls" command
Answer: a. Use the "chmod +x" command
- How do you list the contents of a directory in Linux?
a. Use the "ls" command
b. Use the "cp" command
c. Use the "mv" command
d. Use the "chmod" command
Answer: a. Use the "ls" command
- How do you navigate to a different directory in Linux?
a. Use the "cd" command
b. Use the "cp" command
c. Use the "mv" command
d. Use the "ls" command
Answer: a. Use the "cd" command
- How do you create a new file with a specific name in Linux?
a. Use the "touch" command
b. Use the "cp" command
c. Use the "mv" command
d. Use the "ls" command
Answer: a. Use the "touch" command
- How do you create a new directory with a specific name in Linux?
a. Use the "mkdir" command
b. Use the "cp" command
c. Use the "mv" command
d. Use the "ls" command
Answer: a. Use the "mkdir" command
- How do you move a file or directory to a different location in Linux?
a. Use the "mv" command
b. Use the "cp" command
c. Use the "rm" command
d. Use the "ls" command
Answer: a. Use the "mv" command
- How do you copy a file or directory in Linux?
a. Use the "cp" command
b. Use the "mv" command
c. Use the "rm" command
d. Use the "ls" command
Answer: a. Use the "cp" command
- How do you delete a file or directory in Linux?
a. Use the "rm" command
b. Use the "cp" command
c. Use the "mv" command
d. Use the "ls" command
Answer: a. Use the "rm" command
- How do you change the permissions of a file or directory in Linux?
a. Use the "chmod" command
b. Use the "cp" command
c. Use the "mv" command
d. Use the "ls" command
Answer: a. Use the "chmod" command
- How do you make a file executable in Linux?
a. Use the "chmod +x" command
b. Use the "cp" command
c. Use the "mv" command
d. Use the "ls" command
Answer: a. Use the "chmod +x" command
- How do you list the contents of a directory in Linux?
a. Use the "ls" command
b. Use the "cp" command
c. Use the "mv" command
d. Use the "chmod" command
Answer: a. Use the "ls" command
- How do you navigate to a different directory in Linux?
a. Use the "cd" command
b. Use the "cp" command
c. Use the "mv" command
d. Use the "ls" command
Answer: a. Use the "cd" command
- How do you create a new file with a specific name in Linux?
a. Use the "touch" command
b. Use the "cp" command
c. Use the "mv" command
d. Use the "ls" command
Answer: a. Use the "touch" command
- How do you create a new directory with a specific name in Linux?
a. Use the "mkdir" command
b. Use the "cp" command
c. Use the "mv" command
d. Use the "ls" command
Answer: a. Use the "mkdir" command