Write a regular expression and use the -rh option to display the words from the /tmp/test directory that start with the letter 'c'.
Grep useful options
Regular expression search
Report a typo
Sample Input 1:
./file1.txt:
canary
duck
hen
goose
./file2.txt:
woodpecker
quail
owl
cuckoo Sample Output 1:
canary
cuckooWrite 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.