How to find the meta-information of a file in BASH? And how to extract and print it separately using cut and grep commands?