随笔分类 - linux
摘要:[root@localhost ~]# sort -t ':' -k 3 -n /etc/passwd [root@localhost /]# du -sh * | sort -n [root@localhost /]# du -sh * | sort -nr sort -M 以月份排序Jan、Fe
        阅读全文
                
摘要:方法一:使用可视化模块添加实现多行注释 1.打开文件/etc/password进行测试: vim /etc/password 2.进入到视图模式:按ctrl+v 3.进行上下移动选择多行:按j或k上下移动(选择文件全文shift+g,可以看到选中文件的行首有明显的变化) 4.按大写I进入insert
        阅读全文
                
摘要:[root@localhost ~]# firewall-cmd --state not running [root@localhost ~]# firewall-cmd --state running 放行http和https端口 [root@localhost ~]# firewall-cmd 
        阅读全文
                
摘要:pvcreate /dev/xvde vgcreate VG00 /dev/xvde lvcreate -l 307199 -n lv_data /dev/VG00 mkfs.xfs /dev/VG00/lv_data blkid /dev/VG00/lv_data vi /etc/fstab
        阅读全文
                

 浙公网安备 33010602011771号
浙公网安备 33010602011771号