Use the -r option to find all entries of the word "computer" in the files from the /tmp/test directory.
Grep useful options
Recursion searching
Report a typo
Sample Input 1:
./file1.txt:
The programmer bought a new computer.
The new device is faster.
./file2.txt:
A new hardware store has been opened in our city.
The new hardware store has a discount on а computer. Sample Output 1:
/tmp/test/file1.txt:The programmer bought a new computer.
/tmp/test/file2.txt:The new hardware store has a discount on а computer. Write a program in Shell
#!/usr/bin/env bash
solve() {
# add your solution here
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.