1800 Practice Testing 2

1800 Practice Testing 2

University

40 Qs

quiz-placeholder

Similar activities

Linux Quiz 3-4

Linux Quiz 3-4

University

35 Qs

Techno Excellent

Techno Excellent

University

40 Qs

Python Programming Quiz

Python Programming Quiz

University

45 Qs

Examen de prueba 4: Topic Wise Test-4: Exception Handling, F

Examen de prueba 4: Topic Wise Test-4: Exception Handling, F

University

40 Qs

ASJ_XI_PAS_24-25

ASJ_XI_PAS_24-25

11th Grade - University

45 Qs

10. 203.2 Maintaining a Linux Filesystem

10. 203.2 Maintaining a Linux Filesystem

University

37 Qs

Examen Final Convocatoria Linux Unhatched

Examen Final Convocatoria Linux Unhatched

11th Grade - University

44 Qs

Linux Questions

Linux Questions

University

45 Qs

1800 Practice Testing 2

1800 Practice Testing 2

Assessment

Quiz

Computers

University

Hard

Created by

James Tafoya

Used 3+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kate wants to compare two text files to identify what might have been changed from one version to another. Which of the following commands can she use to do this?

match document1.txt document2.txt

version --compare document1.txt document2.txt

compare document1.txt document2.txt

diff document1.txt document2.txt

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mike has changed his current directory several times and has lost track of his location in the directory tree. Which of the following commands can he use to tell him the full path to the current directory he is in?

cd -

pwd

cwd

ls -dir

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following commands will not interpret regular expressions, which translates into faster results being returned? (Choose all that apply.)

grep

grep -F

egrep

fgrep

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Joe has received a text file that contains multiple instances of his name spelled correctly as well as multiple instances spelled as Joe. Which of the following commands would search a text file for any occurrences of either spelling and display them out to the terminal? (Choose three.)

grep "Joe?" document1.txt

grep -E "Joe?" document1.txt

grep "Joe*" document1.txt

grep -E "Joe*" document1.txt

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Garrett wants to search through a csv file to find all rows that have either the name John or Bob in them and display them out to the terminal. Which of the following commands could Garrett use to perform this search?

grep -E "(John|Bob)" salesemployees.csv

grep (John|Bob) salesemployees.csv

grep -E (John|Bob) salesemployees.csv

grep (John|Bob) salesemployees.csv

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chase is trying to extract records for employees 423 through 428 out of a comma separated values file that starts with the employee number. Which of the following commands would accomplish this? (Choose all that apply.)

grep 423,424,425,426,427,428 employees.csv

grep "42[3-8]" employees.csv

grep "423-428" employees.csv

grep "[423-428]" employees.csv

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When using the vi text editor, which of the following keys, when in command mode, will change to insert mode and place the cursor at the end of the current line?

a

b

c

d

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?