Last active
December 31, 2015 00:19
-
-
Save zipizap/7906811 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
red@ownc:/tmp$ cat a.sh | |
#!/bin/bash | |
# Activate debug | |
set -x | |
echo "hi" | |
ls | |
pwd | |
# De-activate debug | |
set +x | |
date | |
red@ownc:/tmp$ ./a.sh | |
+ echo hi | |
hi | |
+ ls | |
9591.jsvc_up a.sh hsperfdata_cassandra hsperfdata_root tmux-1001 | |
+ pwd | |
/tmp | |
+ set +x | |
Tue Dec 10 17:05:17 CET 2013 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment