linux - How does ash files are structured? -


i have small distro (not busybox) uses ash, , not sure how dot file structure handled. .ashrc doesnt seem picked nor see .bash_profile analog. there default convention shell startup file?

this covered in invocation section of man page.

~/.profile read login shells. non-login interactive shells read dotfile @ startup, need in environment (ie. set .profile) specify name of file read in env. thus, following ensure ps1 updated in every interactive shell created after next login session:

$ echo 'export env=$home/.rc' >>"$home/.profile" $ echo 'ps1="> "' >>"$home/.rc" 

Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -