linux高效shell命令总结
免废话,直接上代码 cat 9.c |awk 'NR==21{gsub(/t09/,"ruiy");printf $0}' 1,comm【2文件间行比较】 1 [root@localhost ruiy]# 2 用法:comm [选项]... 文件1 文件2 3 逐行比较已排序的文件文件1 和文件2。 4 5 如果不附带选项,程序会生成三列输出。第一列包含文件1 特有的行,第二列...
51、linux shell命令,route,ifconfig
3、route 1)route [-nee] route add [-net|-host] [网域或主机] netmask [mask] [gw|dev] route del [-net|-host] [网域或主机] netmask [mask] [gw|dev] 2)option ① -n:不使用协议或主机名称,直接使用IP或port number; ② -...
50、linux shell命令,netstat,traceroute
1、netstat 1) netstat [option] 与路由 (route) 有关的参数说明: ① -r:列出路由表(route table),功能如同 route 这个指令; ② -n:不使用主机名称与服务名称,使用 IP 与 port number,如同 route -n 与网络界面有关的参数: ③ -a:列出所有的连线状态,包括 tcp/udp/unix socket 等...
49、linux shell命令,host,nslookup,dig
1、host 1)DNS lookup utility host option {name} [server] 使用 /etc/resolv.conf 中server来作为 DNS 服务器的来源选择 2)option -a :列出该主机详细的各项主机名称设定资料 3)示例 host www.google.com 2、nslookup - q...
46、linux shell命令,chkconfig
1、说明 chkconfig [--add][--del][--list][系统服务] chkconfig [--level <等级代号>][系统服务][on/off/reset] chkconfig provides a simple command-line tool for maintaining the /etc/rc[0-6].d dir...
45、linux shell命令,ldconfig
1、说明 /sbin/ldconfig - configure dynamic linker run-time bindings ldconfig option 2、option 1) -p:指示ldconfig打印出当前缓存文件所保存的所有共享库的名字 2) -v:ldconfig将显示正在扫描的目录及搜索到的动态链接库及它所创建的连接的名字。 3、其它 ...
44、linux shell命令,ldd
1、说明 dd - print shared library dependencies ldd [OPTION]... FILE... 2、option -u Print unused direct dependencies. (Since glibc 2.3.4.) -d Perform relocations and report any missing ob...
43、linux shell命令,chmod
1、说明 change file access permissions chmod [OPTION]... MODE[,MODE]... FILE... 完整的数字权限是4位数。但在一般情况下,都只带入三位数字,其代表的就是“后三位数”的权限设定。 第一位数代表档案或目录的特殊性。4代表“suid;2代表“sgid”;1代表“沾滞元位-save text imag...
linux shell,tr命令
1、说明 tr - translate or delete characters tr [OPTION]... SET1 [SET2] Translate, squeeze, and/or delete characters from standard input, writing to standard output.SETs are specified as strings of char.....
linux 下面基本的shell命令
文件权限 ls 列出文件 -l(详细) touch 创建文件 chmod修改文件的权限 chmod u(所有者)/g(同组人)/o(其他) =/+/- r(读)w(写)x(执行) filename chmod 。。。 dirname*表示对整个目录及以内所有文件使用命令 chmod -R 。。。dirname*表示对整个目录及内多有目录和文件都使用...
本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。