For a socket file likes this:  # ls -alti socket14112 srw------- 1 root root 0 Nov 15 20:03 socket# cat socketcat: socket: No such device or addressSince cat command is useless here, is there any method to get more info about the socket file? Such as which port it is listening on? etc.
How to get more info about socket file?
linux;filesystems;socket
A socket is a file for processes to exchange data. You can see more data about it using the netstat, lsof, and fuser commands.From Wikipedia : https://en.wikipedia.org/wiki/Unix_domain_socketA Unix domain socket or IPC socket (inter-process communication socket) is a data communications endpoint for exchanging data between processes executing on the same host operating system. Like named pipes, Unix domain sockets support transmission of a reliable stream of bytes (SOCK_STREAM, compare to TCP).