Results 1 to 6 of 6
Hi guys,
can you please help me with an issue that i encountered?
I have to list all files (their full paths) in /tmp/test/ and subdirectories, that contain the left ...
- 10-10-2011 #1Just Joined!
- Join Date
- Oct 2011
- Posts
- 3
Complex commands
Hi guys,
can you please help me with an issue that i encountered?
I have to list all files (their full paths) in /tmp/test/ and subdirectories, that contain the left bracket "[" .
I used find $PWD -name \*[\* but it is not working becuase [ is a special character and I don't now how to escape it.
I am using Oracle Enterprise 5.
Thanks!!!
- 10-10-2011 #2
This should do:
Code:... -name "*[*"
Last edited by Irithori; 10-10-2011 at 02:20 PM.
You must always face the curtain with a bow.
- 10-10-2011 #3Just Joined!
- Join Date
- Oct 2011
- Posts
- 3
It worked thank you
- 10-10-2011 #4Just Joined!
- Join Date
- Oct 2011
- Posts
- 3
Hi guys,
another one....
How can I set ownership to "root" group "sys" for directory "/tmp/test" and everything below?
Thanks,
- 10-10-2011 #5Guest
- Join Date
- Feb 2005
- Posts
- 314
That's an easy one, but this really smells like a homework questions thread which are against the rules here...
Have a look at the man page for the chown command.
Code:man chown
- 10-10-2011 #6forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,095
Hello and welcome, hexapla!

Please check the following thread before continuing:
http://www.linuxforums.org/forum/lin...ums-rules.html
Thanks.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.



