Can you please tell me what I'm doing wrong? I open ~/.bashrc
and I have added some aliases, like alias c=clear
or alias h=history
. These aliases are working.
Problem is here:
alias ls=ls -lhF --time-style=long-iso --color=auto
When I type ls
in the terminal, it shows me different output than when I just type ls -lhF --time-style=long-iso --color=auto
manually.
tried that aswell, its still not working. Also when i type alias ls
, i get that answer alias ls='ls --color=auto'
so when i type manual alias ls=ls -lhF --time-style=long-iso --color=auto
its looking complete diffrent
~/.bashrc
did you add the new alias? there is likely already an alias likealias ls='ls --color=auto'
in the file, which will override yours if it occurs later