linux 系统命令和方法

1、EXPORT

EXPORT 依赖库=
==============
export LD_LIBRARY_PATH=/opt/
export LD_LIBRARY_PATH=/usrlib/

2、查看分区

cat /proc/mtd 
cat /proc/partitions 

3、iperf

iperf 测试网速=
ipcam:
iperf -s
pc:
iperf -c ipcamIp -t 120 -i 10

4、telnet

解决telnet=
===========
1.检查iptable规则:iptables -L

2先执行:iptables -P INPUT ACCEPT

4.刷新iptables:iptables -F

4.再次尝试telnet

5、Makefile里的subst

Makefile里的subst
用法是$(subst FROM,TO,TEXT),即将TEXT中的东西从FROM变为TO
$(subst a,the,There is a big tree),
把“There is a big tree”中的“a”替换成“the”,返回结果是“There is the big tree”。

原文地址:https://www.cnblogs.com/Malphite/p/10313328.html