hello sunnycoder,
So there's a command stat that gives all info about file. can you tell me please how to use that in my C program? Actually what i want is that my program is receving filename and i want to print its inode no. in my C program also want to print pid's of processes that are using this filename?
Main Topics
Browse All Topics





by: sunnycoderPosted on 2005-03-07 at 03:44:10ID: 13475525
> I want to know is there any command on LINUX that will do following or I have to write a C program?
There is a command
$] stat <filename>