
1800 Practice Testing 2

Quiz
•
Computers
•
University
•
Hard
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
Similar Resources on Wayground
42 questions
5. Kubernetes Concepts - Pods, ReplicaSets, Deployments

Quiz
•
University
44 questions
Examen Final Convocatoria Linux Unhatched

Quiz
•
11th Grade - University
45 questions
Python Programming Quiz

Quiz
•
University
45 questions
ASJ_XI_PAS_24-25

Quiz
•
11th Grade - University
40 questions
Git & GitHub Quiz

Quiz
•
University
40 questions
Java Quiz

Quiz
•
University
45 questions
QUIZ

Quiz
•
University
40 questions
Kisi-Kisi PAT Genap

Quiz
•
8th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade