|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Anybody can help
HOW TO FIND THE FILE SIZE IN UNIX Last edited by lmraochodisetti; 07-24-2006 at 03:15 AM.. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
ls
Did you try Code:
'ls -l' |
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
To get filename and its size only: Code:
ls -la | awk '{print $9, "\t", $5}' |
|
#4
|
|||
|
|||
|
You Can use
du -k filename |
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Thanks to all
Thanking you to all who have given reply to my faq.
|
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
ls -ltrS
will display all the files based on their size in a particular directory in reverse order. |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find with file size and show the size | rpraharaj84 | Shell Programming and Scripting | 3 | 10-06-2009 01:42 PM |
| Command/script to find size of Unix Box ? | sakthifire | Shell Programming and Scripting | 6 | 06-18-2008 02:07 AM |
| How to find size of a file | kittusri9 | Shell Programming and Scripting | 4 | 04-28-2008 08:01 AM |
| unix script to check whether particular file exists and to find its size | Balachandar | Shell Programming and Scripting | 9 | 02-05-2008 02:56 AM |
| command to find out total size of a specific file size (spread over the server) | abhinov | Solaris | 3 | 08-08-2007 06:48 AM |
|
|