Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
跟我学shell之:选择菜单
社区开发
1725
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
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[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
Taskbar no longer shows popups
Four agent skills for laptop power, sleep, and honest bug reports
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