Skip to content

Instantly share code, notes, and snippets.

@spuder
Last active December 21, 2015 23:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spuder/6383925 to your computer and use it in GitHub Desktop.
Save spuder/6383925 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "
alias 'pfind'='ps aux |grep '
alias 'mhome'='cd /opt/moab/currentMoab && ls'
alias 'thome'='cd /var/spool/torque/currentTorque && ls'
" > /etc/profile.d/spencer.sh
@spuder
Copy link
Author

spuder commented Aug 29, 2013

This script sets up some aliases for all users. Useful for openstack environments:

sudo git clone git://gist.github.com/6383925.git /tmp/spencerEnvironment
sudo /tmp/spencerEnvironment/install.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment