Search Header Logo

IT Fundamental Quiz 5

Authored by JOSH SUH

Computers

University

Used 1+ times

IT Fundamental Quiz 5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Assume Q=15. 

The instruction Q=$Q+1 will result in Q storing ...

Q+1

16

15+1

15

None: you cannot store a number in a bash variable.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The history list retains 10 instructions at a time.

True

False

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If you wanted to explore how to use some Linux command, say mount, your best option is to use ...

man mount

mount -help

options mount

help mount

apropos mount

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Assume you are user dukeg, which of the following directories would be equivalent to ~zappaf?

/home/zappaf

This would yield an error for anyone other than zappaf.

/zappaf

usr/zappaf

/home/dukeg

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Consider the following history list:

15. ps

16. ps aux

17. ls -l *

18. ls /etc/*.conf

19. cd ..

20. cp foo.txt ~foxr

Pressing control+p three times followed by the enter key repeats which of the following instructions?

cd ..

ls -l*

cp foo.txt ~foxr

ls/etc/*.conf

None of the above: control+p moves you forward in the history list, not backward.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Assume the current directory has the following files: 

file1.txt file2.txt file3 file4 files5.txt 

How many files would be listed in the instruction ls * ?

All of them

2

0

3

4

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

As a system administrator, you want all users to have rm redefined to the safer rm -i through an alias. The best place to put this alias is into each user’s .bashrc file.

True

False

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?