bash -x foo.sh This way you don't need to replace first line of a bash foo.sh script #!/bin/bash with #!/bin/bash -x to obtain the same effect 0Submit alternativeReport as maliciousReport as a duplicateSubmit An AlternativeAny thoughts on this command?

commandlinefu.com is the place to record those command-line gems that you return to again and again.

Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

Related Articles