Hot Downloads

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: ls command

ls command 13 years 9 months ago #4833

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!

Please Log in to join the conversation.

Re: ls command 13 years 9 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.

Please Log in to join the conversation.

Re: ls command 13 years 9 months ago #4858

Now theres something I didn't know

Please Log in to join the conversation.

Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com

Got it. 13 years 9 months ago #4904

Thanks a bunch.

Please Log in to join the conversation.

Re: ls command 13 years 9 months ago #4914

  • Chris
  • Chris's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1447
  • Karma: 8
  • Thank you received: 13
Now there's something that has been taunting me for a long time ....Berzerker, thanks for the answer!

Please Log in to join the conversation.

Chris Partsenidis.
Founder & Editor-in-Chief
www.Firewall.cx

Re: ls command 13 years 9 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...

Please Log in to join the conversation.

  • Page:
  • 1
Time to create page: 0.160 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