现在的位置: 首页 > 操作系统 > 正文

linux 常用提示

2018年07月06日 操作系统 ⁄ 共 372字 ⁄ 字号 评论关闭

 

find . | xargs grep -n "linux_ltib.mak"  在目录文件中搜索字符串

makefile里

:= 定义的变量如果值内容本身就是变量,他不会延伸。如果是=,会延伸。所以在使用时,不需要延伸的时候一定要加上: ,防止不可控的情况。

Make -n 所有命令顺序显示,但不执行

Vm 中静态IP的设置:

1 config a static ip(192.168.53.2) for the usb network adapter on vm

Add config  to /etc/network/interface, take eth3 for example:

auto eth3

iface eth3 inet static

Address 192.168.58.129

Netmask 255.255.255.0

Gateway 192.168.58.1

Samba可以固定IP使用,否则需要经常替换IP

抱歉!评论已关闭.