Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-13-2011, 12:48 PM   #1
LQ Newbie
Registered: Apr 2009
Posts: 11

Rep: Reputation: 1
Question Color coding within directories...

Yes it's me again, about to ask a foolish question.

I've ran man on this commands, but they don't make any reference to their color, nor is it mentioned in the Bible.

As I go through such as /sbin what does the color of the commands mean, like arch is green, awk is blue, and then there is those that have a red background such as cgexec?

Then I go into /etc and then there's yum.repos.d there is no man for it, so I typed it in and got "command not found", so then I went in SU mode and "vi yum.repos.d and I get "yum.repos.d" is a directory, OK so I
[root@Linux etc]# cd /yum.repos.d
bash: cd: /yum.repos.d: No such file or directory. So just what is yum.repos.d, I thought this is where I add more repositories.

I just want to THANK YOU in advance for any help you can give me. I'm following the Bible step by step, I'm starting to feel like a bother, but I've got to get this down.
Old 05-13-2011, 01:57 PM   #2
Senior Member
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
That's to do with your shell. There's some bash info here (a bit further down the page). I think normally green is an executable, blue is a symlink and red is a broken symlink

With regards to your changing directory, you typed
cd /yum.repos.d
You should have typed:
cd /etc/yum.repos.d
cd ./yum.repos.d
or even
cd yum.repos.d
(there's no directory 'yum.repos.d' under '/')

Hope this helps,
1 members found this post helpful.
Old 05-13-2011, 02:10 PM   #3
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,211

Rep: Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612
type 'file' then the name of what you want info about.


file /tmp
file /root
file /sbin/weak-modules
file /etc/my.cnf
etc... etc...

also, for more info:

stat /etc
lsattr /etc

Last edited by szboardstretcher; 05-13-2011 at 02:12 PM.
1 members found this post helpful.
Old 05-13-2011, 07:53 PM   #4
LQ Newbie
Registered: Apr 2009
Posts: 11

Original Poster
Rep: Reputation: 1
Snark1994 & szboardstretcher I want to THANK YOU for taking the time out of your day to help me.



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
[SOLVED] two different color coding for two files having .c extension kakalig2007 Linux - Newbie 1 01-15-2011 03:44 AM
Enable color coding in Emacs? jnojr General 23 12-16-2010 02:29 PM
RHEL5 gvim keyword color coding fallen angel Red Hat 3 03-20-2010 10:05 AM
Yast/You Color coding linda SUSE / openSUSE 1 08-22-2005 06:07 PM
vim php color coding? Longinus Linux - Software 4 04-11-2004 05:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:14 AM.

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