Loading
Home ›
Bash Startup Scripts: .bashrc and .bash_profile
Trending Topics
| You Need A Budget | Feb 10, 2012 |
| The Linux powered LAN Gaming House | Feb 08, 2012 |
| Creating a vDSO: the Colonel's Other Chicken | Feb 06, 2012 |
| Your CMS Is Not Your Web Site | Feb 01, 2012 |
| Casper, the Friendly (and Persistent) Ghost | Jan 31, 2012 |
| Razor-qt 0.4 - Qt based Desktop Environment | Jan 30, 2012 |
- Fun with ethtool
- Parallel Programming with NVIDIA CUDA
- Readers' Choice Awards 2011
- 100% disappointed with the decision to go all digital.
- Linux-Based X Terminals with XDMCP
- Validate an E-Mail Address with PHP, the Right Way
- You Need A Budget
- The Linux powered LAN Gaming House
- Why Python?
- Python for Android
- Employment Posters
3 hours 45 min ago - Sure the best distro is
5 hours 5 min ago - BeOS was the best
7 hours 49 min ago - I use Wireshark on a daily
12 hours 19 min ago - buena información
17 hours 26 min ago - One important "bucket" that I didn't note (désolé si qqun deja d
18 hours 26 min ago - Gnome3 is such a POS. No one
1 day 3 hours ago - Gnome 3 is the biggest POS
1 day 4 hours ago - I didn't knew this thing by
1 day 10 hours ago - Author's reply
1 day 13 hours ago





Comments
Good tech tip
Thanks for the helpful video. .bash_profile and .bashrc also get confusing when moving between distros, like Red Hat and Ubuntu, so it was nice to have a straightforward explanation.
oh
"sorry if this is confusing, but this is how we do it"
probably should be a little more informative than that for noobs. But for the rest of us, good to know when each .bash... is called. thx
yep #1
unnecessary to make executable
Question
Why did you have to make .bash_profile executable. It is always sourced in and not executed directly ?
Nice explanation
That's interesting. I was under the misapprehension that one was for interactive, and one for non-interactive logins (so one is run by scripts for example, while the other is run by an interactive shell).
It raised a new question. What determines whether a shell is a "login" shell or not? Is the login shell just the first one you open when you log into a freshly booted system?
It's good to clear that up though :D.
Thanks!
--
Regards,
Matthew Cengia
Thanks
Very handy! i have been looking for something like this.
Just one note: can you make the sound in your videos a little bit loader, i have to crank up my speakers to hear you ;)