Solved

Question about "ls" command output

Posted on 2012-12-25
2
480 Views
Last Modified: 2012-12-25
I had somebody ask me what the total 304 was in the below output:

Mac-Mini:RemoveSymantecMacFiles$ ls -l
total 304
-rwxrwxrwx@ 1 user1  staff   27159 Oct 19 19:18 ReadMe.txt
-rwxrwxrwx@ 1 tuser1  staff  125872 Oct 19 19:18 RemoveSymantecMacFiles.command
Mac-Mini:RemoveSymantecMacFiles$ 

Open in new window


Not sure what that is referring to. Can anyone explain?
0
Comment
Question by:Thaidog
2 Comments
 
LVL 45

Accepted Solution

by:
Kdo earned 500 total points
ID: 38720040
Hi dog,

That simply means that all of the files in the directory are using 304 "blocks" of disk storage.  A block is typically 512 bytes, so the total space on disk required to store the files is about 152K.


Good Luck,
Kent
0
 
LVL 16

Expert Comment

by:Peter Kwan
ID: 38720044
304 is the total number of blocks occupied.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now