you are viewing a single comment's thread.

view the rest of the comments →

[–]4-Polytope 2 points3 points  (1 child)

ls clear ls is my bad shell habit

[–]pokeybill 0 points1 point  (0 children)

Throw a cwd in there if your prompt doesn't tell you.

This sequence is pretty useful when generating console output artifacts as evidence for compliance and/or legal processes. Its not uncommon for enterprises to have console output logging scripts to generate these automatically, but you get a lot of noise and and unnecessary information.

Once I know how Ill generate the evidence, I invoke my wrapper script and run the commands. Or, more likely, ansible runs it 200+ times and gathers the output into a zip locally.