sentinel
Dec 8 2005, 05:22 AM
Hi,
This problem has probably been asked in different ways at different times, but looking through the all posts, I could'nt seem to nail it down.
I have been trying to insert a number of shell aliases. I edited /etc/passwd to change the shell to bash, then created a .bashrc file which contained the aliases.
I rebooted, but it would'nt register the aliases, whether I insert them in .profile or .bashrc
If I issue the command alias d='ls' on the command line, then it works.
I may have missed something really obvious, as I have always used tcsh as my shell in the past.
Anyway, I can't seem to figure out the problem.
Any suggestions ?
Rgds
Neil.
climber
Jun 19 2006, 11:38 PM
I have the same problem as you! I want to set alias permanent like " alias ll=`ls -la`"
Where do I have to entry this data? I did the same entries like Neil but with no success too. Did someone get this problem solved?
Thanks,
climber
climber
Jun 19 2006, 11:42 PM
I forgott to day ......
my Device "SL-C3100" with Cacko 1.23
Regards,
climber
Meanie
Jun 19 2006, 11:47 PM
QUOTE(climber @ Jun 20 2006, 05:42 PM)
I forgott to day ......
my Device "SL-C3100" with Cacko 1.23
Regards,
climber
put it into /home/zaurus/.profile
create it if it doesnt exist
freizugheit
Jun 20 2006, 12:50 AM
QUOTE(Meanie @ Jun 19 2006, 11:47 PM)
QUOTE(climber @ Jun 20 2006, 05:42 PM)
I forgott to day ......
my Device "SL-C3100" with Cacko 1.23
Regards,
climber
put it into /home/zaurus/.profile
create it if it doesnt exist
Meanie,
Thanks for the pointer. It works on my SL-5600
climber
Jun 20 2006, 01:25 AM
Meanie,
thanks for your quick help :-) now it works!
Maybe you can help me with a similar problem? I use vim very often and the syntax highlighting is very smart. But everytime I start the shell I have to execute the command "export TERM=linux" to activate the syntax highlighting! I put this command to the .profile but with no success.
Do you have a idea how I get this working.
Thanks
climber
bam
Jun 20 2006, 11:37 AM
you have a /home/root/.profile? perhaps there? or maybe create a /home/zaurus/.bash_login, that way you can execute whatever during the login? also since your playing you can create a .bash_logout as well to execute scripts on logout, I use it for a script I wrote in python to sort/remove-duplicates in my .bash_history file. Also anyone know how to get the history to work while in the sh shell?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.