<>Linux file system MindMap

* see Linux How many getconf LONG_BIT
* see CPU details cat /proc/cpuinfo
* see cpu Core quantity cat /proc/cpuinfo | grep 'cpu cores' | uniq
* = see cpu model cat /proc/cpuinfo | grep 'model name' | uniq
<> view the amount of hard disk space
df -h

* /dev : Device file storage directory , The application program can read, write and control these files , Access to the actual device ;
* dev/shm : First, understand what is tmpfs,
1,tmpfs It's a file system , Not a block device ; You just install it , It's ready to use .
2. Size of dynamic file system .
3.tmpfs Another major advantage of the car is its lightning speed . Because it's typical tmpfs The file system will completely reside in the RAM in , Reading and writing can be almost instantaneous .
4.tmpfs Data will not be retained after restart , Because virtual memory is inherently volatile . So it is necessary to do some scripts, such as loading , Binding operation .
secondly ,
linux lower /dev/shm The default memory size is half of the maximum size . But it doesn't really take up this memory , If /dev/shm/ There are no files under , The memory it takes up is actually 0 byte ; If it's maximum 1G, It's in there 100M file , The rest 900M It can still be used by other applications , But what it takes 100M Memory , It will never be redistributed by system recycling .
* /home : Generally, any document will be put here .
cd /home : The user of this machine will be displayed .
* / : root directory .
cd / : Executing this command from any user will go to the same directory , That is, all users share .

Technology