CORE(1)

πŸ“¦ version 0_git20260208, in alpine 3.24, arch rolling, nixos 26.05, nixpkgs unstable

πŸ’€ CORE(1) β€” like, the whole vibe πŸ’€

okay bestie, real talk: this is from the General Commands Manual, section 1, and it's about finding out what even happened to a process that died. dead process forensics, main character energy. let's go 🫢


✨ NAME ✨

core β€” print information about dead processes πŸ’€βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

core [ dir | corefile ]...

🌸 DESCRIPTION 🌸

core prints information about dead processes that have been saved as core dumps. yes. the little corpse files. and core is the forensic analyst with the tiny sunglasses. πŸ˜ŽπŸ’…

core reads its arguments in order. like, it literally goes one by one, no skipping, no shuffling, in order, periodt. if a directory comes up in that lineup, core reads every core file named core.* or *.core in that directory. every single one. it's thorough like that 🧚

for each core file it reads, core prints:

  • the command stack file
  • the date and time the core was generated πŸ•°οΈ
  • the command that generated it

and the stack command β€” if it gets run β€” prints a stack trace of the executing thread at the time of the core dump. see db(1) for that one, iykyk πŸ”₯

ok now the part where you don't have to type anything at all: if no arguments are given, core searches the directory $COREDIR for core files. and if $COREDIR is not set, it searches the current directory. so it just. finds them. on its own. iconic behavior honestly πŸ‘‘

πŸ¦‹ SOURCE πŸ¦‹

/src/cmd/core.c

🌈 SEE ALSO 🌈


and that's the whole thing, bestie β€” go read some dead processes, you got this πŸ’–βœ¨

πŸŽ€ sign-off: this was page CORE(1) from the General Commands Manual, and the source lives at /src/cmd/core.c β€” that's the whole footer, no cap. bye bye!! πŸ¦‹πŸŒΈπŸ’œ