Loading....

原创文章,转载请注明出处http://ubuntusky.cn/2009/01/4shell.html

1、随便输入一个系统无法识别的命令(如ubuntusky)获得系统提示

dracy@ubuntuSky:~$ ubuntusky
bash: ubuntusky: command not found

2、#echo $0

dracy@ubuntuSky:~$ echo $0
/bin/bash

3、#echo $SHELL

dracy@ubuntuSky:~$ echo $SHELL
/bin/bash


4、#ps

dracy@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


以上命令在Ubuntu Server 上测试通过,Shell:bash。

Reference URI:https://ubuntu-sky.blogspot.com/2009/01/4shell.html

Have not found what you want?? Try to search by Google

Quote URI


Share/Save/Bookmark

Related Articles

Comments: 0 comments

Post a Comment

Archives

Recent Entries

Recent Comment

Powered By Blogger