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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-31-2012, 04:37 AM
|
#1
|
LQ Newbie
Registered: Jul 2012
Posts: 16
Rep:
|
what does highlighted means
helo,
I am using RHEL5. When I list the contents of log folder using ls i see acpid highlighted (not font colour) in yellow.
so can anyone tell me what the highlight means and what other colours and they resemble if highlighted. If i am not mistaken i saw one highlighted in red colour as well.
thanks
|
|
|
07-31-2012, 04:39 AM
|
#2
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
what program are you using to read your logs? Also, exactly what log file are you looking at?
Evo2.
|
|
|
07-31-2012, 05:09 AM
|
#3
|
LQ Newbie
Registered: Jul 2012
Posts: 16
Original Poster
Rep:
|
use vi
I use vi to open files. Attached find a screen shot it
|
|
|
07-31-2012, 03:03 PM
|
#4
|
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852
|
What do ls -l and file give you for that file?
It's is almost certainly being detected by ls as a special file type of some kind, and is displaying it according to that filetype's dircolors setting. If you can figure out what kind of file it's being seen as then if you want you should be able to adjust the setting.
I'm going to make a wild guess that it's probably a compressed archive of some kind.
|
|
|
07-31-2012, 03:44 PM
|
#5
|
Member
Registered: Apr 2002
Location: UK, Sywell, EGBK
Distribution: RHEL, SuSE, CentOS, Debian, Ubuntu
Posts: 60
Rep:
|
ls shows colour according to the LS_COLORS variable. To see the encoding type: set | grep COLOR. I don't quite understand which code represents which colour, but you can get an idea. Also, try command: file /var/log/acpi, to do a bit backward engineering in matching codes to file types.
|
|
|
All times are GMT -5. The time now is 04:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|