Solved

Telnet directory size in bytes

Posted on 1999-01-14
3
317 Views
Last Modified: 2012-05-04
On a Unix system after telnet'ing into the server what is the command to findout the total bytes in the current directory plus all it's sub-directories and files contained there in?
0
Comment
Question by:timothy1
3 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 2008722
du
0
 
LVL 1

Expert Comment

by:toTo
ID: 2008723
du -sk .
-s to only have the total
-k to have it in kilobytes
 is the current directory
0
 
LVL 1

Accepted Solution

by:
rhugga earned 50 total points
ID: 2008724
to list total amount

du -sk .

To have it print each file, blah blah...

du -sk ./*


0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help stop mail server from sending spam. 27 129
Vmware Vswitch  VS  Redhat  Bridge 1 115
Where to get php 5.6 for AIX 7.1? 5 111
Martian Packets Unix 5 67
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

856 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