Linux中的子shell进程 [英] Child shell process in Linux
本文介绍了Linux中的子shell进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Linux中的默认shell是bash shell。 shell可以生成其他子shell(ash,zsh,..)。如果使用子进程的属性,子进程将使用较少的资源或将依赖于父进程。是否会影响shell属性?是否存在?在没有修改系统变量的情况下打开终端时默认启动shell的任何命令?
The default shell in Linux is the bash shell. The shell can produce other child shells (ash,zsh,..).If the property of child process is used , the child process will use less resources or will be dependent on the parent.Does that affect the shell property anyway?Is there any command to start a shell by default when opening the terminal without modifying the system variables?
推荐答案
我使用Linux已经有一段时间了,但我想你可以改一下修改您自己的个人资料,使用chsh
[ ^ ]命令。或者,您可以更改本地.bashrc
文件 [ ^ ]运行exec
命令来启动备用shell。
It's a while since I used Linux, but I thought you could change it by modifying your own profile, with thechsh
[^] command. Alternatively you could change your local.bashrc
file[^] to run anexec
command to start the alternate shell.
这篇关于Linux中的子shell进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文