What command is used to list files in a directory?

Basic Linux Commands for Beginners

Quiz
•
Information Technology (IT)
•
6th Grade
•
Medium
Prayag Koirala
Used 3+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ls
dir
show
list
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you change the current directory in Linux?
Use the 'cd' command followed by the directory path.
Execute 'dir' to list and change directories.
Type 'change dir' followed by the path.
Use the 'mv' command to move directories.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command shows the present working directory?
mkdir
pwd
cd
ls
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command would you use to create a new directory?
del
rmdir
mkdir
remove
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you remove an empty directory in Linux?
Run 'delete
Use the command 'rm
Use the command 'rmdir
Execute 'rmdir -r
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command displays the contents of a file?
cat
display
show
list
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create an empty file in Linux?
create filename.txt
new file filename.txt
touch filename.txt
emptyfile -create
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Quiz Microsoft PowerPoint

Quiz
•
5th Grade - University
18 questions
Python 6 сынып

Quiz
•
6th Grade
13 questions
IGCSE ICT Software and Hardware

Quiz
•
6th - 8th Grade
15 questions
Microsoft Word

Quiz
•
4th Grade - University
17 questions
Quiz Instance Store dan Amazon Elastic Block Store (Amazon EBS)

Quiz
•
1st Grade - University
20 questions
Quiz Roblox Studio 2

Quiz
•
4th Grade - University
20 questions
HỘI THI TIN HỌC TRẺ TRƯỜNG TH DỊCH VỌNG B

Quiz
•
6th - 8th Grade
15 questions
Table,Image formatting

Quiz
•
5th 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
Discover more resources for Information Technology (IT)
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
49 questions
How Well Do You Know Your 6th Grade Teachers?

Quiz
•
6th Grade
5 questions
Multiply Decimals

Lesson
•
5th - 6th Grade
10 questions
Adding and Subtracting Decimals

Quiz
•
6th Grade
33 questions
Mechanical Energy Transfer

Quiz
•
6th Grade