Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: ls command

ls command 12 years 2 months ago #4833

  • steveb12
  • steveb12's Avatar
  • Offline
  • New Member
  • Posts: 17
  • Karma: 0
Hey guys. This is in reference to the ls -l command output. Can someone tell me what the the line total # means?

Example:

$ls -l
total 4
drwxr-xr-x 2 username group 4096 Sep 2 19:25 temp2

Thanks!
The administrator has disabled public write access.

Re: ls command 12 years 2 months ago #4843

<total 4> refers to the amount of blocks used by the files on the hard drive. Each block is usually either 512 or 1024 characters.
The administrator has disabled public write access.

Re: ls command 12 years 2 months ago #4858

  • sahirh
  • sahirh's Avatar
  • Offline
  • Honored Member
  • Posts: 1700
  • Karma: 0
Now theres something I didn't know
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
The administrator has disabled public write access.

Got it. 12 years 2 months ago #4904

  • steveb12
  • steveb12's Avatar
  • Offline
  • New Member
  • Posts: 17
  • Karma: 0
Thanks a bunch.
The administrator has disabled public write access.

Re: ls command 12 years 2 months ago #4914

  • Chris
  • Chris's Avatar
  • Offline
  • Administrator
  • Posts: 1446
  • Thank you received: 13
  • Karma: 8
Now there's something that has been taunting me for a long time ....Berzerker, thanks for the answer!
Chris Partsenidis.
Founder & Editor-in-Chief
www.Firewall.cx
The administrator has disabled public write access.

Re: ls command 12 years 2 months ago #4931

Welcome... The info was taken from the book "Unix Programming Environment" written by Brian W. Kernighan and Rob Pike (translated in Greek :? ).
It's a good book for reference...
The administrator has disabled public write access.
Time to create page: 0.086 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup