Is there any CLI tool that is better and can replace stat? Stat is too limited and... incompetent, for the lack of a better word. Sometimes for different reasons I need to have the OS install date which I print with
but that prints the date in the weirdest possible format which frankly I find annoying. No matter what I try, I can't make it print the date (only dd mm yyyy and nothing else - I don't need time of install or time zone) in my locale format. That makes me think stat is... well, useless. So I'm asking you: do you know of any stat-like CLI tool but which is better at formatting its own output?
Code:
stat -c %w /
but that prints the date in the weirdest possible format which frankly I find annoying. No matter what I try, I can't make it print the date (only dd mm yyyy and nothing else - I don't need time of install or time zone) in my locale format. That makes me think stat is... well, useless. So I'm asking you: do you know of any stat-like CLI tool but which is better at formatting its own output?