Linux Navigation and File Paths

Linux Navigation and File Paths

11th Grade

13 Qs

quiz-placeholder

Similar activities

Basic Linux Commands Practice

Basic Linux Commands Practice

11th Grade

15 Qs

The Windows Command Line Interface

The Windows Command Line Interface

11th - 12th Grade

10 Qs

Konfigurasi Linux Debian #1

Konfigurasi Linux Debian #1

11th Grade

15 Qs

computer fundamental

computer fundamental

9th - 12th Grade

11 Qs

Linux M1

Linux M1

9th - 12th Grade

10 Qs

Terminal Basics

Terminal Basics

9th Grade - University

11 Qs

perintah dasar linux 1

perintah dasar linux 1

11th Grade

10 Qs

DOS COMMANDS

DOS COMMANDS

11th Grade

10 Qs

Linux Navigation and File Paths

Linux Navigation and File Paths

Assessment

Quiz

Computers

11th Grade

Medium

Created by

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

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?