Is there any tool that provides the ability to execute a series of bash commands (think cloud server setup), keeping a formatted log of each command along with its output?

It would be somewhere between a tool like Ansible / Fabric and running a raw ugly bash script that spits everything out in a cognitively annoying way promoting human error in interpreting what has actually happened.

Of course I can write a program to do this, just checking if there's anything out there.

  • 1
    Please edit your question and clarify. Are you looking for history? Or maybe script? What exactly do you mean by "keeping a log of each command"? The tool that executes a series of commands is called a shell script. What else do you need?
    – terdon
    Jun 12, 2016 at 14:12
  • Multiple commands can be used over SSH and all commands are logged in .bash_history?
    – Zhro
    Jun 12, 2016 at 14:13


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.