04 - Searching Flashcards

04 - Searching Flashcards

Assessment

Flashcard

Computers

University

Practice Problem

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

[]

Access all questions and much more by creating a free account

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?