What command is used to change directories in Linux?

Mastering Linux Commands

Quiz
•
Computers
•
12th Grade
•
Medium
Leyla Zeynallı-Hüseynzadə
Used 7+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
pwd
cd
mv
ls
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you remove a file in Linux?
Use the command 'delete filename' to remove a file in Linux.
Type 'remove filename' in the terminal to delete a file.
Execute 'erase filename' to get rid of a file in Linux.
Use the command 'rm filename' to remove a file in Linux.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to create a new empty file?
create
mkdir
newfile
touch
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'mv' command?
To compress files and directories.
To delete files and directories.
To move or rename files and directories.
To copy files and directories.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you view and edit a file in the terminal?
Use 'cat', 'less', or 'more' to view a file; use 'nano', 'vim', or 'emacs' to edit a file.
Use 'show' to view a file; use 'modify' to edit a file.
Use 'open' to view a file; use 'write' to edit a file.
Use 'print' to view a file; use 'edit' to edit a file.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command would you use to copy a file from one location to another?
mv source_file destination_path (Unix/Linux)
transfer source_file destination_path (Unix/Linux)
cp source_file destination_path (Unix/Linux) or copy source_file destination_path (Windows)
rename source_file destination_path (Windows)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you navigate to the parent directory in Linux?
cd .
cd /
cd ~
cd ..
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
The Windows Command Line Interface

Quiz
•
11th - 12th Grade
10 questions
Python Basic files

Quiz
•
10th - 12th Grade
20 questions
Round-1 Technical Aptitude

Quiz
•
11th Grade - Professi...
18 questions
Comandos y privilegios de linux

Quiz
•
12th Grade
10 questions
File Handling

Quiz
•
12th Grade
14 questions
DOS commands

Quiz
•
12th Grade
14 questions
Linux 1 -- Commands -- Chapter 1 & 2

Quiz
•
12th Grade
20 questions
POCS-Ch. 4 Review (Comprehension)

Quiz
•
7th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University