linux 常用命令整理

来源:互联网 发布:java linux 文件上传 编辑:程序博客网 时间:2024/06/14 12:36
  1. 查看内核版本命令:cat /proc/version
  2. 获取路径名:shaoxinw@ubuntu:~$ pwd 
    /home/shaoxinw
  3. shaoxinw@ubuntu:~$ pwd |cut -d'/' -f2
    home
  4. shaoxinw@ubuntu:~$ pwd |cut -d'/' -f3
    shaoxinw
  5. Expressions used with if 
  6. -f FILE ]True if FILE exists and is a regular file
  7. arm-linux-strip:剥掉目标文件的所有的符号信息
  8.  rpm -qa|grep openssl 查看安装的软件版本
  9. ” make: execvp: <YOUR FILE NAME>: Permission denied … ”
    chmod 755 -R  /path/to/yourfolder
  10. /sbin/ifconfig //centos 查看ip
  11. Linux中的ps命令是Process Status的缩写
  12. lsb_release -a //LSB是Linux Standard Base的缩写,lsb_release命令用来显示LSB和特定版本的相关信息,
  13. yum -y install php54w // -y install 是不需要usrer确认



0 0
原创粉丝点击