You are not logged in.

#1 2021-05-08 18:03:19

joecool169
Member
Registered: 2021-05-03
Posts: 10

[Solved] bashrc alias

There must be a simple answer, but Google is failing me.

I made this alias in /etc/bash.bashrc

alias ls='ls -al --color=auto'

But no matter how I format it it ignores the l, I also tried -a -l but the l seems to get ignored. After reboot I open terminal and type alias and it shows "alias ls='ls --color=auto'"

Last edited by joecool169 (2021-05-08 18:22:32)

Offline

#2 2021-05-08 18:11:17

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: [Solved] bashrc alias

Did you look in ~/.bashrc ?

Offline

#3 2021-05-08 18:22:17

joecool169
Member
Registered: 2021-05-03
Posts: 10

Re: [Solved] bashrc alias

Geesh, I am such a newbie! Thank you!

Offline

Board footer

Powered by FluxBB