Telnet directory size in bytes

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?
timothy1Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
rhuggaConnect With a Mentor Commented:
to list total amount

du -sk .

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

du -sk ./*


0
 
ozoCommented:
du
0
 
toToCommented:
du -sk .
-s to only have the total
-k to have it in kilobytes
 is the current directory
0
All Courses

From novice to tech pro — start learning today.