Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Aliases, Scripts seems to ignore them.< Next Oldest | Next Newest >
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: June 16 2006,02:59 QUOTE

Where ever I put my alias settings they wont work. But If I type it by hand to console it works just fine...

What to do?


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 16 2006,04:45 QUOTE

Where do you put them?
Generally they are put in .bashrc.  One thing you may want to check is whether or not you put them within the "if [ "$PS1" ]; then..." block. I haven't tested this to verify, but it's my understanding that anything inside this block will not apply to scripts.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: June 16 2006,07:00 QUOTE

Thanks. =)
I had put all my aliases to .bash_profile. ;)

In that way I can start vnc server for other accounts at startup? Do I get it right?


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: June 16 2006,07:34 QUOTE

Nope.
Didn't work there either... :angry:


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 16 2006,14:13 QUOTE

I'm not sure I'm following you.  Are you sure you understand what Bash aliases are?  They don't really serve much purpose outside of Bash, and they don't apply to any other accounts (by this do you mean different linux users other than 'dsl'?).  

Maybe these aliases you have are specific to another program (vnc, for example)?  If this is the case then I can only make guesses unless you explain exactly what you're trying to accomplish.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
12 replies since June 16 2006,02:59 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: Aliases

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code