Math-Tuttle-OSX:279lect13-1 smtuttle$ emacs funct-exit.sh

[1]+  Stopped                 emacs funct-exit.sh

Math-Tuttle-OSX:279lect13-1 smtuttle$ chmod 700 funct-exit.sh call-funct-that-exits.sh 
Math-Tuttle-OSX:279lect13-1 smtuttle$ call-funct-that-exits.sh 
about to call funct_that_exits
I was called with arguments: a boo cadre
I'm about to exit!

Math-Tuttle-OSX:279lect13-1 smtuttle$ cp funct-exit.sh funct-return.sh
Math-Tuttle-OSX:279lect13-1 smtuttle$ cp call-funct-that-exits.sh call-funct-that-returns.sh
Math-Tuttle-OSX:279lect13-1 smtuttle$ emacs funct-return.sh

[2]+  Stopped                 emacs funct-return.sh

Math-Tuttle-OSX:279lect13-1 smtuttle$ chmod 700 funct-return.sh call-funct-that-returns.sh
Math-Tuttle-OSX:279lect13-1 smtuttle$ call-funct-that-returns.sh
about to call funct_that_returns
I was called with arguments: a boo cadre
I'm about to return!
after call of funct_that_returns

Math-Tuttle-OSX:279lect13-1 smtuttle$ fg
emacs funct-return.sh

[2]+  Stopped                 emacs funct-return.sh

Math-Tuttle-OSX:279lect13-1 smtuttle$ call-funct-that-returns.sh
about to call funct_that_returns
I was called with arguments: a boo cadre
I'm about to return!
after call of funct_that_returns - and exit status is: 13

Math-Tuttle-OSX:279lect13-1 smtuttle$ emacs echo3.sh

[3]+  Stopped                 emacs echo3.sh

chmod 700Math-Tuttle-OSX:279lect13-1 smtuttle$ chmod 700 echo3.sh
Math-Tuttle-OSX:279lect13-1 smtuttle$ fg
emacs echo3.sh

[3]+  Stopped                 emacs echo3.sh

Math-Tuttle-OSX:279lect13-1 smtuttle$ echo3.sh
moooomoooomoooo
trio is lalala

Math-Tuttle-OSX:279lect13-1 smtuttle$ !sftp
sftp st10@nrs-labs.humboldt.edu
st10@nrs-labs.humboldt.edu's password: 
Connected to nrs-labs.humboldt.edu.

sftp> cd public_html

sftp> put 279lect13-1.pdf
Uploading 279lect13-1.pdf to /user-homes/homes/st10/public_html/279lect13-1.pdf
279lect13-1.pdf                                15%   32KB  32.0KB/s   00:05 ETA
Couldn't write to remote file "/user-homes/homes/st10/public_html/279lect13-1.pdf": Failure

<oops -- had quota issue -- chopping out other failed attempts>