ILS(1)

๐Ÿ“ฆ
version 4.15.0 ยท 2 versions
  • 4.15.0 ยท alpine 3.24, arch rolling, debian bookworm, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 5.0.2 ยท nixos 26.05
, in alpine 3.24, arch rolling, debian bookworm, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

โœจ NAME โœจ

ils โ€” List inode information ๐Ÿ’–


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

ils [-emOpvV] [-f fstype ] [-s seconds ] [-i imgtype ] [-o imgoffset ]
[-b dev_sector_size] image [images] [start-stop]

ils [-aAlLvVzZ] [-f fstype ] [-s seconds ] [-i imgtype ] [-o imgoffset ]
image [images] [start-stop]

๐Ÿ’… DESCRIPTION ๐Ÿ’…

okay so bestie, ils opens up the image(s) you name and justโ€ฆ lists inode information for you. That's the whole vibe. And by default? It only lists the inodes of removed files. Like, it's not gonna dump everything at you unless you ask, because it's polite like that. โœจ

๐ŸŒธ Arguments ๐ŸŒธ

  • -e โ€” List every single inode in the file system. All of them. The whole roster. ๐Ÿ‘‘
  • -f fstype โ€” Specifies the file system type. Wanna know what you're even allowed to put here? Use -f list and it'll list the supported file system types for you. If you don't give it one, autodetection methods are used (it'll figure it out itself, main character energy fr).
  • -s seconds โ€” The time skew of the original system, in seconds. Example so you get it: if the original system was 100 seconds slow, this value would be -100. Yes, negative. Math is math. ๐Ÿงฎ
  • -m โ€” Display the inode details in the format that the mactime program reads. (this replaces the ils2mac script from TCT, so if you were still out here using that, bestieโ€ฆ no you weren't. ๐Ÿ’€)
  • -O โ€” List only inodes of removed files that are still open or executing. This option is short-hand notation for -aL (see the fine controls section below). (this used to be -o, just so you know). ๐Ÿ™ˆ
  • -p โ€” Display orphan inodes (unallocated with no file name). They're out here with no name, no home, just vibes. ๐Ÿฅบ
  • -r โ€” (default) List only inodes of removed files. This option is short-hand notation for -LZ (see the fine controls section below). Like I said โ€” this is the default, so if you don't say anything, this is what you get. ๐ŸŽ€
  • -i imgtype โ€” Identify the type of image file, such as raw. Use -i list to list the supported types. If not given, autodetection methods are used. ๐Ÿฆ‹
  • -o imgoffset โ€” The sector offset where the file system starts in the image. Point it at the right spot, bestie.
  • -b dev_sector_size โ€” The size, in bytes, of the underlying device sectors. If you don't give it, the value in the image format is used (if it exists) or 512-bytes is assumed. So it's got a fallback, she's prepared. ๐Ÿ’…
  • -v โ€” Turn on verbose mode, output to stderr. Chatty mode: activated. ๐Ÿ—ฃ๏ธ
  • -V โ€” Display Version. Just the version. That's it. ๐ŸŒŸ
  • image [images] โ€” The disk or partition image to read, whose format is given with -i. Multiple image file names can be given if the image is split into multiple segments. And here's the cute part: if only one image file is given, and its name is the first in a sequence (e.g., as indicated by ending in '.001'), subsequent image segments will be included automatically. She found the rest of them herself, no cap. ๐Ÿซถ
  • start-stop โ€” Examine the specified inode number or number range. So like, the range, not the whole thing. Targeted. โœจ

๐Ÿงš Fine controls ๐Ÿงš

  • -a โ€” List only allocated inodes: these belong to files with at least one directory entry in the file system, and to removed files that are still open or executing.
  • -A โ€” List only unallocated inodes: these belong to files that no longer exist. Gone. Poof. ๐Ÿ’€
  • -l โ€” List only inodes with at least one hard link. These belong to files with at least one directory entry in the file system.
  • -L โ€” List only inodes without any hard links. These belong to files that no longer exist, and to removed files that are still open or executing.
  • -z โ€” List only inodes that were likely to have not been used.
  • -Z โ€” List only inodes that were likely to be used. (capital letter, different vibe, iykyk ๐Ÿ˜Œ)

๐Ÿ•ฐ๏ธ the output format ๐Ÿ•ฐ๏ธ

The output format is in time machine format. โœจ The output begins with a two-line header that describes the data origin, and is followed by a one-line header that lists the names of the data attributes that make up the remainder of the output. So you always know what you're looking at before the data starts. Organized. Iconic. ๐ŸŽ€

  • st_ino โ€” The inode number.
  • st_alloc โ€” Allocation status: a for allocated inode, f for free inode.
  • st_uid โ€” Owner user ID.
  • st_gid โ€” Owner group ID.
  • st_mtime โ€” UNIX time (seconds) of last file modification.
  • st_atime โ€” UNIX time (seconds) of last file access.
  • st_ctime โ€” UNIX time (seconds) of last inode status change.
  • st_dtime โ€” UNIX time (seconds) of file deletion (LINUX only).
  • st_mode โ€” File type and permissions (octal).
  • st_nlink โ€” Number of hard links.
  • st_size โ€” File size in bytes.
  • st_block0,st_block1 โ€” The first two entries in the direct block address list.

๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ


๐Ÿ“œ LICENSE ๐Ÿ“œ

This software is distributed under the IBM Public License. Read it, it's important. ๐Ÿ’–


๐ŸŒˆ HISTORY ๐ŸŒˆ

First appeared in The Coroners Toolkit (TCT) 1.0. A true OG. ๐Ÿ‘‘


๐Ÿ‘‘ AUTHOR(S) ๐Ÿ‘‘

  • Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA
  • This version is maintained by Brian Carrier (carrier at sleuthkit dot org)
  • Send documentation updates to doc-updates at sleuthkit dot org

and that's the whole page, bestie ๐Ÿซถ this one's from the General Commands Manual, and you'll find it filed under ILS(1). go forth and list those inodes. periodt. ๐Ÿ’…โœจ
๐Ÿ“ฆ where this page comes from