Forrest logo
back to context overview

fuser

List of commands for fuser:

  • fuser:tldr:00c50 fuser: Identify processes using a TCP socket.
    $ fuser --namespace tcp ${port}
    try on your machine
    explain this command
  • fuser:tldr:12ff7 fuser: Show more fields (`USER`, `PID`, `ACCESS` and `COMMAND`).
    $ fuser --verbose ${filename_or_directory}
    try on your machine
    explain this command
  • fuser:tldr:1787a fuser: Kill all processes accessing a file or directory (sends the `SIGKILL` signal).
    $ fuser --kill ${filename_or_directory}
    try on your machine
    explain this command
  • fuser:tldr:6186e fuser: Kill all processes with a TCP connection on a specific port.
    $ fuser --kill ${port}/tcp
    try on your machine
    explain this command
  • fuser:tldr:85149 fuser: Find which processes are accessing the filesystem containing a specific file or directory.
    $ fuser --mount ${filename_or_directory}
    try on your machine
    explain this command
  • fuser:tldr:a35d8 fuser: Find which processes are accessing a file or directory.
    $ fuser ${filename_or_directory}
    try on your machine
    explain this command
back to context overview