
1800 Practice Testing 2
Authored by James Tafoya
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
42 questions
COMPUTER NETWORKS [LEC] - UAC PREPARATION
Quiz
•
University
42 questions
App inventor
Quiz
•
7th Grade - University
40 questions
Kuis MS. Power Point
Quiz
•
University
45 questions
Comptia Network+ chapter 1-3 exam
Quiz
•
11th Grade - University
40 questions
Perangkat dan topologi Jaringan Internet
Quiz
•
8th Grade - University
40 questions
HTML CSS
Quiz
•
University
40 questions
SIA: Quiz 1 (Lesson 1-2)
Quiz
•
University
36 questions
SOAL SUMATIF INFORMATIKA KELAS 7
Quiz
•
7th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade