shell-network/ssh/session/interactive

4 lines
57 B
Plaintext

if [[ $- == *i* ]]; then
echo ssh interactive session
fi