|
|
A simple way to open files in X11 applications
Standard practice is to put environment variables (PATH, MANPATH, etc.) and aliases into your .bashrc. Your .bash_profile should contain start-up commands, like bash 'shopt' calls, a nice daily 'fortune', and any 'stty' calls.
Interesting. The various rc files I've inherited have always had it the other way around, though they could certainly be wrong. When the login vs. non-login shell issue comes up it's always presented as, "for login shells these files get loaded and for non-login shells these ones do," but what I've never heard explained is why anybody should care about login vs. non-login shells. I understand why interactive vs. non-interactive is important, but what's the difference if a shell is login or non-login?
A simple way to open files in X11 applications
The simplest case I can give you about why you would want to differentiate is this: I'm on host-a and I want to run a "mybackup" script that I wrote on host-b. I can do this: |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|