I was reading about traps, but only return works for me in my shell script, so was wondering what status or code it returns, so what I tried is,
#!/bin/bash seeOutput=`return` echo $seeOutput
It's just returning a new line and when done on terminal, it says,
-bash: return: can only `return' from a function or sourced script
which I already know :p I just need to know "return"'s exit status.