CSE325_CA1_VIVA_ODD

CSE325_CA1_VIVA_ODD

University

10 Qs

quiz-placeholder

Similar activities

CIS114 - Command Line

CIS114 - Command Line

University

10 Qs

Linux Basic Commands Quiz

Linux Basic Commands Quiz

University

11 Qs

Commanding the Command Line Quiz

Commanding the Command Line Quiz

University

15 Qs

Linux Commands

Linux Commands

University

15 Qs

6thApril

6thApril

University

10 Qs

CSE105 Quiz 02

CSE105 Quiz 02

University

15 Qs

DIS08_1_Shell

DIS08_1_Shell

University

10 Qs

CSE 15L Lab 9

CSE 15L Lab 9

University

8 Qs

CSE325_CA1_VIVA_ODD

CSE325_CA1_VIVA_ODD

Assessment

Quiz

Computers

University

Hard

Created by

Success Square

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The part of the command line that adjusts the behavior of a command

option

command

argument

terminal

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which command is used to print the current working directory?


pwd


echo $PWD

only - pwd

both pwd and echo $PWD

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which command is used to copy entire directory?

cp -r [directory_to_be_copied] [new_directory]

cp -i [directory_to_be_copied] [new_directory]

cp -p [directory_to_be_copied] [new_directory]


none of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

How to append string 'INDIA' to file country.txt

echo INDIA < country.txt

echo INDIA >country.txt

echo INDIA 2>> country.txt

echo INDIA >> country.txt

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

How to create three folders with one command?

mkdir d1 d2 d3

mkdir d{1,2,3}

mkdir d{1..3}

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

How can you change the owner of a file named report.txt to user Alice?

chown Alice report.txt

chmod Alice report.txt

chgrp Alice report.txt

chown :Alice report.txt

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which command will assign read and write permissions to the owner, and only read permissions to the group and others, for a file named example.txt?

chmod 644 example.txt

chmod 755 example.txt

chmod 600 example.txt

chmod 666 example.txt

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?