Solved

Telnet directory size in bytes

Posted on 1999-01-14
3
299 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

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. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ 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