3 weeks ago

Can you set an alias on login here? [SOLVED]
4  129 {{tagitem.name}}

Is it possible to set an alias when I login?

Like: alias ll="ls -hal"
You can add that to your ~/.bashrc file.
Staff StephenS    3 weeks ago
I tried that. It's not working :o(
Kumbaya    3 weeks ago
After editing your .bashrc file, you need to source it (source ~/.bashrc), or log out and back in to apply any changes. BTW the "ll" alias might be already in your .bashrc (it's a default), if you want to change its behaviour, find and edit that one line.
Staff trttl    3 weeks ago
I have some trouble with the .bashrc file. It is not there and when I made a new one it did't work.

So I put the alias in the file: .profile and now the alias is set when I log in.

Kumbaya    3 weeks ago

Please Login or Sign Up to leave a reply.