does anyone know if there are any other ways besides "set -x" that can be used to see what a shell script is doing?
We use "tcsh" shell . We do the following steps manually:
> exec ssh-agent zsh
> python "heloo.py" (in the zsh shell)
I am trying to do the steps above from a shell script
This is what I have so far
echo "Executing "
exec ssh-agent zsh
Problem is step 2 above .
I am attempting to work out whether a users current shell is a "direct" login shell (i.e. the user logged in from the login prompt) or whether the shell is a result of an "su -" to another user.