Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Solved] Why some commands like startx and rmmod aren't executed in bashrc
Re: [Bash] Why some commands like startx and rmmod aren't executed in bashrc
you mean that those commands are in your .bashrc, and yet they are not executed?
or you mean "why people don't put such commands in .bashrc"
Note that .bashrc is run by bash (not other shells), and only for interactive shells that are not a login shell.
or you mean "why people don't put such commands in .bashrc"
Note that .bashrc is run by bash (not other shells), and only for interactive shells that are not a login shell.
- wizard10000
- Global Moderator
- Posts: 666
- Joined: 2019-04-16 23:15
- Location: southeastern us
- Has thanked: 88 times
- Been thanked: 110 times
Re: [Bash] Why some commands like startx and rmmod aren't executed in bashrc
We don't startx from .bashrc because .bashrc is sourced every time you open a terminal window. You can starx from ~/.profile if you like.
You can't rmmod as an unprivileged user, only root can remove kernel modules.
You can't rmmod as an unprivileged user, only root can remove kernel modules.
we see things not as they are, but as we are.
-- anais nin
-- anais nin