科技强我 IP属地:四川

文章 关注 粉丝 访问 贡献
 
共 51 篇文章
显示摘要每页显示  条
# update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_91/bin/java 200# update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_111/bin/java 300.link currently points to /opt/install/jdk1.8.0_111/bin/java/opt/install/jdk1.8.0_91/bin/java - priority 200/opt/install/jdk1.8.0_111/bin/java - priority 300C...
service# systemctl disable httpd.service├─system.slice└─basic.target ├─firewalld.service ├─microcode.service ├─rhel-autorelabel-mark.service ├─rhel-autorelabel.service ├─rhel-configure.service ├─rhel-dmesg.service ├─rhel-loadmodules.service ├─paths.target ├─slices.target │ ├─-.slice │ └─sys...
linux命令总结之seq命令功能:seq [选项]... 尾数seq [选项]... 首数 尾数seq [选项]... 首数 增量 尾数选项:?[root@Gin scripts]# seq -f "%3g" 9 11 9 10 11.[root@Gin scripts]# seq -f "str%03g" 9 11str009str010str011.[root@Gin scripts]# seq -w 98 101098099100101.[root@Gin scripts]# seq -s" "-f&...
-g 用户组 指定用户所属的用户组。此命令新建了一个用户gem,该用户的登录Shell是/bin/sh,它属于group用户组,同时又属于adm和root用户组,其中group用户组是其主组。普通用户修改自己的口令时,passwd命令会先询问原口令,验证后再要求用户输入两遍新口令,如果两次输入的口令一致,则将这个口令指定给用户;不同Linux 系统对用户组的规定有...
查看CentOS版本信息。(一) 查看已经安装的CentOS版本信息。(二)查看系统是32位或者64位的方法 1. getconf LONG_BIT or getconf WORD_BIT 输入:getconf LONG_BIT 返回结果:64 输入:getconf WORD_BIT 返回结果:32 分析:32位的系统中int类型和long类型一般都是4字节,64位的系统中int类型还是4字节的,但是long已变成了8字节inux系...
SW Sep10 0:00 [kswapd]具体命令解释如下:  1)ps a 显示现行终端机下的所有程序,包括其他用户的程序。3)ps c 列出程序时,显示每个程序真正的指令名称,而不包含路径,参数或常驻服务的标示。8)ps -N 显示所有的程序,除了执行ps指令终端机下的程序之外。9)ps s 采用程序信号的格式显示程序状况。11)ps -t<终端机编号>   ...
使用-x dev参数防止find搜索其他分区find .-size 0 -exec rm {} \;删除尺寸为0的文件11. xargs与-exec功能类似find /data -type f |xargs grep -i “Mary”在所有文件中检索字符串Maryls *~ |xargs rm -rf 删除所有以~结尾的文件。--exclude=FILE_PATTERN skip files and directories matching FILE_PATTERN.--exclude-from=FILE skip files...
lichao@ubuntu:command$ cat test1.txtlinuxisfunlichao@ubuntu:command$ cat test2.txta verypopular os,linuxlichao@ubuntu:command$ cat test3.txtwhatthefxxklichao@ubuntu:command$ grep -l linux test1.txt test2.txt test3.txttest1.txttest2.txtlichao@ubuntu:command$ grep -L linux test1.txt test2.txt test3.txttest3.txt12. 打开...
grep ''''''''linux'''''''' test.txt.[root@localhost test]# grep -n ''''''''linux'''''''' test.txt.[root@localhost test]# grep -n ''''''''linux'''&#...
# systemctl list-unit-files --type=serviceUNIT FILE STATE arp-ethers.service disabledauditd.service enabled autovt@.service disabledblk-availability.service disabledbrandbot.service static collectd.service disabledconsole-getty.service disabledconsole-shell.service disabledcpupower.service disabledcrond.service enable...
帮助 | 留言交流 | 联系我们 | 服务条款 | 下载网文摘手 | 下载手机客户端
北京六智信息技术股份有限公司 Copyright© 2005-2024 360doc.com , All Rights Reserved
京ICP证090625号 京ICP备05038915号 京网文[2016]6433-853号 京公网安备11010502030377号
返回
顶部