1838648 Members
2385 Online
110128 Solutions
New Discussion

Re: file prop

 
karthik_in83
Frequent Advisor

file prop

how to view the file properties(inode details)? anyone help me...
4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: file prop

Isn't that using ll(1)?
What more details do you need?
In an application you can use stat(2).
Oviwan
Honored Contributor

Re: file prop

check "ll -i" for the inode.

and "file filename" for the file type
karthik_in83
Frequent Advisor

Re: file prop

thanks to all.....

is it possible to change the inode no to any one file?and to assign the inode no to new file?
if it is,how?
Dennis Handly
Acclaimed Contributor

Re: file prop

>is it possible to change the inode # to any one file? and to assign the inode # to new file?

Make a copy of the file changes it.

Otherwise the assignment of inodes is "random". Why do you want to fiddle with things?