Can you tell me the unit of file size that comes out when I do Linux ls -s?
linux linux-kernel algorithm
ls -s tells you how many blocks are in use.
The disk is not recorded in bytes, but in blocks. If you write a 1KB block, the disk will have four blocks, or 4KB, even if it is 3.3KB.
Jung Doo-sik explained it well. In addition, ls -sk
shows the allocated size in kilobyte units.
Additionally, if ls -lh is used, KB and MB are attached to show.
571 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
616 Uncaught (inpromise) Error on Electron: An object could not be cloned
609 GDB gets version error when attempting to debug with the Presense SDK (IDE)
910 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.