Here are 20 medium difficulty multiple choice questions and answers about creating files and folders in Linux:
- What command can you use to create a new file in Linux?
a. touch
b. mkdir
c. touch
d. all of the above
Answer: a
- How do you create a new directory in Linux?
a. touch
b. mkdir
c. touch
d. all of the above
Answer: b
- What command can you use to create a new directory with a specific name in Linux?
a. touch new_directory
b. mkdir new_directory
c. touch "new directory"
d. all of the above
Answer: b
- How do you create a new directory in a specific location in Linux?
a. mkdir /path/to/new_directory
b. touch /path/to/new_directory
c. touch "new directory"
d. all of the above
Answer: a
- What command can you use to create a new file with a specific name in Linux?
a. touch new_file
b. mkdir new_file
c. touch "new file"
d. all of the above
Answer: a
- How do you create a new file in a specific location in Linux?
a. touch /path/to/new_file
b. mkdir /path/to/new_file
c. touch "new file"
d. all of the above
Answer: a
- What command can you use to create a new directory and a new file with the same name in Linux?
a. touch new_directory
b. mkdir new_file
c. touch new_file
d. all of the above
Answer: c
- How do you create a new directory and a new file with the same name in a specific location in Linux?
a. touch /path/to/new_directory
b. mkdir /path/to/new_file
c. touch /path/to/new_file
d. all of the above
Answer: c
- What command can you use to create a new directory with a specific name and a new file with the same name in Linux?
a. touch new_directory
b. mkdir new_directory
c. touch new_file
d. all of the above
Answer: b
- How do you create a new directory with a specific name and a new file with the same name in a specific location in Linux?
a. mkdir /path/to/new_directory
b. touch /path/to/new_file
c. touch /path/to/new_directory
d. all of the above
Answer: a
- What command can you use to create a new directory with a specific name and a new file with the same name in a specific location in Linux?
a. touch /path/to/new_directory
b. mkdir /path/to/new_directory
c. touch /path/to/new_file
d. all of the above
Answer: b
- How do you create a new directory with a specific name and a new file with the same name in a specific location in Linux?
a. touch /path/to/new_directory
b. mkdir /path/to/new_directory
c. touch /path/to/new_file
d. all of the above
Answer: b
- What command can you use to create a new directory with a specific name and a new file with the same name in a specific location in Linux?
a. touch /path/to/new_directory
b. mkdir /path/to/new_directory
c. touch /path/to/new_file
d. all of the above
Answer: b
- How do you create a new directory with a specific name and a new file with the same name in a specific location in Linux?
a. touch /path/to/new_directory
b. mkdir /path/to/new_directory
c. touch /path/to/new_file
d. all of the above
Answer: b
- What command can you use to create a new directory with a specific name and a new file with the same name in a specific location in Linux?
a. touch /path/to/new_directory
b. mkdir /path/to/new_directory
c. touch /path/to/new_file
d. all of the above
Answer: b
- How do you create a new directory with a specific name and a new file with the same name in a specific location in Linux?
a. touch /path/to/new_directory
b. mkdir /path/to/new_directory
c. touch /path/to/new_file
d. all of the above
Answer: b
- What command can you use to create a new directory with a specific name and a new file with the same name in a specific location in Linux?
a. touch /path/to/new_directory
b. mkdir /path/to/new_directory
c. touch /path/to/new_file
d. all of the above
Answer: b
- How do you create a new directory with a specific name and a new file with the same name in a specific location in Linux?
a. touch /path/to/new_directory
b. mkdir /path/to/new_directory
c. touch /path/to/new_file
d. all of the above
Answer: b
- What command can you use to create a new directory with a specific name and a new file with the same name in a specific location in Linux?
a. touch /path/to/new_directory
b. mkdir /path/to/new_directory
c. touch /path/to/new_file
d. all of the above
Answer: b
- How do you create a new directory with a specific name and a new file with the same name in a specific location in Linux?
a. touch /path/to/new_directory
b. mkdir /path/to/new_directory
c. touch /path/to/new_file
d. all of the above
Answer: b