Directories

Directories

Professional Development

15 Qs

quiz-placeholder

Similar activities

Server I Week 2

Server I Week 2

Professional Development

15 Qs

Python pathlib module

Python pathlib module

Professional Development

11 Qs

edX Vanderbilt - Day 1 Review

edX Vanderbilt - Day 1 Review

Professional Development

10 Qs

Linux

Linux

Professional Development

10 Qs

Introduction to Linux

Introduction to Linux

Professional Development

15 Qs

Linux Basics

Linux Basics

Professional Development

16 Qs

Kali Linux

Kali Linux

Professional Development

15 Qs

Linux+ LX0-103 Quiz B

Linux+ LX0-103 Quiz B

Professional Development

10 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?