TLDR
Enter a command. For example: hardinfo, lvremove, fallocate.

filefrag

 
Report how badly fragmented a particular file might be. More information: https://manned.org/filefrag.
 
  • Display a report for a specific file:
     
    filefrag {{path/to/file}}
     
  • Display a report for space-separated list of files:
     
    filefrag {{path/to/file1}} {{path/to/file2}}
     
  • Display a report using a 1024 byte blocksize:
     
    filefrag -b {{path/to/file}}
     
  • Sync the file before requesting the mapping:
     
    filefrag -s {{path/to/files}}
     
  • Display mapping of extended attributes:
     
    filefrag -x {{path/to/files}}
     
  • Display a report with verbose information:
     
    filefrag -v {{path/to/files}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.