What command is used to list files and directories in Linux?
Linux Command Line Basics

Flashcard
•
Computers
•
University
•
Medium
Quizizz Content
Used 2+ times
FREE Resource
Student preview

26 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
ls
Answer explanation
2.
FLASHCARD QUESTION
Front
Which command prints the current working directory? Options: ls, pwd, cd, mv, rm
Back
pwd
Answer explanation
3.
FLASHCARD QUESTION
Front
How do you change to the root directory using the command line?
Back
cd /
Answer explanation
4.
FLASHCARD QUESTION
Front
What is the purpose of the man command?
Back
To view manual pages of commands
Answer explanation
5.
FLASHCARD QUESTION
Front
Which command is used to create a new directory? Options: mkdir, touch, rm, nano, ls
Back
mkdir
Answer explanation
6.
FLASHCARD QUESTION
Front
How do you move a file named file1.txt to a directory named docs?
Back
mv file1.txt docs/
Answer explanation
7.
FLASHCARD QUESTION
Front
What command is used to delete a file? Options: rm, mv, cp, ls, pwd
Back
rm
Answer explanation
Create a free account and access millions of resources
Similar Resources on Quizizz
19 questions
The Journey of Linux and Open Source

Flashcard
•
KG - University
14 questions
CE-SOL1 Sistema Operacional Linux

Flashcard
•
KG - University
19 questions
IT340 CHAPTER 1

Flashcard
•
University
18 questions
APCSA Unit 2 Review

Flashcard
•
Professional Development
20 questions
BENUA AMERIKA

Flashcard
•
12th Grade
20 questions
Operating System

Flashcard
•
KG - University
18 questions
7. Linux_chmod_2

Flashcard
•
11th Grade - University
18 questions
twoo

Flashcard
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade