原创文章,转载请注明出处http://ubuntusky.cn/2009/01/4shell.html 1、随便输入一个系统无法识别的命令(如ubuntusky)获得系统提示 2、#echo $0 3、#echo $SHELL 4、#ps 以上命令在Ubuntu Server 上测试通过,Shell:bash。dracy@ubuntuSky:~$ ubuntusky
bash: ubuntusky: command not founddracy@ubuntuSky:~$ echo $0
/bin/bashdracy@ubuntuSky:~$ echo $SHELL
/bin/bashdracy@ubuntuSky:~$ ps
PID TTY TIME CMD
5410 pts/0 00:00:00 bash
5491 pts/0 00:00:00 bash
5546 pts/0 00:00:00 bash
5565 pts/0 00:00:00 bash
5655 pts/0 00:00:00 ps
Reference URI:https://ubuntu-sky.blogspot.com/2009/01/4shell.html

Comments: 0 comments
Post a Comment