# netstat -lnp and you may not need lsof ;)
Stef On Tuesday 27 May 2003 02:01 pm, Bear Giles wrote: > Price Mark G Contr ANG/C4 wrote: > > What is the best way to find out what port you are using? > > At bit more generally, on Unix/Linux you can use "netstat -l" to > list all of the "listeners", then use lsof or fuser to identify > the owning process. --------------------------------------------------------------------------- ----------------------------------------------------------------------------
