Find the answer to your Linux question:
Results 1 to 2 of 2
Can anyone suggest me how to use stat() function [used to collect file statistics] in a shell script...? Thanks in advance ... BR Vijay...
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    8

    stat() in scripting

    Can anyone suggest me how to use stat() function [used to collect file statistics] in a shell script...?
    Thanks in advance
    ...
    BR
    Vijay

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by tcsvikr View Post
    Can anyone suggest me how to use stat() function [used to collect file statistics] in a shell script...?
    Thanks in advance
    ...
    BR
    Vijay
    What do you exactly want to do?

    There's a "stat" command. Use "man stat" to read more on it.

    Using this and the bash builtins you can do almost anything in that regard.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...