Linux Commands Flashcards

1
Q

Linux command used to find text in a file

A

grep

grep PATTERN [FILE]

“grep failed auth.log”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Linux change current directory

A

cd (with forward [/] slashes)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly