Answer Posted / hr@tgksolutions.com
The du command, standing for "disk usage", can be employed to ascertain the size of files and directories. du -sh filename would display the size of a file, while du -sh directory_name reveals the total size of a directory. The -s provides a summary and -h displays sizes in a human-readable format (like KB, MB). It's an invaluable command for monitoring space utilisation and managing storage effectively.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is awk used for?
Describe the zip/unzip command using gzip.
What is the use of find command in unix?
What is time_t?
What is the use of tee command?
what is the advaantage of each user having its own copy of the shell?
Why is awk called awk?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is the use of sed command in unix?
Using unix command how to display no of records in oracle?
What is ctrl d?
What do chmod command do?
Which command is used to create a directory?
Does cp command overwrite files?
What is $0 bash?