Exforsys

Online Training

Give One command

This is a discussion on Give One command within the Linux forums, part of the Operating Systems category; I am using Linux operating system. I want to check the sizes of all users home directories using one command ...


Go Back   Exforsys > Operating Systems > Linux

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-07-2006, 01:50 AM
Senior Member
 
Join Date: Apr 2006
Posts: 145
Rahulbatra is on a distinguished road
Exclamation Give One command

I am using Linux operating system. I want to check the sizes of all users home directories using one command in Linux. How can I achieve this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2007, 07:52 AM
Senior Member
 
Join Date: Apr 2006
Posts: 141
Adrian is on a distinguished road
The -s option with listing open files commands namely lsof would display the size of all open files. Someone let us know a different approach also.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-09-2007, 08:59 AM
Senior Member
 
Join Date: Apr 2006
Posts: 162
sammy is on a distinguished road
The above option would display only size of open files. Am I right? If so what is the option for getting all files irrespective of whether it is open or closed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
comp.cad.autocad AutoLISP FAQ (part 2/2) - samples, code Reini Urban Tech FAQ 0 06-01-2004 06:30 AM
comp.cad.autocad AutoLISP FAQ (part 2/2) - samples, code Reini Urban Tech FAQ 0 05-01-2004 06:30 AM
[gnu.bash.bug] BASH Frequently-Asked Questions (FAQ version 3.26) Chet Ramey Tech FAQ 0 04-26-2004 11:00 AM
Quarterly ASCII posting of Caldera (SCO) OpenUNIX 8 FAQ Boyd Lynn Gerber Tech FAQ 0 04-25-2004 11:11 PM
vi editor FAQ (Frequently Asked Question List), Part 1/2 E. Larry Lidz Tech FAQ 0 04-19-2004 01:02 AM


All times are GMT -4. The time now is 05:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.