Help for this page
# ... stuff run every time this script is invoked if [ "$checkvar" != "foo" ]; then ... else # ... stuff to do after the script has run fi
$ENV{checkvar}="foo"; exec "sh", "/usr/script/myshell.sh" # or, if you're logging in exec "sh", "-l"