Category: Linux
Bash script to check health checks of multiple servers
I had to check over 20 servers to verify they were updated with a new build. The servers had a health check page that had this information along with whether the server was up-and-running. I wrote this quick-and-dirty bash script to do just that. for i in jetson1 jetson4; do for j in {1..10}; do…
osx – Command to unlock “Locked” files on OS X – Super User
chflags -R nouchg /PATH/TO/DIRECTORY/WITH/LOCKED/FILES/ Source: osx – Command to unlock “Locked” files on OS X – Super User
chmod Shortcuts
Shortcut for ‘u’ = user; ‘g’ = group, and ‘o’ = others. chmod go=rx wordmatic chmod a=rwx calcmatic via chmod Shortcuts.
How to install No-IP Linux Dynamic Update Client (DUC) on your Ubuntu 12.04 LTS
Archiving from here. You will be able to install No-IP.com’s DUC in just a few minutes with terminal. Once you have opened up your terminal window you will need to login as the “root” user. You can become the root user from the command line by entering “sudo -s” followed by the root password on…
Check memory usage of processes in sorted order in Linux
From the terminal, type: ps -eo pmem,pcpu,rss,vsize,args | sort -k 1 -r | more
Mounting network folders using SSH on OS X Lion
It’s easy as clapping your hands! Just get Macfusion and use the GUI to mount to any *nix-based systems.