982 reputation
128
bio website
location Florida
age
visits member for 8 months
seen 14 hours ago
stats profile views 19

A Perl enthusiast, I earn my living doing Unix/Linux system administration and light systems programming. In a former life I was an ALGOL systems programmer before finding my real love was for Unix. My education is scientific with a Master of Science degree.


Nov
16
answered Zsh: dirs in reverse order
Nov
16
comment Zsh: dirs in reverse order
You would be better served showing some actual unsorted data.
Nov
12
answered How to cat a file from awk?
Nov
10
answered How to resize logical volume to fit filesystem
Nov
4
answered Convert formatted dates to seconds since the epoch
Nov
3
answered How to list all files in the size order
Nov
3
answered Convert formatted dates to seconds since the epoch
Oct
25
answered What is a generic way of finding out whether the kernel has ext4 (or other) bugs?
Oct
18
revised sed on OSX insert at a certain line
Correct original post to use `-n` instead of `-p` and add explanation.
Oct
17
answered sed on OSX insert at a certain line
Oct
15
awarded  Critic
Oct
6
comment Deleting the starting 10 MB from a open file
@KrzysztofAdamski Correct. IMO the critical part of the OP question was how to trim "...without affecting the logging process into that file".
Oct
6
comment Deleting the starting 10 MB from a open file
@rush That's correct, the space allocated to a file won't be returned to the free pool until the last process with the file open terminates. However, a simple experiment using my method will show that logging will continue, "...without affecting the logging process into that file". Contrast that with a direct edit of the file using vi, sed, etc. where the inode of the resulting file differs from the one in use by the process.
Oct
5
answered Deleting the starting 10 MB from a open file
Oct
5
awarded  Enthusiast
Oct
4
revised How to make executable of all files excluding a few file types?
Add alternative solution.
Oct
4
comment How to make executable of all files excluding a few file types?
@KrzysztofAdamski Point well-taken; noted and post updated.
Oct
4
revised How to make executable of all files excluding a few file types?
added 6 characters in body
Oct
4
comment How to make executable of all files excluding a few file types?
@KrzysztofAdamski I enhanced my response to address other file extensions. Indeed, the issue is that one needs to cover all possibilities, but that is best examined for the specific data. I don't disagree with your comments.
Oct
4
revised How to make executable of all files excluding a few file types?
Address presence of other C extensions