zoukankan      html  css  js  c++  java
  • 运维实用操作命令

    640?wx_fmt=jpeg

    1.Shell命令行

    光标移到行首:Ctrl+a
    光标移到行尾:Ctrl+e
    删除所有内容:Ctrl+u

    2.Vim命令模式

    光标移到行首:0或者Shift+^
    光标移到行尾:Shift+$
    光标移到首行:gg
    光标移到尾行:Shift+g
    撤销当前操作:u

    3.查看Linux版本信息

    lsb_release -a
    cat /etc/redhat-release
    cat /etc/issue
    cat /proc/cpuinfo
    cat /proc/version
    uname -a
    uname -r

    lsb_release -a command not found 解决方法

    [root@localhost ~]# lsb_release -a
    -bash: lsb_release: command not found
    解决方法:
    yum install -y redhat-lsb

    4.查看内存

    free -m
    free -h
    cat /proc/meminfo

    5.Linux终端常用快捷键

    新建终端:Ctrl + Shift +T
    放大终端:Ctrl + Shift + +
    缩小终端:Ctrl + -
    终端全屏:F11
    VMware全屏:Ctrl + Alt + Enter


  • 相关阅读:
    数据库设计——多表之间的关系
    约束
    DQL
    DML
    DDL
    Mysql——基础
    IT大牛关注链接
    deepin20安装Python3.85
    Python中的模块
    python中的装饰器
  • 原文地址:https://www.cnblogs.com/hgmyz/p/12351477.html
Copyright © 2011-2022 走看看