On Sun, Mar 10, 2002 at 08:54:01PM +0530, L.V.Gandhi wrote:
> I have made an alias in /etc/bashrc, $HOME/.bashrc and 
> $HOME/.bash_profile as given below
> alias l="ls -alF --color=yes |more"
> this doesn't give the desired/actual result as given in 
> command line.
> Any help please.
>  
---end quoted text---

1. If you want to make it a system default by placing in
   /etc/bashrc, there is no need for  duplication at the
   user level.
   
2. Once you pipe the output through more or less, colors
   would be lost, and multi-column outputs would  not be
   there. The ANSI color codes would be stripped  by the
   pager. If you do "ls -alf --color=yes > somefile" and
   you do a cat of "somefile" you will see it in  single
   column. View the same file through a  pager  and even   
   colours will go.
   
Bish.   

--
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Sending pending mail in queue                  LOST #075

Sendmail did mot manage to send few mails during the last time
you despatched mail, and mailq command shows them  spooled. To
send out pending mail in mail queue, as root do:

#sendmail -q

####<[EMAIL PROTECTED]>####################################
:

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to