Tag Info

Hot answers tagged

3

The /proc file system will list exactly this information: $ ls -l /proc/self/fd total 0 lrwx------ 1 michas users 1 Apr 6 04:44 0 -> /dev/pts/0 lrwx------ 1 michas users 1 Apr 6 04:44 1 -> /dev/pts/0 lrwx------ 1 michas users 1 Apr 6 04:44 2 -> /dev/pts/0 lr-x------ 1 michas users 1 Apr 6 04:44 3 -> /proc/6934/fd $ ls -l /proc/self/fd ...


1

man ssh -L [bind_address:] port:host:hostport Specifies that the given port on the local (client) host is to be forwarded to the given host and port on the remote side. This works by allocating a socket to listen to port on the local side, optionally bound to the specified bind_address. Whenever a connection is made to this port, the ...



Only top voted, non community-wiki answers of a minimum length are eligible