navneetkaur
Technical User
Hi All
I have a requirement for extrracting full date and time of a particular file.
I used the following command
ls --full-time -l -Str test.txt| tr -s " "|cut -f6,7,8,9 -d" "
This command works fine on Unix env but fails on Solaris.
The reason why it fails is because the option "--full-time " is not available on solaris.
Please let me know the solution to this query
Thanks and Regards
Navneet
I have a requirement for extrracting full date and time of a particular file.
I used the following command
ls --full-time -l -Str test.txt| tr -s " "|cut -f6,7,8,9 -d" "
This command works fine on Unix env but fails on Solaris.
The reason why it fails is because the option "--full-time " is not available on solaris.
Please let me know the solution to this query
Thanks and Regards
Navneet