[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 355
  • Last Modified:

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?
0
timothy1
Asked:
timothy1
1 Solution
 
ozoCommented:
du
0
 
toToCommented:
du -sk .
-s to only have the total
-k to have it in kilobytes
 is the current directory
0
 
rhuggaCommented:
to list total amount

du -sk .

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

du -sk ./*


0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now