ofl(1)
β¨ ofl β open file lister β¨
okay so bestie, this is a page from the hxtools manual β section 1, commands, iykyk π
β and it's about a lil tool called ofl. she's giving "who's touching my files" energy and honestly? iconic.
πΈ SYNTAX πΈ
ofl [-P] [-k signalspec] path[...]
that's it. that's the whole vibe. paths, plural, you can pass so many π«Ά
π¦ DESCRIPTION π¦
ofl lists all the processes that have directories or files open or in use within path. like, every single one. no cap.
and bonus feature bestie β it can also send a signal to those processes, which is lowkey the whole point if you're trying to free up a mountpoint, for example. π
π OPTIONS π
-ksignalspec β send the given signal to all processes that match. girlboss move tbh.-Pβ show only the PIDs</> of the processes that matched. no extra noise, just numbers. minimalist queen. π
π DIFFERENCES TO lsof/fuser π
this is the part where ofl ate and left no crumbs:
lsof /home/userandfuser /home/userwould not list processes that have a descriptor open on/home/user/subdir. π like, they just wouldn't. embarrassing for them honestly.fuser -m /home/subdirwould automatically go down to the root of a vfsmount (e.g./home) and list all processes, instead of limiting to/home/subdir. that's giving "oversharing" energy fr fr βoflstays in its lane π§
β SEE ALSO β
go read it bestie, it's the whole family π
k so that's the page!! written by the hxtools girlies, dated 2008-11-01 β a classic, a legend, an absolute era πβ¨ mwah, bye!! π
π¦ where this page comes from
- debian bookworm: hxtools 20221119-1 Β· MIT
- debian trixie: hxtools 20231224-2+b2 Β· MIT
- nixos 26.05: hxtools 20251011
- nixpkgs unstable: hxtools 20251011
- opensuse-leap 16.0: ofl 20231224-bp160.1.12 Β· GPL-2.0-or-later AND WTFPL
- opensuse-leap 16.0: ofl 20231224-bp160.1.12 Β· GPL-2.0-or-later AND WTFPL
- opensuse-leap 16.0: ofl 20231224-bp160.1.12 Β· GPL-2.0-or-later AND WTFPL
- opensuse-leap 16.0: ofl 20231224-bp160.1.12 Β· GPL-2.0-or-later AND WTFPL
- ubuntu jammy: hxtools 20211204-1 Β· GPL-2.0-or-later OR GPL-2+3 OR WTFPL
- ubuntu noble: hxtools 20231224-2ubuntu1 Β· MIT
- ubuntu questing: hxtools 20231224-2ubuntu1
- ubuntu resolute: hxtools 20251011-1 Β· MIT
- ubuntu stonking: hxtools 20251011-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms