Display the Disk Usage of file sizes under each directory
in currentDirectory ?
Answers were Sorted based on User's Feedback
Answer / pravin
du -h gives you the human redable answer in KB,MB or GB use
of the disk
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / somnath ghosh
du -h --max-depth=1 command will show the result.
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / naresh
du -ah
above command will show the size of file and directory under
the current directory.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / pavan.r
du -sh <file or folder> it will give the file or folder
used how much space
df -Th </dev/sdax> it will show u in this partiton howmuch
space is used and free space with file system
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / shaik nizamoddin
du -k
It displays Disk Usage of file sizes under each directory
in currentDirectory.
| Is This Answer Correct ? | 1 Yes | 1 No |
How do you view the contents of a file in Linux?
What is an inode?
3 Answers ProdEx Technologies,
How do I run a shell script?
How did you do the Health check in Linux?
why is the tar command used?
What does the 'cd' command do in Linux?
What is trusted/untrusted operating system?
What is llvm used for?
Compare between SYS V launched processes and Xinetd processes in Linux.
What is the command to see on which port which service is running? And what is the difference between /etc/services file and net stat command?
i am prepairing for 2+ yrs exp in oracle/unix production support, which topics should i cover in unix/linux and sql plz help
Write a cron entry for the following scenario:- At 10:30 AM for every Sunday of every 1st month of a quarter.