Ubuntu Pastebin

Paste from ioria at Tue, 27 Sep 2016 19:27:45 +0000

Download as text
1
2
3
4
5
6
activity=$(zenity  --list  --text "Please select the option" --radiolist  --column "Select" --column "Activity" FALSE "Option 1" TRUE "Option 2" );
case "$activity" in
    *"Option 1"* ) ls ;;
    *"Option 2"* ) ls -l ;;
    * ) echo "Error...";;
esac
Download as text