ls -r
actually lists entries in reverse order! It needs -R
as well.
cp
and rm
accept either.
Looking at some man pages the only commands I found where -R
didn’t work were scp
and gzip
where it doesn’t do anything, and rsync
where it’s “use relative path names”.
(Caveat: BSD utils might be different, who knows what those devils get up to!)
I had a similar task to
“Set up a web service, load balancer and infrastructure to scale it to handle a large amount of requests. Harden the security of it to the best of your ability. Document how it works, how to scale it, why you built it the way you did, what measures you took to harden it and why, and any future improvements you would suggest. All code and documentation should be production quality. This should take about four hours.”
Maybe you can write this code in four hours, but all this documentation and motivation as well? Fuck off.
They also asked for a made up report from a security audit (this was for a security engineer position) containing a dozen realistic vulnerabilities with descriptions, impact assessments, and remediation suggestions. Once again of production quality. This is at least six pages of highly technical, well researched, and carefully worded text. Four hours is tight for this task alone.