shell-network/ssh/session/interactive

4 lines
57 B
Plaintext
Raw Normal View History

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