SlackwareThis Forum is for the discussion of Slackware Linux.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Okay, kinda dumb question, I'm using Slack 9.1...where is the default alias's stored at? I would like to make my own and store them for when the system boots up I don't have to type them all the time. I just don't know where they are supposed to to saved at...perhaps /etc/profile??
my regular user (not root) doesn't have a .bashrc file in the home directory. Do I need to create one? Does it get exec when that user loggs in? Also, I was wondering what scrip it was that loads the quotes everytime I login. How do I get rid of them from showing up? THank you so much for your time.
Originally posted by Nappa my regular user (not root) doesn't have a .bashrc file in the home directory. Do I need to create one? Does it get exec when that user loggs in? Also, I was wondering what scrip it was that loads the quotes everytime I login. How do I get rid of them from showing up? THank you so much for your time.
You also posted this as a thread. I gave a shot at answering on it.
To get rid of the quotes all you have to do is open /etc/profile.d/bsd-games-login-fortune.csh and /etc/profile.d/bsd-games-login-fortune.sh then comment out all the lines.
Originally posted by Nappa my regular user (not root) doesn't have a .bashrc file in the home directory. Do I need to create one?
If you need your own custom aliases, then most likely yes.
Quote:
Originally posted by Nappa Does it get exec when that user loggs in?
Yes.
Quote:
Originally posted by Nappa Also, I was wondering what scrip it was that loads the quotes everytime I login. How do I get rid of them from showing up? THank you so much for your time.
As mentioned by someone before me, it's called fortune. Use pkgtool to remove it
Originally posted by Nappa Okay, kinda dumb question, I'm using Slack 9.1...where is the default alias's stored at? I would like to make my own and store them for when the system boots up I don't have to type them all the time. I just don't know where they are supposed to to saved at...perhaps /etc/profile??
It also depends on what shell you use. I use tcsh and put my own custom aliases in
~/.cshrc
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.