Directories

Directories

Professional Development

15 Qs

quiz-placeholder

Similar activities

Kali Linux Quiz 2

Kali Linux Quiz 2

Professional Development

10 Qs

FMT web developing session 4 HTML5 + CSS3

FMT web developing session 4 HTML5 + CSS3

KG - Professional Development

15 Qs

Final Quiz

Final Quiz

Professional Development

10 Qs

batch1-nri-quiz-aws-efs

batch1-nri-quiz-aws-efs

Professional Development

15 Qs

Quiz 1 Microsoft Word

Quiz 1 Microsoft Word

University - Professional Development

11 Qs

Coding & Logic - Lesson 1

Coding & Logic - Lesson 1

Professional Development

15 Qs

Introduction to Cybersecurity + linux

Introduction to Cybersecurity + linux

Professional Development

16 Qs

ITF - Quiz 9.5 - DNS and URLs

ITF - Quiz 9.5 - DNS and URLs

Professional Development

15 Qs

Directories

Directories

Assessment

Quiz

Computers

Professional Development

Easy

Created by

Angel Martinez

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to display the current working directory in a shell?
A) cd
B) ls
C) pwd
D) mkdir

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary function of the cd command in a shell?
To change the current working directory
To create a new directory
To copy files and directories

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command would you use to create a new directory in a shell?
cp
mv
rmdir
mkdir

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True / False: Using the ls command will list all files and directories in the current working directory.
True
False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the rm command do in a shell environment?
Deletes files and directories
Deletes empty directories
Copies files and directories
Moves files and directories

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command would you use to view only the first few lines of a file?

tail

cat

head

less

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To create a new directory in the current location, you would use the ________ command followed by the desired directory name.
cd
ls
pwd
mkdir

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?