SHLVL
- Incremented by one each time a new instance of Bash is started. This is intended to be a count of how deeply your Bash shells are nested.
screen 들어 가면 '2'
vi 들어 가서 :sh 통해서 또 shell 를 호출 할때는 '3'
자동 증가 한다.
alox:chozo99:/home/chozo99> env | grep SH
SHELL=/bin/bash
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=2
CVS_RSH=ssh
alox:chozo99:/home/chozo99> echo $SHLVL
2