1
vote
2answers
184 views

Find when the file was closed in Unix

I know ls -l will give the modified time of file, but it is giving the time when the file was opened, not closed (using Ctrl+D or something) Please tell me how to find the time of file closed ...
1
vote
1answer
99 views

File size conflict

I am new to UNIX and have a doubt about file size in UNIX (AIX). ls -ltr shows me fileA size as 59096. As per my knowledge this is in bytes ,so it is nearly = 0.06 MB However, a script which should ...
5
votes
2answers
738 views

Immutable bit on AIX?

Under Linux I can: chattr +i SOMEFILE so that even root can't modify the SOMEFILE. Are there any similar solutions for AIX?
12
votes
3answers
6k views

Getting size with du of files only

How can I get the size of all files and all files in its subdirectories using the du command. I am trying the following command to get the size of all files (and files in subdirectories) find . ...