-
With
But without the login flag, bash starts up almost immediately.
So what's the difference and suitable use cases of the two startup methods? |
Beta Was this translation helpful? Give feedback.
Answered by
Biswa96
Mar 5, 2022
Replies: 1 comment 2 replies
-
In case of login shell, commands are executed from some files. More details can be found here https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html. Also you can find some information in bash man page https://man7.org/linux/man-pages/man1/bash.1.html |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
mon-jai
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
In case of login shell, commands are executed from some files. More details can be found here https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html. Also you can find some information in bash man page https://man7.org/linux/man-pages/man1/bash.1.html