6 articles Macintosh

Mac OS, iPhone, IPad and all things Apple.

Change Mac Software Update Server to a local server

If you are not using Client Management, use the defaults command in Terminal to point unmanaged client computers to a Software Update server. You must be an administrator to use the defaults command. On the unmanaged client, open Terminal enter the following command: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://su.example.com:8088/index.sucatalog Substitute your Software Update Server’s fully…

Show disk usage in descending order

If you need to find the amount of disk space being consumed in Linux/Unix, you can show it recursively through your directories as follows. $ du -ks * | sort -gr 11927760 Library 7729280 Desktop 5408572 Music 118840 Downloads 99740 Pictures 79668 zabbix 74300 Documents 1048 Sites 856 Movies 300 Applications 228 macserv-snmpwalk.txt 8 yo_zimbra_template.xml…

Enable color coding when using the ls command

By default color coding is disabled for the ”’ls”’ command under Ubuntu. If you wish to enable it simply add the following to your ”’.bashrc”’ file alias ls=’ls –color=auto’ Note: This is different than enabling color coding under Mac OSX as documented. If you wish for color coding when using the ”’ls”’ command under Mac…