Exam GCIH All QuestionsBrowse all questions from this exam
Question 142

Which netcat command will listen on port 2222 for connections from a remote system (10.0.0.1)?

    Correct Answer: D

    To listen on port 2222 for incoming connections from a remote system using netcat, you use the command that includes the -l (listen) switch specifying the port. The correct command is `nc.exe -l -p 2222`, but there is a typographical mistake in the option where '1' should be 'l'. Hence, the correct answer based on the options given would be D, assuming '1' is a typographical error for 'l'.

Discussion
Vikt0rOption: B

Correct answer is B. Options A, C, and D contain syntax errors or incorrect options for achieving the specified task.

davidkocOption: D

It's D but '1' is supposed to be 'L'