lsof command is used to obtain information about files opened by a process. In
linux , everything is a file. The
lsof command can view all opened files, such as: ordinary files, directories, special block files, pipes,
socket sockets, devices,
Unix domain sockets, etc.
lsof needs to be executed as
Syntax format: lsof [parameter] [file]
This article is reprinted from https://xugaoxiang.com/2022/06/16/linux-cmds-60-lsof/
This site is for inclusion only, and the copyright belongs to the original author.