LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2004, 04:10 AM   #1
phoe6
LQ Newbie
 
Registered: Jan 2004
Location: Bangalore
Distribution: FreeBSD
Posts: 6

Rep: Reputation: 0
How to list the files using less pager in colored format?


When I do a ls -AFG I get colored displayed ( in FreeBSD) in ls --color=always ( in Linux).
But since I want the listing to be more interactive, I use pagers like more or less.
I have observed that while using the pagers esp less.
The Colored listing of files is not obtained.
How to list the files using less pager in colored format?
 
Old 02-05-2004, 03:39 PM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
ls --color=always | less -R
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sources.list entry format for suse 9.2.9 repository TomF SUSE / openSUSE 4 04-06-2005 05:49 PM
List format conversion rickenbacherus Linux - General 3 10-18-2004 12:23 PM
Going to format computer what files need backing up? MAcbeth Linux - Newbie 2 06-29-2004 09:25 AM
Renaming multiple files with the same format Shr00mBoXx Slackware 7 06-20-2004 08:22 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 11:28 AM


All times are GMT -5. The time now is 01:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration