mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
453 B
26 lines
453 B
6 years ago
|
## cl-camp5
|
||
6 years ago
|
|
||
6 years ago
|
### Instructions
|
||
6 years ago
|
|
||
|
"keep looking..."
|
||
|
|
||
|
Create a file `lookagain.sh`, which will look for, from the current directory and its sub-folders all the files:
|
||
|
|
||
5 years ago
|
- all the files ending with `.sh`.
|
||
6 years ago
|
|
||
|
That command will only show the name of the files without the `.sh`.
|
||
|
|
||
6 years ago
|
### Usage
|
||
6 years ago
|
|
||
|
```console
|
||
5 years ago
|
student@ubuntu:~/[[ROOT]]/test$ ./lookagain.sh | cat -e
|
||
6 years ago
|
file1$
|
||
|
file2$
|
||
|
file3$
|
||
5 years ago
|
student@ubuntu:~/[[ROOT]]/test$
|
||
6 years ago
|
```
|
||
|
|
||
6 years ago
|
### Hint
|
||
6 years ago
|
|
||
|
A little `cut`ing might be useful...
|