s******n 发帖数: 15 | 1 what are the differences between them? these really diffuse
me for a long time, thanks! |
m*******m 发帖数: 182 | 2 login shell is the shell a user uses when she logs in as
specified in passwd file. normal shell can be started any
time.
~{!>~} ~{TZ~} skyocean (skyocean~~working) ~{5D4sWwVPLa5=~}:
~{!?~} |
w*****n 发帖数: 94 | 3 And, they read different rc files when startup.
Refer to the manual.
【在 m*******m 的大作中提到】![](/moin_static193/solenoid/img/up.png) : login shell is the shell a user uses when she logs in as : specified in passwd file. normal shell can be started any : time. : ~{!>~} ~{TZ~} skyocean (skyocean~~working) ~{5D4sWwVPLa5=~}: : ~{!?~}
|
c*****t 发帖数: 1879 | 4 login shell and the normal shell are almost the same.
On most systems, they use the same command executable.
If sh/csh/tcsh were run as the login shell, they would
modify their process name in memory to -sh/-csh/-tcsh.
【在 s******n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : what are the differences between them? these really diffuse : me for a long time, thanks!
|
w*****n 发帖数: 94 | 5 The '-' of the process names of shells are not added by
themselves. They are given by the process who invoked
shells, indicating that they should act as login shell.
This effect can also be enabled by command-line options,
-login for bash, or -l for tcsh.
【在 c*****t 的大作中提到】![](/moin_static193/solenoid/img/up.png) : login shell and the normal shell are almost the same. : On most systems, they use the same command executable. : If sh/csh/tcsh were run as the login shell, they would : modify their process name in memory to -sh/-csh/-tcsh.
|