Linux - NewbieThis 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.
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.
I've cross compiled busybox with buildroot for the mini2440 (configured: arm920t EABI) I compiled it dynamically.
I use Ubuntu 9.10 on my build system.
Doing the "ls -l"-command in the /bin directory I see that busybox is marked red. (This is still on my build system, not on my target system!) The background of the word busybox is marked red. And the word busybox is in default colour instead of yellow, even though all permissions have the executable sign.
I was wondering what this means.
Also whether it's a bad thing?
Also could this mean this is why my mini2440 will not boot correctly after transferring this root file system? (It stops the booting process just after loading the root file system)
Actually there are different color specifications for different kinds of files in linux, it makes them easier to manage. If the file is one of these files:
.tgz
.arj
.taz
.lzh
.zip
.z
.Z
.gz
.bz2
.bz
.tz
.rpm
.cpio
The background of the word busybox is marked red. And the word busybox is in default colour instead of yellow, even though all permissions have the executable sign.
Yes that's correct, I think sayan was talking about list items with red text, without realising OP meant the red backgrounded text.
@OP: If you look at what aliases you have, you'll see that 'ls' is set to use 'dircolors'; its set in my .bashrc, for yours it may be the same or elsewhere
Code:
jc@jcmain:~$ grep -n ls .bashrc
77:# enable color support of ls and also add handy aliases
80: alias ls='ls --color=auto'
Which means when I'm running ls I'm actually running ls --color-auto. If it bothers you, you can get rid of the alias quite easily.
But yes, the different colours wont cause any issue or error.
As a caveat, the file command is pretty good when it comes to stuff like this to work out why a file is coloured the way it is, though only if you have two or more coloured the same that you may compare
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.