Commands in terminal [on hold]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
0
down vote

favorite












i recently downloaded linux, to Virtual Machine.
I want to build a script that will write to the terminal netcat command and will get a text from the netcat command respond,
Ex:



!nc 0.0.0.0 11111
*say Hellow
!Hellow
!terminal command
*server respond


My question:
Is it possible to do with java or python? (I'd prefer java)



A bit like



  • Get info from teminal

  • Resend the text after the string "say "

how can i resend the data that came from server? via java







share|improve this question













put on hold as too broad by roaima, Jesse_b, Thomas, Kusalananda, Jeff Schaller yesterday


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • You could... but you're probably better off using a shell script and expect.
    – Ignacio Vazquez-Abrams
    yesterday






  • 1




    What do the stars and exclamation marks represent?
    – roaima
    yesterday










  • The almighty google throws up a number of results such as Expect-for-Java
    – steeldriver
    yesterday
















up vote
0
down vote

favorite












i recently downloaded linux, to Virtual Machine.
I want to build a script that will write to the terminal netcat command and will get a text from the netcat command respond,
Ex:



!nc 0.0.0.0 11111
*say Hellow
!Hellow
!terminal command
*server respond


My question:
Is it possible to do with java or python? (I'd prefer java)



A bit like



  • Get info from teminal

  • Resend the text after the string "say "

how can i resend the data that came from server? via java







share|improve this question













put on hold as too broad by roaima, Jesse_b, Thomas, Kusalananda, Jeff Schaller yesterday


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • You could... but you're probably better off using a shell script and expect.
    – Ignacio Vazquez-Abrams
    yesterday






  • 1




    What do the stars and exclamation marks represent?
    – roaima
    yesterday










  • The almighty google throws up a number of results such as Expect-for-Java
    – steeldriver
    yesterday












up vote
0
down vote

favorite









up vote
0
down vote

favorite











i recently downloaded linux, to Virtual Machine.
I want to build a script that will write to the terminal netcat command and will get a text from the netcat command respond,
Ex:



!nc 0.0.0.0 11111
*say Hellow
!Hellow
!terminal command
*server respond


My question:
Is it possible to do with java or python? (I'd prefer java)



A bit like



  • Get info from teminal

  • Resend the text after the string "say "

how can i resend the data that came from server? via java







share|improve this question













i recently downloaded linux, to Virtual Machine.
I want to build a script that will write to the terminal netcat command and will get a text from the netcat command respond,
Ex:



!nc 0.0.0.0 11111
*say Hellow
!Hellow
!terminal command
*server respond


My question:
Is it possible to do with java or python? (I'd prefer java)



A bit like



  • Get info from teminal

  • Resend the text after the string "say "

how can i resend the data that came from server? via java









share|improve this question












share|improve this question




share|improve this question








edited yesterday
























asked yesterday









Timor

11




11




put on hold as too broad by roaima, Jesse_b, Thomas, Kusalananda, Jeff Schaller yesterday


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






put on hold as too broad by roaima, Jesse_b, Thomas, Kusalananda, Jeff Schaller yesterday


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.













  • You could... but you're probably better off using a shell script and expect.
    – Ignacio Vazquez-Abrams
    yesterday






  • 1




    What do the stars and exclamation marks represent?
    – roaima
    yesterday










  • The almighty google throws up a number of results such as Expect-for-Java
    – steeldriver
    yesterday
















  • You could... but you're probably better off using a shell script and expect.
    – Ignacio Vazquez-Abrams
    yesterday






  • 1




    What do the stars and exclamation marks represent?
    – roaima
    yesterday










  • The almighty google throws up a number of results such as Expect-for-Java
    – steeldriver
    yesterday















You could... but you're probably better off using a shell script and expect.
– Ignacio Vazquez-Abrams
yesterday




You could... but you're probably better off using a shell script and expect.
– Ignacio Vazquez-Abrams
yesterday




1




1




What do the stars and exclamation marks represent?
– roaima
yesterday




What do the stars and exclamation marks represent?
– roaima
yesterday












The almighty google throws up a number of results such as Expect-for-Java
– steeldriver
yesterday




The almighty google throws up a number of results such as Expect-for-Java
– steeldriver
yesterday















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)