Linux Fundamentals - Creating and Removing Directories and Files

Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to create a new directory?
cd
rm
ls
mkdir
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What option should be used with 'mkdir' to create parent directories if they do not exist?
-r
-p
-d
-f
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to remove a directory and its contents?
delete
rm -r
rmdir
rm
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the '-r' option in the 'rm' command do?
Renames files
Removes files only
Removes directories only
Recursively removes directories and files
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command can be used to create an empty file?
echo
touch
cat
mkdir
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you view the contents of a file?
echo
ls
cat
touch
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to write 'Hello World' into a file?
echo 'Hello World' > file.txt
touch file.txt
ls > file.txt
cat file.txt
Similar Resources on Wayground
6 questions
The Complete Practical Docker Guide - Introduction to Files and Directories Management

Interactive video
•
University
8 questions
Linux Crash Course for Beginners - 2023 - Creating Files and Directories

Interactive video
•
University
6 questions
Linux Crash Course for Beginners - 2023 - Directory Listing Overview

Interactive video
•
University
8 questions
Practical Cyber Hacking Skills for Beginners - Linux Commands

Interactive video
•
University
8 questions
AWS, JavaScript, React - Deploy Web Apps on the Cloud - Linux Directory Commands (Part 2)

Interactive video
•
University
4 questions
Linux Fundamentals - Creating and Removing Directories and Files

Interactive video
•
University
6 questions
Practical Linux Command Line 2.0 - Create and Manage Directories (mkdir, rm -rf, ls -R, cp, mv)

Interactive video
•
University
8 questions
The Complete Practical Docker Guide - Creating and Removing Directories and Files

Interactive video
•
University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
12 questions
Civil War

Quiz
•
8th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
19 questions
Primary v. Secondary Sources

Quiz
•
6th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
20 questions
Disney Trivia

Quiz
•
University