Bash Menu Options Selections Linux Example

View previous topic View next topic Go down

Bash Menu Options Selections Linux Example

Post by jamied_uk on 10th August 2016, 13:43





Code:
#!/bin/bash
select fname in *;
do
    echo you picked $fname \($REPLY\)
    break;
done
avatar
jamied_uk
Admin

Posts : 2191
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Bash Menu Options Selections Linux Example

Post by jamied_uk on 13th July 2017, 02:29

Example 2



jnet.forumn.biz/t1530-linux-mint-18-2-firewall-shell-commands-scripts#2288
avatar
jamied_uk
Admin

Posts : 2191
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum