
Linux Navigation and File Paths

Quiz
•
Computers
•
11th Grade
•
Medium
Nikki Sullivan
Used 7+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to display the current directory in Linux?
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 Wayground
10 questions
Sistem Informasi

Quiz
•
9th - 12th Grade
15 questions
ASJ

Quiz
•
11th Grade
15 questions
FMT web developing session 4 HTML5 + CSS3

Quiz
•
KG - Professional Dev...
15 questions
9. osztály bővített

Quiz
•
9th Grade - University
10 questions
Windows and Linux Test - November 1

Quiz
•
11th Grade
10 questions
ASJ 12 - LINUX FTP SERVER

Quiz
•
11th - 12th Grade
15 questions
SIMDIG BAB 1

Quiz
•
9th - 12th Grade
15 questions
Tugas INFORMATIKA

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade