【求助】怎么给工具添加环境变量啊
Tofloor
poster avatar
dgg
deepin
2019-01-27 00:20
Author

如 apt-get install sqlmap后,直接运行sqlmap就直接运行这个工具了,但是源里面没有的工具怎么添加到环境变量啊。

python的工具,每次执行都要通过 python 工具.py    这样才能执行,请问怎么通过直接在终端里面直接输入软件名就直接运行啊。谢谢
修改成这样的。而不是python sqlmap.py



Reply Favorite View the author
All Replies
avatar
cosct
deepin
2019-01-27 03:51
#1
可以设置一个别名
Reply View the author
avatar
dgg
deepin
2019-01-27 07:39
#2
https://bbs.deepin.org/post/174268
可以设置一个别名

ok,非常感谢,成功解决                          
Reply View the author