Archivo por meses: febrero 2014

Remotely Sleep a Mac with SSH

Comando: pmset sleepnow Use Terminal and SSH to the target Mac, be sure to specify the appropriate user name and IP address: ssh [email protected] Once logged in, type the following command: osascript -e ‘tell application «System Events» to sleep’ There is no warning or hesitation, the target Mac immediately goes to sleep and the SSH… Leer más »

Using lsof utility

lsof is one of the little known but very powerfull utility in Linux. Man pages basically says that lsof: list open files. But you can use it for managing and tracking network connections, you can list open ports, identify connections currently being made to your system, and determine what resources a process is using. Not… Leer más »