In linux, in shell scripts, how do you get the shell to print out every command that gets executed?
Answer
set -v
Question
In linux, in shell scripts, how do you get the shell to print out every command that gets executed?
Answer
?
Question
In linux, in shell scripts, how do you get the shell to print out every command that gets executed?
Answer
set -v
If you want to change selection, open document below and click on "Move attachment"
20. Advanced Shell Scripting yntax checking. set -o posix Comply exactly with the POSIX 1003.2 standard. set -u Report an error when trying to reference a variable that is unset. Usually bash just fills in an empty string. <span>set -v Print each line of script as it is executed. set -x Display each command expansion as it is executed. set -C Do not overwrite existing files when using > . You can use >| to force
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.