Linux 文件 目录结构探索
测试机用的是亚马逊云免费的那款,Amazon Linux AMI EC。
里面的Comment 在图上没有办法看,不过都是从网络上收录的,可以自行搜索。

目录 / 下面的目录
bin cgroup etc lib local media opt root sbin srv tmp var
boot dev home lib64 lost+found mnt proc run selinux sys usr /var
[ec2-user@ip-*** var]$ ls
account db games lib lock mail opt run tmp yp
cache empty kerberos local log nis preserve spool www /bin
arch date find lscgroup red tracepath
awk dbus-cleanup-sockets findmnt lssubsys rm tracepath6
basename dbus-daemon gawk mkdir rmdir traceroute
bash dbus-monitor grep mknod rnano traceroute6
cat dbus-send gtar mktemp rpm true
cgclassify dbus-uuidgen gunzip more rvi umount
cgcreate dd gzip mount rview uname
cgdelete df hostname mountpoint sed unicode_start
cgexec dmesg ipcalc mv setfont unicode_stop
cgget dnsdomainname iptables-xml nano setserial unlink
cgset domainname kbd_mode netstat sh usleep
cgsnapshot dumpkeys keyctl nice sleep vi
chgrp echo kill nisdomainname sort view
chmod ed link ping stty ypdomainname
chown egrep ln ping6 su zcat
cp env loadkeys ps sync
cpio ex login pwd tar
cut false ls raw taskset
dash fgrep lsblk readlink touch /etc
[ec2-user@ip-*** bin]$ cd /etc
[ec2-user@ip-*** etc]$
[ec2-user@ip-*** etc]$ ls
acpi GREP_COLORS motd rpc
adjtime groff motd.rpmsave rpm
aliases group mtab rsyslog.conf
aliases.db group- my.cnf rsyslog.d
alternatives grub.conf nanorc rwtab
anacrontab gshadow netconfig rwtab.d
asound.conf gshadow- NetworkManager sasl2
at.deny gss networks screenrc
audisp gssapi_mech.conf nfsmount.conf securetty
audit host.conf nsswitch.conf security
bash_completion.d hosts nsswitch.conf.rpmnew selinux
bashrc hosts.allow ntp services
blkid hosts.deny ntp.conf sestatus.conf
cgconfig.conf httpd openldap shadow
cgrules.conf idmapd.conf opt shadow-
cgsnapshot_blacklist.conf image-id os-release shells
chkconfig.d init pam.d skel
cloud init.d passwd smrsh
cron.d inittab passwd- ssh
cron.daily inputrc php.d ssl
cron.deny iproute2 php.ini statetab
cron.hourly issue php-zts.d statetab.d
cron.monthly issue.net pkcs11 sudo.conf
crontab java pki sudoers
cron.weekly jvm pm sudoers.d
csh.cshrc jvm-commmon popt.d sudo-ldap.conf
csh.login krb5.conf ppp sysconfig
dbus-1 krb5.conf.d prelink.conf.d sysctl.conf
default ld.so.cache printcap sysctl.d
depmod.d ld.so.conf profile system-release
dhcp ld.so.conf.d profile.d system-release-cpe
DIR_COLORS libaudit.conf protocols terminfo
DIR_COLORS.256color libreport rc tmpfiles.d
DIR_COLORS.lightbgcolor libuser.conf rc0.d udev
dracut.conf localtime rc1.d update-motd.d
dracut.conf.d login.defs rc2.d vimrc
dumpdates logrotate.conf rc3.d virc
e2fsck.conf logrotate.d rc4.d wgetrc
environment lvm rc5.d X11
ethers magic rc6.d xdg
exports mail rc.d xinetd.d
exports.d mailcap rc.local yum
filesystems man_db.conf rc.sysinit yum.conf
fonts maven request-key.conf yum.repos.d
fstab mime.types request-key.d
gcrypt mke2fs.conf resolv.conf
gnupg modprobe.d rmt /boot
[ec2-user@ip-*** etc]$ cd /boot
[ec2-user@ip-*** boot]$ ls
config-4.4.41-36.55.amzn1.x86_64 symvers-4.4.41-36.55.amzn1.x86_64.gz
config-4.4.44-39.55.amzn1.x86_64 symvers-4.4.44-39.55.amzn1.x86_64.gz
efi System.map-4.4.41-36.55.amzn1.x86_64
grub System.map-4.4.44-39.55.amzn1.x86_64
initramfs-4.4.41-36.55.amzn1.x86_64.img vmlinuz-4.4.41-36.55.amzn1.x86_64
initramfs-4.4.44-39.55.amzn1.x86_64.img vmlinuz-4.4.44-39.55.amzn1.x86_64
[ec2-user@ip-*** boot]$ /dev
[ec2-user@ip-*** boot]$ cd /dev
[ec2-user@ip-*** dev]$ ls
autofs input ptmx tty12 tty26 tty4 tty53 ttyS0 vcsa2
block kmsg pts tty13 tty27 tty40 tty54 ttyS1 vcsa3
btrfs-control log random tty14 tty28 tty41 tty55 ttyS2 vcsa4
char loop-control root tty15 tty29 tty42 tty56 ttyS3 vcsa5
console mapper sda tty16 tty3 tty43 tty57 uhid vcsa6
core mcelog sda1 tty17 tty30 tty44 tty58 urandom vfio
cpu mem shm tty18 tty31 tty45 tty59 vcs vga_arbiter
cpu_dma_latency memory_bandwidth stderr tty19 tty32 tty46 tty6 vcs1 xen
cuse net stdin tty2 tty33 tty47 tty60 vcs2 xvda
disk network_latency stdout tty20 tty34 tty48 tty61 vcs3 xvda1
fb0 network_throughput tty tty21 tty35 tty49 tty62 vcs4 zero
fd null tty0 tty22 tty36 tty5 tty63 vcs5
full port tty1 tty23 tty37 tty50 tty7 vcs6
fuse ppp tty10 tty24 tty38 tty51 tty8 vcsa
hpet psaux tty11 tty25 tty39 tty52 tty9 vcsa1 /home
[ec2-user@ip-*** home]$ ls
ec2-user /usr
[ec2-user@ip-*** usr]$ ls
bin etc games include lib lib64 libexec local sbin share src tmp /usr/share/man
[ec2-user@ip-*** usr]$ cd share
[ec2-user@ip-*** share]$ ls
aclocal dracut groff java-ext mime sounds
alsa emacs grub java-utils mime-info systemtap
anaconda empty gtk-doc javazi misc tabset
applications file hwdata javazi-1.8 nano terminfo
augeas firstboot i18n jvm omf themes
authconfig fontconfig icons jvm-commmon p11-kit vim
awk fonts idl keyutils perl5 X11
backgrounds games info licenses php xsessions
bash-completion gcc-4.8.3 java locale pixmaps yum-cli
cracklib gdb java-1.5.0 lua pkgconfig yum-plugins
dbus-1 ghostscript java-1.6.0 magic pki zoneinfo
desktop-directories glib-2.0 java-1.7.0 man plymouth zsh
dict gnome java-1.8.0 maven-fragments ruby
doc gnupg javadoc maven-poms screen
[ec2-user@ip-*** share]$ cd man
[ec2-user@ip-*** man]$ ls
cs fr it man0p man1x man3 man4 man5x man7 man8x mann pt_BR sv zh_TW
de hu ja man1 man2 man3p man4x man6 man7x man9 pl ru tr
es id ko man1p man2x man3x man5 man6x man8 man9x pt sk zh_CN
[ec2-user@ip-*** man]$ [ec2-user@ip-*** proc]$ ls
1 1405 2146 2570 5 consoles kallsyms mounts sysvipc
10 1417 2193 2573 617 cpuinfo kcore mtrr thread-self
11 1473 2214 2575 618 crypto keys net timer_list
12 1474 2236 2577 690 devices key-users pagetypeinfo timer_stats
129 15 2254 2579 7 diskstats kmsg partitions tty
130 1515 2275 2580 709 dma kpagecgroup sched_debug uptime
132 1600 2306 3 749 driver kpagecount schedstat version
133 1641 24250 32375 753 execdomains kpageflags scsi vmallocinfo
134 1802 2476 32578 8 fb latency_stats self vmstat
135 1825 2496 4 9 filesystems loadavg slabinfo xen
1353 1880 2505 4042 acpi fs locks softirqs zoneinfo
136 2 2517 4044 buddyinfo interrupts mdstat stat
138 20 2531 4045 bus iomem meminfo swaps
1401 2024 2564 4183 cgroups ioports misc sys
1402 21 2567 489 cmdline irq modules sysrq-trigger /tmp
[ec2-user@ip-*** mnt]$ cd /tmp
[ec2-user@ip-*** tmp]$ ls
hsperfdata_root /lib
[ec2-user@ip-*** tmp]$ cd /lib
[ec2-user@ip-*** lib]$ ls
firmware kbd modules terminfo udev
Linux 文件 目录结构探索的更多相关文章
- Linux 标准目录结构
初学Linux,首先需要弄清Linux 标准目录结构 / root --- 启动Linux时使用的一些核心文件.如操作系统内核.引导程序Grub等. home --- 存储普通用户的个人文件 ftp ...
- 【转】 Linux下目录结构
装完Linux,首先需要弄清Linux 标准目录结构 / root — 启动Linux时使用的一些核心文件.如操作系统内核.引导程序Grub等. home — 存储普通用户的个人文件 ftp — 用户 ...
- 从零单排Linux – 3 – 目录结构
从零单排Linux – 3 – 目录结构 1.FHS标准(filesystem hierarchy standard) why? –> 为了规范,还有为了linux的发展 重点 –> 规范 ...
- 【转】Linux 标准目录结构
初学Linux,首先需要弄清Linux 标准目录结构 / root --- 启动Linux时使用的一些核心文件.如操作系统内核.引导程序Grub等. home --- 存储普通用户的个人文件 ftp ...
- linux标准目录结构
初学Linux,首先需要弄清Linux 标准目录结构 / root --- 启动Linux时使用的一些核心文件.如操作系统内核.引导程序Grub等. home --- 存储普通用户的个人文件 ftp ...
- Linux学习——目录结构
在Linux当中,一切皆为文件,包括目录也属于文件.FHS(Filesystem Hierarchy Standard)的出现对文件目录系统做出了统一规范. Linux的目录结构: / - 根 /bi ...
- 【Linux学习】Linux文件系统2—linux常用目录结构、绝对路径、相对路径
Linux文件系统2-linux常用目录结构.绝对路径.相对路径 一. 常见目录结构总结 Linux目录结构就是"树形结构",常见的目录结构: /bin 系统需要的命令位于此目录 ...
- linux的目录结构详细介绍
linux的目录结构详细介绍 1. /目录(根目录) 2./ect/目录 特定主机系统范围内的配置文件. 3./usr/目录 默认软件都会存于该目录下.用于存储只读用户数据的第二层次:包含绝大多数的用 ...
- Linux 的目录结构
原文内容来自于LZ(楼主)的印象笔记,如出现排版异常或图片丢失等问题,可查看当前链接:https://app.yinxiang.com/shard/s17/nl/19391737/cbbf47b0-f ...
随机推荐
- 使用介质设备安装 AIX 以通过 HMC 安装分区
使用介质设备安装 AIX 以通过 HMC 安装分区 原文:https://www.ibm.com/support/knowledgecenter/zh/ssw_aix_72/com.ibm.aix.h ...
- C# 单元测试能过,但Web项目就报错!
第一印象肯定是两个项目中各有不同的地方 背景: 公司项目采用IBatic+Castle实现 排查过程: 1.sqlmap文件是否一至,并且读取位置也要正确 2.dao.config文件要一至,读取位置 ...
- VMware与Centos系统安装 和重置root密码
VMware与Centos系统安装 今日任务 1.Linux发行版的选择 2.vmware创建一个虚拟机(centos) 3.安装配置centos7 4.xshell配置连接虚拟机(centos) ...
- 转:Scanner中nextLine()方法和next()方法的区别
原文地址:https://blog.csdn.net/hello_word2/article/details/54895106 总结:next() 读取第一个 空白符之前(不包括空白符)的内容,nex ...
- LeetCode 942 DI String Match 解题报告
题目要求 Given a string S that only contains "I" (increase) or "D" (decrease), let N ...
- 打开对话框opendialog
//使用:OpenDialog控件. ldg.Options := ldg.Options + [ofAllowMultiSelect]; ldg.Filter := '作答文件ZF包.zf| ...
- Mybatis中dao接口和mapper 的加载过程
这里考虑的是mybatis和spring整合的场景 1.在系统启动的时候,会去执行配置文件中有关扫描mybatis接口的配置:通过MapperScannerConfigurer扫描接口生成spring ...
- CF891C Envy 最小生成树/虚树
正解:最小生成树/虚树 解题报告: 传送门! sd如我就只想到了最暴力的想法,一点儿优化都麻油想到,,,真的菜到爆炸了QAQ 然后就分别港下两个正解QAQ 法一,最小生成树 这个主要是要想到关于最小生 ...
- 递归、嵌套for循环、map集合方式实现树形结构菜单列表查询
有时候, 我们需要用到菜单列表,但是怎么样去实现一个菜单列表的编写呢,这是一重要的问题. 比如我们需要编写一个树形结构的菜单,那么我们可以使用JQuery的zTree插件:http://www.tre ...
- JavaScript学习(四)