What command is used to display the current directory in Linux?

Linux Navigation and File Paths

Quiz
•
Computers
•
11th Grade
•
Medium
Nikki Sullivan
Used 6+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
dir
ls
cd
pwd
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the Linux file system hierarchy, what does the / (root) directory represent?
Base folder
Top-level directory
Main directory
Primary folder
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between a relative path and an absolute path in Linux?
A relative path is relative to the current working directory, while an absolute path starts from the root directory (/) of the file system.
A relative path can only be used for directories, while an absolute path is used for files
An absolute path is always shorter than a relative path in Linux
A relative path starts from the root directory (/) of the file system, while an absolute path is relative to the current working directory
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you navigate to the parent directory in Linux?
cd .
cd ..
cd /
cd ~
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to create a new file in Linux?
touch
create
newfile
make
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you delete a file named 'example.txt' in Linux?
delete example.txt
rm example.txt
rm -rf example.txt
remove example.txt
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the command to list all files and directories in a directory in Linux?
ls -a
cd /
ls -r
dir -l
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
ASJ 12 - LINUX FTP SERVER

Quiz
•
11th - 12th Grade
10 questions
Windows and Linux Test - November 1

Quiz
•
11th Grade
15 questions
SIMDIG BAB 1

Quiz
•
9th - 12th Grade
12 questions
RedHat Linux Week 7 Review

Quiz
•
9th - 12th Grade
15 questions
Quiz Sistem Operasi Jaringan | ASJ Kelas XI TKJ

Quiz
•
11th Grade
12 questions
Linux Chapter 3 Review

Quiz
•
9th - 12th Grade
16 questions
Linux komendy polecenia podstawy

Quiz
•
8th - 12th Grade
15 questions
La shell di Linux

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