saving . . . saved du -s *.txt has been deleted. du -s *.txt has been hidden .
du -s *.txt
Title
Question
du -s *.txt, this command gives the file size in which format?

Linux Basics-of-System-Administration 11-12 min 40-50 sec 04-12-20, 10:25 p.m. sanniddhachakrabarti@gmail.com

Answers:

du -s format display only a total size of a file without KB, MB, GB.
The best way is to use du -sh format to get a display size like 1K 234M 2G.
We use 'h' parameter for human-readable format (e.g., 1K 234M 2G)
09-03-21, 12:29 p.m. ganeshmohite


Log-in to answer to this question.