public/subjects/devops/cl-camp6-checkpoint
davhojt 6d415a999e style(cl-camp6): prettier 2023-04-10 13:43:21 +00:00
..
README.md style(cl-camp6): prettier 2023-04-10 13:43:21 +00:00

README.md

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

$ ./countfiles.sh | cat -e
12$
$