LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-19-2015, 07:48 AM   #1
MVnD3X
LQ Newbie
 
Registered: Dec 2015
Posts: 3

Rep: Reputation: Disabled
any equivalent of CMD in Linux


Hello All,

I am newbie to Linux

Problem Scenario :

The following command is window based, I wanted to execute same command in Linux. Is there any equivalent of CMD in linux or in other word how do I bind terminal to port 4444 in Ubuntu

ncat –exec cmd.exe –allow [IP] –vnl 4444 –ssl

Thanks in advance
 
Old 12-19-2015, 09:40 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the terminal


but an equivalent to the GARBAGE!!!! Microsoft calls "cmd.exe"
there is NO garbage like that

just REAL shells

bash is the default interface to the shell
 
Old 12-20-2015, 02:44 AM   #3
MVnD3X
LQ Newbie
 
Registered: Dec 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks ...finally got it working.
 
Old 12-20-2015, 06:03 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
how? please share your solution.
linux forums are a 2-way street.
 
Old 12-20-2015, 10:10 AM   #5
MVnD3X
LQ Newbie
 
Registered: Dec 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
I used following command to get the shell on Ubuntu .

ncat exec /bin/bash/ allow [IP] vnl 4444 ssl

and it worked
 
  


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
Issue sg_modes cmd at cmd line, want to see the cmd in binary form NuUser Linux - Newbie 1 03-28-2012 08:08 AM
equivalent Linux command for windows start cmd alix123 Programming 4 11-16-2008 06:06 PM
Linux equivalent of WinXP's cmd.exe /c zhou059 Linux - Software 1 06-22-2007 12:39 PM
Equivalent cmd for "wlanctl-ng ..." inthefuture Linux - Wireless Networking 0 07-01-2004 09:55 PM
Is there an equivalent cmd to "chkconfig (redhat)" in Debian? davidas Debian 3 04-08-2004 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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