4

[ubuntu] Have an issue with my bash script

view full story
linux-howto

http://ubuntuforums.org – Hi all, Now my problem is with a bash script which I managed to cook up with the help of angry_jhonny. The script runs but says permission denied when I give the device path then after the second function it exits. The bash file is listed below. Code: #!/bin/bash device=$(zenity --entry --text "Enter USB Device Number?") if $device then exit 0 fi volname=$(zenity --entry --text "What is the volume name?") if $voname then exit 0 fi volid=$(zenity --entry --text "What is the volume id?") if $volid then exit 0 fi sourc=$(zeni (Hardware)