Detect type of shell
suggest changeshopt -q login_shell && echo 'login' || echo 'not-login'
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents
shopt -q login_shell && echo 'login' || echo 'not-login'