Mastering Linux Commands

Mastering Linux Commands

12th Grade

15 Qs

quiz-placeholder

Similar activities

The Windows Command Line Interface

The Windows Command Line Interface

11th - 12th Grade

10 Qs

Python Basic files

Python Basic files

10th - 12th Grade

10 Qs

RedHat Academy 8.3

RedHat Academy 8.3

10th Grade - University

15 Qs

File Handling-1

File Handling-1

12th Grade

10 Qs

Round-1 Technical Aptitude

Round-1 Technical Aptitude

11th Grade - Professional Development

20 Qs

ASJ 12 TKJ - PERINTAH DASAR LINUX

ASJ 12 TKJ - PERINTAH DASAR LINUX

12th Grade

10 Qs

Linux Directory Structures

Linux Directory Structures

10th Grade - University

20 Qs

U01 - Command Line & Binary/Decimal Test

U01 - Command Line & Binary/Decimal Test

9th - 12th Grade

20 Qs

Mastering Linux Commands

Mastering Linux Commands

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Leyla Zeynallı-Hüseynzadə

Used 7+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to change directories in Linux?

pwd

cd

mv

ls

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you remove a file in Linux?

Use the command 'delete filename' to remove a file in Linux.

Type 'remove filename' in the terminal to delete a file.

Execute 'erase filename' to get rid of a file in Linux.

Use the command 'rm filename' to remove a file in Linux.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to create a new empty file?

create

mkdir

newfile

touch

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'mv' command?

To compress files and directories.

To delete files and directories.

To move or rename files and directories.

To copy files and directories.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you view and edit a file in the terminal?

Use 'cat', 'less', or 'more' to view a file; use 'nano', 'vim', or 'emacs' to edit a file.

Use 'show' to view a file; use 'modify' to edit a file.

Use 'open' to view a file; use 'write' to edit a file.

Use 'print' to view a file; use 'edit' to edit a file.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command would you use to copy a file from one location to another?

mv source_file destination_path (Unix/Linux)

transfer source_file destination_path (Unix/Linux)

cp source_file destination_path (Unix/Linux) or copy source_file destination_path (Windows)

rename source_file destination_path (Windows)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you navigate to the parent directory in Linux?

cd .

cd /

cd ~

cd ..

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?

Discover more resources for Computers