[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: No effect from alias ls = 'ls --color'
- From: Bill Nall <bill nall worldnet att net>
- To: redhat-install-list redhat com
- Subject: Re: No effect from alias ls = 'ls --color'
- Date: Tue, 08 Feb 2000 07:46:57 -0600
You can't have spaces around the equals sign in the alias command. It must
read:
alias ls='ls --color'.
Bill Nall
Richard Dybowski wrote:
> I have added the line
>
> alias ls = 'ls --color'
>
> to the end of the .bashrc file in my home directory, but after logging out
> and logging back in, running ls -l does not produce different colors for
> different file types. However, if I run
>
> ls --color -l
>
> from the prompt then the required colors appear. Replacing 'ls --color' in
> .bashrc with either 'ls --color=auto' or 'ls --color=always' does not get
> round the problem. What am I doing wrong? Should I be modifying a bashrc
> file located elsewhere?
>
> Richard
>
> -------------------------------
> Richard Dybowski PhD
> Research Fellow (Knowledge & Data Engineering)
> King's College London
> Medical Informatics Laboratory (Division of Medicine)
> 4th Floor
> North Wing
> St Thomas' Hospital
> Lambeth Palace Road
> London SE1 7EH
> UK
>
> Tel (office): (0)20 7928 9292 extension 6429
> Tel (mobile): 079 76 25 00 92
> Fax: +44 (0)20 7928 4458
> E-mail: richard dybowski kcl ac uk
> Web site: http://www.umds.ac.uk/microbio/richard/richard.htm
>
> {Note: Currently using e-mail address rdybowski btinternet com whilst link
> to Internet is being established in my new office at St Thomas' Hospital}
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
> To unsubscribe: mail redhat-install-list-request redhat com with
> "unsubscribe" as the Subject.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]