linux笔记&案例

思维导图

 

 1.重定向练习:将根目录下的文件的文件名写入/test/file文件中

 将/root/.cfg文件内容读入/test/bashrc

[root@localhost ~]# cat anaconda-ks.cfg > test/bashrc

 

 查看/etc/selinux/config 以 SELINUX开头的行

[root@localhost selinux]# grep ^[SELINUX] config

 

分割ipv4地址

[root@localhost /]# ifconfig ens160 | grep inet -w | tr -s '\ ' | cut  -d' ' -f 3

猜你喜欢

转载自blog.csdn.net/qq_57146982/article/details/127822867