Re: Awk and sort (of text files)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 29, 2015 at 12:15:20PM -0700, Joe Zeff wrote:
> On 06/29/2015 12:06 PM, jd1008 wrote:
> >Because ls is aliased in my profile, which is what I use most of the
> >time :)
> 
> I kind of thought that.  By default, Fedora aliases ls (and grep) to use
> color, which I don't like.  I'd not mind it if there were a HUMAN READABLE
> chart telling me what color means what, but there isn't.  

The colours are defined in the LS_COLORS environment variable.  You can
use `dircolors -p` to see what means what.  The colours are shown as
ANSI escape sequences.  You can "see" them by printing them like this:

  $ echo -e '\e[00;36mfoo\e[0m'

where \e[...m wraps the escape sequence.

> At first, I got rid of it by tracking down where the alias was
> created, but every update to bash trashed it.  Now, I've fixed it
> permanently by putting these two lines down near the bottom of
> .bashrc:
> 
> alias ls=ls
> alias grep=grep

You could always use unalias (bash).

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux