http://ss64.com/pass/command-line.html
非常感谢
发布于 2016-08-28 02:31:08
首先,在本例中,将模块从Zip文件解压缩到您的主目录:
# pipe from-zipfile a-contained-file to a-new-file
unzip -p strongpw.zip strongpw_bash_module/strongpw.bash > ~/strongpw.bash
然后将以下行添加到~/.bashrc
文件中:
. ~/strongpw.bash
~/.bashrc
的内容在每个新的交互式bash的开头运行。. FILENAME
使~/.bashrc
也将该文件包含在新的shell中,从而允许它在那里定义函数,在本例中是strongpw
。
https://askubuntu.com/questions/817604
复制相似问题