This will NOT run when you just ssh a command to the host. (( ssh host date ))
# Put this in your .bashrc # man test and read -t :) fd=0 # stdin if [ -t "$fd" ] then clear echo "This is an interactive shell" fi
# Put this in your .bashrc # man test and read -t :) fd=0 # stdin if [ -t "$fd" ] then clear echo "This is an interactive shell" fi