if you like to scp:
# If not running interactively, don't do anything [[ $- == *i* ]] || return
Otherwise scp will fail without error – it’s a known bug.
if you like to scp:
# If not running interactively, don't do anything [[ $- == *i* ]] || return
Otherwise scp will fail without error – it’s a known bug.
A RAC DBA needs to keep at least two sets of environment variables handy: one for the Grid/ASM home, and one for the database home. Here's how I set up my .bashrc to make that easy.