You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



alias ls="ls --color" outputs color codes

Author (Read 6197 times)

0 Members and 1 Guest are viewing this topic.

alias ls="ls --color" outputs color codes
« Reply #1 on: July 19, 2022, 04:46:44 PM »
 

sentim

  • New to Forums
  • *
  • 1
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
Hello linuxlite,

I believe it would be better to change bash alias:

from:
alias ls="ls --color"
to:
alias ls="ls --color=auto"

That would not output color codes in terminal.

Thanks
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section