What command is used to list files in a directory?
Linux Basics for Beginners

Quiz
•
Information Technology (IT)
•
University
•
Medium
Muhammad Harun
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
show
ls
list
dir
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you change directories in Linux?
Use the 'ls' command to navigate to a different directory.
Type 'cd' without any arguments to change directories.
Use the 'cd' command followed by the directory path.
Use the 'mv' command to change directories.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What command is used to display the current working directory?
ls
pwd
cd
mkdir
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which command is used to create a new directory?
del
remove
mkdir
rmdir
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you remove a file in Linux?
Execute 'erase filename' to get rid of a file in Linux.
Use the command 'delete filename' to remove a file in Linux.
Use the command 'rm filename' to remove a file in Linux.
Type 'remove filename' in the terminal to delete a file.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What command would you use to copy a file?
mv source_file destination_file
cp source_file destination_file
rm source_file destination_file
touch source_file destination_file
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you move a file from one location to another?
Use the 'cp' command to copy the file instead.
Drag and drop the file in the file explorer.
Rename the file to move it to a new location.
Use the 'mv' command followed by the source and destination paths.
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
G4-Microprocessors and Their Uses

Quiz
•
4th Grade - University
15 questions
The Linux Vault

Quiz
•
University
18 questions
Windows Server Installation with DHCP, DNS, and AD

Quiz
•
University
12 questions
4. Polecenia związane z użytkownikami i grupami

Quiz
•
11th Grade - University
12 questions
CLC Unit 2 Lesson 11,12 and 13 Quiz

Quiz
•
University
10 questions
ICT315

Quiz
•
University
20 questions
Quiz 1

Quiz
•
University
10 questions
Parts of a Computer: Operating System Functions

Quiz
•
9th Grade - University
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