Skip to content

Instantly share code, notes, and snippets.

@gjreda
Last active April 11, 2017 03:45
Show Gist options
  • Save gjreda/75cf59f674ba7606bdde6a0e3b63ce04 to your computer and use it in GitHub Desktop.
Save gjreda/75cf59f674ba7606bdde6a0e3b63ce04 to your computer and use it in GitHub Desktop.
Random bash one-liners that are useful but I always forget
# Installing/upgrading old requirements.txt from python2 to python3
sed s/\=/\ /g requirements.txt | awk '{print $1}' | xargs -n1 pip3 install --upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment