linux

常用的Linux命令行 ##常用Linux命令

[root@iZm5edcdal1g70Z ~]# history
    1  ls
    2  cd /www/server/panel && python tools.py panel testpasswd
    3  /etc/init.d/bt default
    4  cd /www/server/panel && python tools.py panel testpasswd
    5  /etc/init.d/bt default
    6  ls
    7  python
    8  ls
    9  python3
   10  where is python
   11  whereis python
   12  cd usr/bin
   13  cd /usr/bin
   14  ls
   15  \
   16  cd /usr/bin
   17  ll python*
   18  yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make 
   19  yum -y install epel-release
   20  yum install python-pip
   21  pip install wget
   22  xz -d Python-3.6.4.tar.xz
   23  tar -xf Python-3.6.4.tar
   24  tar -xf Python
   25  ls
   26  /python
   27  xz -d Python-3.6.4.tar.xz
   28  wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tar.xz
   29  xz -d Python-3.6.4.tar.xz
   30  tar -xf Python-3.6.4.tar
   31  ./configure prefix=/usr/local/python3
   32  ls
   33  ./configure prefix=/usr/local/python3
   34  cd /root
   35  cd /usr/local
   36  ls
   37  ./configure prefix=/usr/local/python3
   38  cd /root
   39  cd /usr/bin
   40  ls
   41  cd python-3.6.4
   42  cd Python-3.6.4
   43  ls
   44  ./configure prefix=/usr/local/python3
   45  make && make install
   46  mv /usr/bin/python /usr/bin/python.bak
   47  ln -s /usr/local/python3/bin/python3.6 /usr/bin/python
   48  python -V
   49  vi /usr/bin/yum
   50  vi /usr/libexec/urlgrabber-ext-down
   51  python3
   52  python -v
   53  python -V
   54  python3
   55  python3 -v
   56  python3 -V
   57  python3
   58  wget http://www.python.org/ftp/python/3.3.0/Python-3.3.0.tgz
   59  tar -zxvf Python-3.1.2.tar
   60  ls
   61  cd /usr/bin
   62  ls
   63  wget http://www.python.org/ftp/python/3.3.0/Python-3.3.0.tgz
   64  tar -zxvf Python-3.1.2.tar
   65  python -V
   66  Python 3.6.4
   67  python 3.6.4
   68  python 3
   69  cd /usr/local/
   70  ls
   71  cd python3/
   72  ls
   73  python
   74  python -V
   75  cd /usr/bin/
   76   ll python*
   77  yum search idle
   78  man
   79  man help
   80  ls
   81  echo linuxprobe.com
   82  echo $SHELL
   83  date
   84  date "+%Y-%m-%d %H:%M:%S"
   85  wget https://www.linuxprobe.com/docs/LinuxProbe.pdf
   86  ls
   87  vi LinuxProbe.pdf 
   88  ls
   89  cat L
   90  cat LinuxProbe.pdf 
   91  ps aux
   92  clear
   93  ifconfig
   94  uname -a
   95  cat /etc/redhat-release 
   96  ls
   97  uptime
   98  free -h
   99  who
  100  last
  101  history
  102  cat ~/.bash_history
  103  sosreport
  104  cd -
  105  cd ~
  106  ls
  107  ls --al
  108  ls -al
  109  ls -ld /etc
  110  cd /root
  111  ls
  112  ls -al
  113  more .pydistutils.cfg 
  114  tail -f /var/log/messages
  115  cat anaconda-ks.cfg | tr [a-z] [A-Z]
  116  LS
  117  ls
  118  vi linux.txt
  119  ls
  120  ls linux.txt 
  121  cat linux.txt 
  122  cat linux.txt | tr [a-z] [A-Z]
  123  history

rpm 红帽安装器

systemd服务名 systemctl 配置命令 restart/strat/stop/enable(加入启动项)/stasus

硬件 >内核>api>应用程序 {shell交互} 使用bash 1.调取命令 2.使用tab补齐命令或者参数 3.强大的批处理 脚本 4.环境变量 具有跨平台性

命令 参数 对象
听老师讲的课可以让你知道去学什么,哪些是重点,为什么会是这个?老师 能够提出一些问题,你可以通过学习书本来提炼自己的学习方式。

进程R run 正在服务 S stop 等待被用户使用 D 不响应信号 Z 僵尸僵死

人在生活与学习中,不能给自己设定限定,比如你高考没有考好,你就觉得你是低人一等,在学习上,你永远将赶不上哪些优秀的人,这是一种自我打击,但是你要知道,你只有靠自己,高考只是决定了你未来四年和那些人在一起生活学习,不过现在已经不重要了,他只是在检验了你高中三年的一种学习状况。你需要去不断的尝试新的学科,然后总结除自己的学习方法,然后慢慢的深入。 《mindset》