Skip to content

Instantly share code, notes, and snippets.

@pengpan
Last active November 16, 2021 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pengpan/8a852f13030bd79fa939f64b0bd2d4de to your computer and use it in GitHub Desktop.
Save pengpan/8a852f13030bd79fa939f64b0bd2d4de to your computer and use it in GitHub Desktop.

Linux常用目录

image

/etc

系统默认配置文件

  • /etc/yum.repos.d/CentOS-Base.repo
  • /etc/rc.local
  • /etc/profile
  • /etc/docker/daemon.json

/usr

系统资源保存目录

  • /usr/bin/java
  • /usr/bin/bash
  • /usr/bin/date
  • /usr/bin/systemctl
  • /usr/sbin/shutdown
  • /usr/sbin/lsof

/var

系统相关文档内容

  • /var/log/yum.log

/opt

第三方应用包存放处

/mnt

系统分配的挂载目录

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment