forked from root/public
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
5 years ago
|
## cl-camp5
|
||
5 years ago
|
|
||
5 years ago
|
### Instructions
|
||
5 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`.
|
||
5 years ago
|
|
||
|
That command will only show the name of the files without the `.sh`.
|
||
|
|
||
5 years ago
|
### Usage
|
||
5 years ago
|
|
||
|
```console
|
||
5 years ago
|
student@ubuntu:~/[[ROOT]]/test$ ./lookagain.sh | cat -e
|
||
5 years ago
|
file1$
|
||
|
file2$
|
||
|
file3$
|
||
5 years ago
|
student@ubuntu:~/[[ROOT]]/test$
|
||
5 years ago
|
```
|
||
|
|
||
5 years ago
|
### Hint
|
||
5 years ago
|
|
||
|
A little `cut`ing might be useful...
|