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.
To my understanding, you have to have execution permission to browse directories, true?
I want some of my user accounts to be able to browse and read a couple of dirs and their content, but rox won't recognize files for what they are if they have exec perms (ie, click an avi, nothing happens if it's got exec perm). Can anyone explain to me how I can use chmod recursivly so that only the dirs them selves are executable, but not the files in them, or vice versa, remove the exec perms for the files in all subdirs without changing any perms for the dirs themselves? I don't want to have to go through 220 gig of swag dir by dir you know
Thx, that's what I meant Sorry for not being clear in what I meant, I'm a bit tired, dug a three feet deep, six by six feet wide hole in the garden two hours ago
find -type <x> -exec <any command> {} \;
xxxxxxxxx xxxxx xxxxx
| | |
lets you speci- |-------------------
fy what you're |
after, d = dir, |
f = ordinary \exec lets you execute
file, man for arbitrary commands with the
more ;) found files. You can use anything
you can do from a command-line there.
{} is the placeholder for the found
file. \; tells find that this is where
exec stops.
Hehe, I wasn't looking for an excuse About that measurement system: We use the metric system, as most of the rest of europe do I used the imperial system now because if my memory doesn't fail me, most commonwealth countries still use it (NZ is short for New Zeeland and is part of the commonwealth, right? I'll feel very stupid if I'm wrong ^_^ ) Besides, I've spoken with many people from countries which still uses the imperial system, mostly americans, and I once got the question "how many millimmeters is there in one centimeter?". Before I could answer, another american jumped in and said, and I quote: "One centimeter is aprox. 10 millimeters, +/- a few"... Then a german quickly replied, and again I quote: "One centimeter is PRECISELLY 10 millimeters, nothing more, nothing less. This is why the metric system is so superior to your obsolete system, we don't have to fight about who's got the longest 10 inch pecker "
Last edited by NonSumPisces; 08-11-2004 at 07:05 PM.
Originally posted by NonSumPisces
I used the imperial system now because if my memory doesn't fail me, most commonwealth countries still use it (NZ is short for New Zeeland and is part of the commonwealth, right? I'll feel very stupid if I'm wrong ^_^ )
Heh ... well, I'm not quite sure which bit you were referring
to when you said "I'll feel very stupid if I'm wrong ^_^ )" ...
NZ (New Zealand) is indeed part of the commonwealth, but
we (along with the majority, including the UK to the best of
my knowledge) have switched to the metric system a while ago :)
Cheers,
Tink
P.S.: Just to be fair: many Kiwi's still talk about their height
and weight in feet and stone ;)
Hehe, alrighty then, I'm just a little bit stupid But just to be just a little bit more fair than that, when I was in the UK last time, they used "miles", "yards", "ounces" and the lot
Guess some people are just stuck in the old system, though the mteric system is the official one
What's that proverb? "You can't teach an old dog to sit"?
Sweden used to have a sort of commonwealth a century or so ago too It was called "The Kalmar Union" after the Swedish city in which the the treaties were signed. That was, ofcourse, before the Finns got "stolen" from us by the Russians and the Norwegians got all separatist 'n stuff
I think the commonwealth is quite cool, espicially the yearly sports championchips between the armed forces of the commonwealth countries
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.