Search Header Logo

Quiz 1 | Information Security | Kali Linux Commands

Authored by Muhammad Talha

Information Technology (IT)

University

Used 20+ times

Quiz 1 | Information Security | Kali Linux Commands
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You need to list all the files and directories in your current directory, including hidden ones. Which command would you use?

ls -a

ls -l

ls -R

ls -1

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You’re working on a project, and you need to create a new folder named "Project". Which command will you use to create it?

mkdir -p Project

mkdir Project

touch Project

mkdir -v Project

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You want to move to your home directory using the terminal. Which command would you use?

cd ~

cd /home/user

cd -

cd ..

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

After creating a new file using touch, you want to add some content into it while preserving content. Which command do you use?

echo "Some text" > filename.txt

cat filename.txt

nano filename.txt

All of these

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which command will you use to display the current working directory in the terminal?

sudo

pwd

ls

ls ./

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You are in the /home/user/Documents directory and want to go up one level above. In which directory you will be?

/home/user

/home/

~

~/home

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You’ve just created a .txt file named notes.txt and now want to rename it to tasks.txt. What command do you use?

mv notes.txt /tasks.txt

rename notes.txt tasks.txt

mv notes.txt tasks.txt

cp notes.txt tasks.txt

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?