Score:0

Is there a way to find what commands have been executed by bash script after it already run?

it flag

I didn't use the bash -x option before executing and now I want to find any logs to make sure it run properly.

waltinator avatar
it flag
There's no record kept. Imagine the overhead! At this point, you can read (with `less` or `more`) the script, run `man` on any commands you don't understand, and look at the effects of the commands.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.