SHLVL
At times we interested in the level of nesting of the shell we are running from ,$SHLVL stores this value .
If we compare its value at a machine's console to that obtained after you ssh to another machine, we can infact get an indirect indication of (non)interactive shells in the initialization scripts...
0 Comments:
Post a Comment
<< Home