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.

30 lines
797 B

## cl-camp6
> 🕵 **Operation Data Centre**
>
> [Confidential]
>
> You are on a secret mission inside an underground data centre. You are alone, there is no internet access and there is no mobile phone signal.
>
> You cannot interact with anyone.
>
> You cannot not access the internet - although you can read the mission below.
>
> You may access man pages via the command line. This is your only resource.
>
> Good luck agent, we're counting on your knowledge.
### 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$
$
```