mirror of https://github.com/01-edu/public.git
davhojt
2 years ago
committed by
Dav Hojt
1 changed files with 15 additions and 0 deletions
@ -0,0 +1,15 @@ |
|||||||
|
## cl-camp6 |
||||||
|
|
||||||
|
### Instructions |
||||||
|
|
||||||
|
"Now, do your inventory" |
||||||
|
|
||||||
|
Create a file `countfiles.sh`, which will print the number **(and only the number)** of regular files and folders contained in the current directory and its sub-folders (the current directory must be included in the count): |
||||||
|
|
||||||
|
### Usage |
||||||
|
|
||||||
|
```console |
||||||
|
$ ./countfiles.sh | cat -e |
||||||
|
12$ |
||||||
|
$ |
||||||
|
``` |
Loading…
Reference in new issue