Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-09-2010, 12:21 AM   #1
Senior Member
Registered: May 2008
Distribution: Slackware
Posts: 1,049

Rep: Reputation: 70
If I have a nc process running and listening on a port...

I am basically waiting for another computer to connect to it. I started the with program with nc -vlp 5534 &

If I check with lsof -i and see that later on it's connected, how would I interact with that process?

I'm guessing some command plus the pid?
Old 02-09-2010, 01:03 AM   #2
Senior Member
Registered: May 2008
Distribution: Slackware
Posts: 1,049

Original Poster
Rep: Reputation: 70
Nevermind, learned to use screen, I like it man. At first seems intimidating. But after a few mins, it's really easy to operate. I like it a lot actually.
Old 02-09-2010, 01:23 AM   #3
Registered: Sep 2009
Location: Sparta
Posts: 237

Rep: Reputation: 46
Thanks for sharing.
Old 02-09-2010, 01:35 AM   #4
LQ Newbie
Registered: Feb 2010
Posts: 5

Rep: Reputation: 0
I like use "google"。^_^,you can ask for help using "man"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to kill the process running on specific port in linux rajaniyer123 Linux - General 2 12-01-2009 05:35 PM
System Not Listening for port 23, telnet installed and running john_lotz Linux - Networking 7 02-05-2009 10:12 AM
Checking on which port what process is running ashwini.naidu Linux - Newbie 5 01-05-2009 06:41 AM
Bind - Address already in use - How to get process listening on the port in C? hgrover Linux - Networking 0 03-21-2008 01:52 AM
Running a chat listening process infinitly. j0hn_galt Programming 5 12-06-2005 09:44 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration