Changes

Jump to: navigation, search

Lab2 Shell Script Demo 2

5 bytes removed, 11:52, 17 January 2015
no edit summary
# Activated check box returns values (multiple values | symbol )...
items=$(zenity --height 320 --width 290 --text "<b>Current status of VMs:\n(VMs running are not selected to startstop):</b>\n" --list --checklist --column "Session Type" --column "Description" $(awk -F" " '{if ($3 == "running") {print "TRUE " $2 "-running"} else {print "FALSE " $2 "-shutdown"}}' vm-status2.txt))
# Replace pipe "|" with space, and store as positional parameters
13,420
edits

Navigation menu