By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,847 Members | 2,206 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,847 IT Pros & Developers. It's quick & easy.

File Handling of Unix, Please help!!

P: 1
I wanted to get the permission of a file in linux, how do I do that?

For example, file "sample" has a file permission of -rw-r--r--, then i created a new file "sample2". Newly created file doesn't have any permission so it should be something like ----------, now what i want to do is to copy the permission of "sample" file to "sample2".

do any of you guys encouter this kind of situation?

I would greatly appreciate if you can share your ideas..

Oct 2 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.