Prepare for the Ethical Hacking Essentials Test. Study with flashcards and multiple-choice questions, each exam includes hints and explanations. Get ready to ace your certification exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


In the Nbtstat command syntax, which parameter is used to purge the name cache?

  1. -R

  2. -c

  3. -n

  4. -s

The correct answer is: -R

The parameter used in the Nbtstat command to purge the name cache is indeed -R. This command is essential for managing and troubleshooting NetBIOS names and their associated cache. When the -R option is specified, it tells the system to purge the entire cache of NetBIOS names and reload the resolved names from the remote WINS servers. This is particularly useful if there are issues with name resolution or if stale entries need to be refreshed. The other parameters serve different functions: -c displays the current contents of the name cache, -n shows the local NetBIOS names that are registered with the system, and -s is used to display the sessions and connections established with other computers. Each parameter serves its unique purpose in managing NetBIOS names and connections, but only the -R option performs the cache purging function, making it the correct answer for this query.