Hot answers tagged command-line
Your Bash prompt is not properly escaped for non-printing characters, so it thinks the prompt is longer than it truly is (and doesn't delete some of the characters). To fix it, add \[ and \] around the invisible parts. You need to change it to: export PS1='\[\e[31m\]\W\[\e[0m\] '
You can install coreutils with brew install coreutils. shuf will be linked as gshuf. Read the caveats when you install coreutils.
easy_install is part of setuptools. There's a handy script to bootstrap it: curl https://bootstrap.pypa.io/ez_setup.py -o - | python You may need to put sudo before python if it throws a permissions error. There's a few more details here: https://pypi.python.org/pypi/setuptools#installation-instructions but that one-liner should do the trick in most ...
Only top voted, non community-wiki answers of a minimum length are eligible