lubuntu18.04如何用命令行打开一个应用(application)
以应用Telegram 为例
1.编辑默认途径
echo $PATH
/home/username/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
2.查找需要打开应用的PATH
ln -s ~/Downloads/Telegram
Telegram/ Telegram Desktop/
3.进一步定位应用PATH,按键Tab
Telegram Updater
4.建立超链接
ln -s ~/Downloads/Telegram/Telegram ~/.local/bin/
chardetect tqdm
5.再次确认Telegram 的path
which Telegram
/home/username/.local/bin/Telegram
6.command打开应用 Telegram
Telegram