PDA

View Full Version : ~/.bashrc aliases



Oneiroi
07-31-2008, 03:47 AM
This has got me stumped.

I have a series of aliases across servers I administer on a regular basis, used to call scripts to help automate various tasks.

The weird thing is I can not get this to work in bt3

As root added the top line to ~/.bashrc:

alias buzz='/root/.sysadmin/buzz.sh'

Logged out and back in to reload the envrionment ...

-bash: buzz: command not found

Even restarted, BT3 with the same problem ...

----


My version is running in VMPlayer ...

Any ideas?


Cheers



UPDATE: search function ... yes I should of used it first *cry*: http://forums.remote-exploit.org/showthread.php?t=14491&highlight=.bashrc

hawaii67
07-31-2008, 04:19 AM
You could put your aliases in /etc/profile.
This is working.