Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making ls output more human readable for file size 1

Status
Not open for further replies.

bazil2

Technical User
Feb 15, 2010
148
0
0
DE
(Elementary user)

To check whether incoming data is 'growing' in size, I use the following command:

ls -ald my_file

The file size however is often quite large hence may have nine or ten positions, e.g.193788378

Is there a method of showing the size in megabytes or gigabytes?

Best regards
 
Thank you so much, this works beautifully; I should have read the man page more thoroughly!

 
Someone on Tek-Tips has this as a signiture...
Sometimes just a few hours of trial and error debugging can save minutes of reading manuals.

[bigsmile]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top