Solved

Question about "ls" command output

Posted on 2012-12-25
2
479 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

10 Experts available now in Live!

Get 1:1 Help Now