LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

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
carbonfiber
Member
 
Registered: Sep 2009
Location: Sparta
Posts: 237

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

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:24 AM.

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