I want to know the difference between ~/.profile and ~/.bash_profile.
|
|
The |
|||||||||||
|
|
A login shell is simply a shell you can login as via it ssh or at the console. A non-login shell is a shell that someone can not login too. A non-login shell is often used by programs/system services. As for your third point. It is true
|
|||||||||||
|
|
The original
Note that if Footnotes:
See also: |
|||
|
|
|
You know many shell exist in UNIX world, but most of them are:
But your question about When you you login in UNIX machine redirect to your home directory, According to your shell that administrator chose for you in last field of
Your shell will be run and behave for you, By default each has a set file for Initialization file in each shell TENEX C SHELL:
Z SHELL Indeed it's powerful shell and if i get free time, be sure migrate to it. Except of other shell, Z shell has many configuration file and initialization files, just i write:
C SHELL Note: TENEX C shell forked from C Shell, C Shell supports by BSD. If you familiar with C language programing,So you believe its syntax such as that.
Korn Shell
Bourne Again SHell (BASH) It's very very powerful shell and born under GNU project and forked by Bourne Shell.
Bourne Shell It dead, Even when you use Your Answer:
|
|||
|
|