问题1:ubuntu 使用sudo vim /etc/apt/sources.list命令修改文件后该如何退出?
解答:
Esc
输入冒号(即shift+分号)
输入wq
ENTER
问题2:sudo 无法执行时
解答:source /etc/environment
问题3:couldn’t read file”aodv.tcl”?
解答:cd /home/yinting/ns-allinone-2.35/ns-2.35/tcl/ex(就是一直cd 到脚本文件(.tcl文件)相应的目录下)
在terminal下,输入 ns *.tcl (*代表文件名),即可运行得到相应的.tr 和.nam 文件
问题4:invalid command name “Agent/OLSR” while executing “Agent/OLSR set use_mac_ ture”(file “oler_example.tcl” line 44)
解决:需要运行um-olsr_ns-2.35_v1.0.patch的补丁(也可以自己手敲),然后sudo make,编译一下
问题5:显示VMware Workstation 与Device/Credential Guard不兼容
解决:https://jingyan.baidu.com/article/9f63fb916b50e1c8400f0ebf.html
问题6:在make后,显示程序“ns”未安装
解决:重新安装一遍./install
问题7:如何使用gnuplot画图
解决:https://blog.csdn.net/dongping1023/article/details/50760173
http://blog.sina.com.cn/s/blog_4c8287230100hnl3.html