Telnet directory size in bytes

Posted on 1999-01-14
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?
Question by:timothy1
LVL 84

Expert Comment

ID: 2008722

Expert Comment

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

Accepted Solution

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

du -sk .

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

du -sk ./*


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Audit HISTFILE for all users on AIX 9 106
LastLogonTimeStamp Attribute 7 48
Invalid password trying to cannect to Unix server 2 68
help pulling data string using Awk 9 62
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. Please see for the updated article. It is avail…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

914 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

15 Experts available now in Live!

Get 1:1 Help Now