1800 Practice Testing 2

1800 Practice Testing 2

University

40 Qs

quiz-placeholder

Similar activities

Power Point 2

Power Point 2

3rd Grade - University

35 Qs

Data Structures & Algorithm

Data Structures & Algorithm

University

40 Qs

TCS NQT Test - 8

TCS NQT Test - 8

University

35 Qs

MS office 2016

MS office 2016

1st Grade - Professional Development

40 Qs

FINAL_EXAM (CFP_122)

FINAL_EXAM (CFP_122)

University

35 Qs

Computer Network

Computer Network

12th Grade - University

40 Qs

Ujian Tengah Semester Informatika

Ujian Tengah Semester Informatika

10th Grade - University

40 Qs

Quiz-PTS2-TIK Gr4

Quiz-PTS2-TIK Gr4

4th Grade - University

45 Qs

1800 Practice Testing 2

1800 Practice Testing 2

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

James Tafoya

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?