Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
跟我学shell之:选择菜单
社区开发
1696
views ·
2
replies ·
To
floor
Go
海天鹰
deepin
2018-03-27 01:49
Author
#清屏
printf "\033c"
echo " Linux 常用软件下载:"
echo "1 Chrome"
echo "2 Firefox"
echo "0 退出"
while true
do
echo "请选择:"
read input
case $input in
1)
echo "下载 Chrome:"
wget -N
https://dl.google.com/linux/dire ... e_current_amd64.deb
;;
2)
echo "下载 Firefox:"
wget -N
https://download-ssl.firefox.com ... test-x86_64.tar.bz2
;;
0)
echo "退出"
exit
;;
*)
echo "输入错误!"
;;
esac
done
Reply
Like 0
Favorite
View the author
All Replies
lulinux
deepin
2018-03-27 02:30
#1
我喜欢用zenity菜单,有GTK3界面,酷。
Reply
Like 0
View the author
isunny
deepin
2018-03-27 06:50
#2
可以模拟浏览器吗 ?
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
How to fix grub boot menu that has disappeared?
Looking Deepin ci 25.2.0 Developer/Unstable repositories
Popular Events
More
printf "\033c"
echo " Linux 常用软件下载:"
echo "1 Chrome"
echo "2 Firefox"
echo "0 退出"
while true
do
echo "请选择:"
read input
case $input in
1)
echo "下载 Chrome:"
wget -N https://dl.google.com/linux/dire ... e_current_amd64.deb
;;
2)
echo "下载 Firefox:"
wget -N https://download-ssl.firefox.com ... test-x86_64.tar.bz2
;;
0)
echo "退出"
exit
;;
*)
echo "输入错误!"
;;
esac
done