Actually, if you just entered '
/etc/hostconfig', the command is incomplete - or rather you are issuing a command to run the file '
hostconfig' as a programme, and since it shouldn't have permissions set making it executable, a "permission denied" error results. The full command is to use the '
grep' tool to search for the string '
ARDAGENT' in the file '
/etc/hostconfig':<pre>grep ARDAGENT /etc/hostconfig</pre>But you don't really need to use the command line to view the file - if you enter "file:///etc/hostconfig" into your web browser's address bar, it should either open the file directly, download a copy of the file to your default download location, or open the "/etc" folder with the "hostconfig" file highlighted, depending on the browser. If the file isn't displayed directly by the browser, the file's icon can be dragged to the "TextEdit" icon to open and view it.
To look for processes, you can use "/Applications" > "Utilities" > "Activity Monitor.app", choose to display "All Processes" from the pulldown menu in the toolbar, and click on the "Process Name" column header to sort processes alphabetically to look for the three processes associated with remote desktop. I suspect you won't find that ard is running, but hopefully this will put your mind at ease...