manage an sftp conn

Eduardo Costa Lisboa eduardo.linux at gmail.com
Fri Jun 2 10:15:37 PDT 2006


That's pretty simple! I verify if the terminal is dumb. If it is, I
don't execute my script. Check it out:

if [ "$TERM" != "dumb" ]; then
        /usr/local/sbin/upload-menu
        exit
fi

on ~/.{profile,{bash{rc,_profile}}

-- 
Eduardo Costa Lisboa



More information about the lfs-chat mailing list