Dec 19, 2017 If the answer is the second one, take these steps to toss away the application: Launch the Finder. Find and place Dr. Cleaner inside the ‘Applications’ folder. Right-click on the Trash bin to select Empty Trash feature.
A question on the Macaddict forums asked how to disconnect other users from an OS X machine using the terminal. One method, courtesy of an experienced UNIX-using friend of mine, is as follows:
1) Type ps aux | grep username, where username is the short name of the user you wish to disconnect.
2) Look for the shell process for the user in question in the 'ps' output. If your users use the standard (tcsh) shell, the process name will be -tcsh (tcsh).
3) Note the process number in the second column. For this example, assume it's 123.
4) Type kill -15 123, where 123 is the actual process number you found in step two. My admittedly poor interpretation of this step is that it attempts to nicely end the processes associated with the user. I'm sure that's not completely correct, but it is the general idea.
5) Type kill -9 123, where 123 is the actual process number from step two. This will end the user's session for certain.
I haven't tried this one myself yet, but I fully expect it will work. Are there other (easier, cleaner?) ways to log out a user from the terminal?
1) Type ps aux | grep username, where username is the short name of the user you wish to disconnect.
2) Look for the shell process for the user in question in the 'ps' output. If your users use the standard (tcsh) shell, the process name will be -tcsh (tcsh).
3) Note the process number in the second column. For this example, assume it's 123.
4) Type kill -15 123, where 123 is the actual process number you found in step two. My admittedly poor interpretation of this step is that it attempts to nicely end the processes associated with the user. I'm sure that's not completely correct, but it is the general idea.
5) Type kill -9 123, where 123 is the actual process number from step two. This will end the user's session for certain.
I haven't tried this one myself yet, but I fully expect it will work. Are there other (easier, cleaner?) ways to log out a user from the terminal?