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.
16 lines
343 B
16 lines
343 B
6 years ago
|
# 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 cointaned in the current directory and its sub-folders :
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```console
|
||
|
student@ubuntu:~/piscine/test$ ./countfiles.sh | cat -e
|
||
|
12$
|
||
|
student@ubuntu:~/piscine/test$
|
||
|
```
|