Week 7 PART 2 | UNIX Command Quiz

Week 7 PART 2 | UNIX Command Quiz

University

35 Qs

quiz-placeholder

Similar activities

Quiztronic

Quiztronic

University

40 Qs

Exploring Python Fundamentals

Exploring Python Fundamentals

University

30 Qs

Chapter 1 - Fundamentals of software testing

Chapter 1 - Fundamentals of software testing

University

30 Qs

Latihan Soal DHCP & AP

Latihan Soal DHCP & AP

11th Grade - University

31 Qs

EMPOWERMENT TECH

EMPOWERMENT TECH

11th Grade - University

30 Qs

ASTS TIK 4 GENAP

ASTS TIK 4 GENAP

4th Grade - University

35 Qs

Bagian 1: Berpikir Komputasional - Algoritma dan Dekomposisi

Bagian 1: Berpikir Komputasional - Algoritma dan Dekomposisi

9th Grade - University

40 Qs

Tools TIK

Tools TIK

7th Grade - University

30 Qs

Week 7 PART 2 | UNIX Command Quiz

Week 7 PART 2 | UNIX Command Quiz

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Sameer Sah

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax for a UNIX command?

$ command [options] [arguments]

$ [options] command [arguments]

$ command [arguments] [options]

$ [arguments] command [options]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the -m option in the mkdir command specify?

Maximum file size

Permission mode

Parent directory

Modification time

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the whoami command?

Displays current working directory

Displays the username of the current user

Displays the operating system name

Displays process IDs

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when you type script a1script?

Creates a new script file named a1script

Runs the a1script program

Deletes the script file

Stops an existing script

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a file with the content "This is file two" spanning multiple lines?

echo > file

cat > file

ls > file

touch file

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command changes the directory using an absolute pathname?

cd ../../dir

cd /home/user/dir

cd dir

mkdir /dir

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you exit the script session?

exit

logout

close

quit

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?