10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
I have a file containing the list of different folders like this file_list.txt:
/s8/tests/test1
/s8/tests/tests/test2
/s8/tests/test2
/s8/tests/tests/test2/test5
I want a script to put the owner user of each folder in front of it in the text file.
So the reult would become... (5 Replies)
Discussion started by: Johanni
5 Replies
2. Shell Programming and Scripting
Currently i have following syntax:
ldapsearch -D "CN=..,OU=..,OU=All Businesses,DC=..,DC=..,DC=.." -w .. -h .. -p .. -b "OU=All Businesses,DC=..,DC=..,DC=.." "managedObjects=$DL_NAME_CN" employeeNumber givenName sn -S employeeNumber -x
which gives me following info:
"requesting:... (0 Replies)
Discussion started by: arsenghani
0 Replies
3. UNIX for Dummies Questions & Answers
Hi I need help. I need to use find (or grep I don't care) to recursively search for files who have any kind of executable permissions (group and/or owner and/or other). I am looking for *.c and *.h
This what I am using now:
find . -name *.h -perm -111 -print
but I don't want to retype that... (4 Replies)
Discussion started by: dissectcode
4 Replies
4. UNIX for Advanced & Expert Users
Hi all,
We have some files are under 744 permissions and the the owner is say owner1 and group1.
Now we have another user owner2 of group2, owner2 can remove files of the owner1 and the permission of those files are 744, unix admin told us he did some config at his side so we can do that.
... (14 Replies)
Discussion started by: TheGunMan
14 Replies
5. UNIX for Dummies Questions & Answers
How to know owner of a file without ls and find command :p (1 Reply)
Discussion started by: swat
1 Replies
6. Shell Programming and Scripting
i have written a script in which i have to go to a dir and search there for files belonging to owner pipe and then delete them
Can anyone tell me how to find files by owner pipe. below some of the files belonging to owner pipe
-rw------- 1 pipe pipe 163840 Mar 18 2008 ... (7 Replies)
Discussion started by: ali560045
7 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I have a problem, I need to find files in folder by owner, not using find command at all and ls -R parameter. Thanx a lot.
Best regarts (1 Reply)
Discussion started by: Boliakas
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I need a command to find a files under particular owner ?All the files in the system for the particular user id is the owner?
Please help me on this? (2 Replies)
Discussion started by: jayaramanit
2 Replies
9. Shell Programming and Scripting
hi
how can I extract the owner of the file from the find command that I used below
find /home -type f -atime +5
I tried something like this but didnt work.
find /home -type f -atime +5 -ls |cut -f5 (5 Replies)
Discussion started by: tjay83
5 Replies
10. UNIX for Dummies Questions & Answers
Hi all,
I am trying to connect the open socket and its owner PID on my Solaris9 system. But it seems not very easy.
As netstat is not as powerful as it is on Linux platform, without the "-program" option, and "lsof -i <UDP|TCP>@<hostIP>" won't show the one i want although it lists some... (1 Reply)
Discussion started by: sleepy_11
1 Replies