Mac Cheatsheets

Schedule a sleep/wake/shutdown/restart/poweron/wakeorpoweron M = Monday T = Tuesday W = Wednesday R = Thursday F = Friday S = Saturday U = Sunday sudo pmset shutdown “01/01/2017 05:00:00” sudo pmset repeat restart MTWRFSU 01:00:00 All schedules are stored in the following file /Library/Preferences/SystemConfiguration/com.apple.AutoWake.plist CPU Throttling # To turn off…

Continue reading

Linux/Ubuntu Cheatsheets

APT-GET COMMAND sudo apt-get install program-name SERVICE COMMAND sudo service service_name status sudo service service_name stop sudo service service_name start INTERFACE CONFIGURATION FILES sudo vi /etc/network/interfaces RESTART NETWORK SERVICE sudo /etc/init.d/networking restart SOFTWARE SHOULD BE INSTALLED sudo apt-get install openssh-server DETECT NETWORK CARD sudo sudo lshw -C network ifconfig -a…

Continue reading