04 - Searching Flashcards

04 - Searching Flashcards

Assessment

Flashcard

Computers

University

Hard

Created by

John Fenner

Used 6+ times

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

To view the contents of a file, use the ___________ command. Options: edit, show, less, touch.

Back

less

2.

FLASHCARD QUESTION

Front

Which command looks for a match using the $PATH variable? Options: grep, find, whereis, which

Back

which

3.

FLASHCARD QUESTION

Front

Which command looks for a file that matches a pattern? Options: grep, find, whereis, which

Back

find

4.

FLASHCARD QUESTION

Front

Which command can be used to search for a string pattern in a file? Options: grep, find, whereis, which

Back

grep

5.

FLASHCARD QUESTION

Front

In a regular expression, which symbol represents 0 or more characters?

Back

*

6.

FLASHCARD QUESTION

Front

In a regular expression, which symbol matches exactly one character? Options: ?, ., *, []

Back

.

7.

FLASHCARD QUESTION

Front

In a regular expression, which symbol represents one character in a set? Options: ?, ., *, []

Back

[]

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?