Linux Navigation and File Paths

Linux Navigation and File Paths

11th Grade

13 Qs

quiz-placeholder

Similar activities

Windows and Linux Test - November 1

Windows and Linux Test - November 1

11th Grade

10 Qs

3.1.1 Commanding the OS

3.1.1 Commanding the OS

9th - 12th Grade

12 Qs

SIMDIG BAB 1

SIMDIG BAB 1

9th - 12th Grade

15 Qs

Chapter 3 Exploring Linux Filesystems

Chapter 3 Exploring Linux Filesystems

11th Grade - University

10 Qs

linux user and group dfn30053

linux user and group dfn30053

1st Grade - University

10 Qs

RedHat Linux Week 7 Review

RedHat Linux Week 7 Review

9th - 12th Grade

12 Qs

Quiz Sistem Operasi Jaringan | ASJ Kelas XI TKJ

Quiz Sistem Operasi Jaringan | ASJ Kelas XI TKJ

11th Grade

15 Qs

Linux CLI

Linux CLI

9th - 12th Grade

16 Qs

Linux Navigation and File Paths

Linux Navigation and File Paths

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Nikki Sullivan

Used 6+ 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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?