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
21 questions
CompTIA Network+ Flashcard

Flashcard
•
University
15 questions
UD1_WINDOWS

Flashcard
•
University
18 questions
Guess the Stray Kids member

Flashcard
•
KG - Professional Dev...
15 questions
SeMi Company Knowledge Assessment

Flashcard
•
University
10 questions
Cuestionario de Bash

Flashcard
•
University - Professi...
15 questions
Java String and Array

Flashcard
•
Professional Development
20 questions
Explorando Bandlab para la Creación Musical

Flashcard
•
12th Grade
23 questions
STUDY: FRENCH REVOLUTION

Flashcard
•
KG - 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