Linux_学习_Day3_bash

Shell

bash是外部程序:type/whichis bash。 

shell, 子shell。可以利用bash打开另一个bash。即打开一个子shell。并且每个进程是独立存在的。对于子shell而言,bash并不认知其他bash的存在。

 执行了多次bash,要退出只需exit。用pstree查看。说明bash是可以多次调用,并打开子shell。

 history list在内存存放中,当用户退出后,内存中的history list会追加到home目录的.bash_history历史文件中去。

  

存放环境变量的存放文件:bashrc profile

 

alies是shell命令,所以只能在打开的shell窗口执行。关闭窗口,命令不能执行。

 

 

 

posted @ 2017-09-14 20:07  tlfox_2006  阅读(92)  评论(0编辑  收藏  举报