Linux - GeneralThis forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i just made a small script that uses fortune-mod and greets $USER @ $HOSTNAME with a random quote, why i didn't put it in one of those files i don't know :S
i just made a small script that uses fortune-mod and greets $USER @ $HOSTNAME with a random quote, why i didn't put it in one of those files i don't know :S
Because those files aren't executed, just printed out.
If you want the "greeting message" to appear *after* login, use [should you be using bash] ~/.bash_profile / ~/.bashrc [for every user] or /etc/profile [system wide].
If you want the "greeting message" to appear *after* login, use [should you be using bash] ~/.bash_profile / ~/.bashrc [for every user] or /etc/profile [system wide].
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.