Dear Kevin, Jeff et al...

This is how tired:
(find code at https://github.com/flintiii/pydonna/blob/master/pydonna.sh)

<begin code>
#!/bin/bash
# 2016-12-15 07:34:05 pflint
# pydonna.sh - A shell tribute to Madonna...
if [ "$(id -u)" != "0" ]; then
   echo "This script need to run as root, and you are not root"; exit 1>&2
fi
echo "Like a Version: This system contains the following versions of python..."
cd /usr/bin
ls -1 /usr/bin | grep python |tr -d "python" |grep ^[0-9] |grep -v "[a-zA-Z]" | sort -n |uniq
echo "Enter the number of the version you want to use"
read version
echo "ln -s "python$version" python"
read -p "Press [Enter] to reset link as shown above"
rm -rf /usr/bin/python
ln -s python$version python
<end code>

To install:
1. Copy code to pydonna.sh
2. chmod +x pydonna.sh
3. take root then ln -s <file> /usr/bin/pydonna

Go forth and sin no more!  (pun intended :^)

Kindest Regards,



Paul Flint
(802) 479-2360
(802) 595-9365 Cell

/************************************
Based upon email reliability concerns,
please send an acknowledgment in response to this note.

Paul Flint
Barre Open Systems Institute
17 Averill Street
Barre, VT
05641

http://www.bosivt.org
http://family.flint.com/flint
skype: flintinfotech
Work: (202) 537-0480

Consilium _ gratuitum .~. ASCII ribbon campaign ( )
valet            /V\      against HTML e-mail   X
quanti /( )\ www.asciiribbon.org / \ numerantur ^^-^^

Reply via email to