Forrest logo
back to context overview

file

List of commands for file:

  • file:tldr:1c6c1 file: Don't stop at first file type match; keep going until the end of the file.
    $ file -k ${filename}
    try on your machine
    explain this command
  • file:tldr:1d0cc file: Determine the MIME encoding type of a file.
    $ file -i ${filename}
    try on your machine
    explain this command
  • file:tldr:72f73 file: Give a description of the type of the specified file. Works fine for files with no file extension.
    $ file ${filename}
    try on your machine
    explain this command
  • file:tldr:77634 file: Allow file to work with special or device files.
    $ file -s ${filename}
    try on your machine
    explain this command
  • file:tldr:97dfd file: Look inside a zipped file and determine the file type(s) inside.
    $ file -z ${foo-zip}
    try on your machine
    explain this command
back to context overview