Linux display Chinese garbled and FHS directory hierarchy standard

Source: Internet
Author: User

Before class:
notepad++
TAB key: Create different levels
Enter: Generate parallel
Shortcut: ALT + left mouse button (multiple items can be entered)
Select multiple rows press the TAB key
XMind 8
Auto Save path

The 1th Chapter Linux display Chinese garbled characters
How to solve and troubleshoot Chinese garbled characters
https://www.processon.com/view/link/59e978b0e4b0c86d400de71c

1.1 Directory Structure of Linux
Features: All documents
1) upside down tree-like structure everything starts with the heel.
2) Each directory on Linux can be mounted on a different device (disk). Windows is not easy to get
3) All Linux devices (disk discs) are not mounted and cannot be used
All devices under Linux are not directly available by default, creating a population for the device, population = mount point = = Directory (already present)
Mount/dev/cdrom/mnt
All the devices under Linux are not directly available by default
Experiment:

    1. Disc Insertion System
    2. Enter the Linux CD file
      3. Create an entry for the CD (already exists) mount (Mount)
      [Email protected]/oldboy]# mount/dev/cdrom/mnt/
      Mount:block Device/dev/sr0 is write-protected, mounting read-only
      [Email protected]/oldboy]# ls-l/mnt/

[[email protected]/oldboy]# ls/mnt/packages/(package on CD)
1th HDD Storage System data/
2nd HDD holds user's own data/usr
[Email protected]/oldboy]# ls-ld/tmp//usr/tmp//bin//usr/bin//sbin//usr/sbin/
Dr-xr-xr-x. 2 root root 4096 Jul 19:43/bin/
Dr-xr-xr-x. 2 root root 12288 Jul 19:43/sbin/
DRWXRWXRWT. 4 root root 4096 Jul 21:42/tmp/
Dr-xr-xr-x. 2 root root 24576 Jul 19:43/usr/bin/
Dr-xr-xr-x. 2 root root 12288 Jul 19:43/usr/sbin/
DRWXRWXRWT. 2 root root 4096 Jul 18:25/usr/tmp/
2nd Chapter FHS Directory hierarchy Standard
(/and/usr per directory role)
2.1 Root directory structure
Https://www.processon.com/view/link/5a6a9944e4b0a92b467f03b0

/porc
Proc/cpuinfo CPU Info (information) information
IT Information Tychnology Information technology
Processor:0 the first few cores
Physical id:0 First CPU (physical)
[[email protected] ~]# grep processor/proc/cpuinfo
processor:0
Processor:1
Processor:2
Processor:3
[[email protected] ~]# grep physical/proc/cpuinfo
Physical id:0
Physical id:0
Physical Id:1
Physical Id:1
4.1 [[email protected] ~]# LSCPU
CPU (s): 41 A total of 4 cores
On-line CPU (s) list:0-3
Socket (s): 2 2 way
Model Name:intel (R) Core (TM) i5-4440s CPU @ 2.80GHz
4.2/proc/meminfo Memory Info
[Email protected] ~]# Cat/proc/meminfo
memtotal:1906256 KB
memfree:1722092 KB
buffers:25796 KB
cached:52816 KB
[[email protected] ~]# free–h human readable
Total used free shared buffers Cached
mem:1.8g 180M 1.6G 224K 25M 51M
-/+ buffers/cache:103m 1.7G
swap:767m 0B 767M
4.3/proc/mounts Mounting Information
[[email protected] ~]# column-t/proc/mounts align Mount information
Rootfs/rootfs RW 0 0
PROC/PROC proc Rw,relatime 0 0
Sysfs/sys Sysfs rw,relatime 0 0
Devtmpfs/dev Devtmpfs rw,relatime,size=938496k,nr_inodes=234624,mode=755 0 0
Devpts/dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0
Tmpfs/dev/shm Tmpfs rw,relatime 0 0
/DEV/SDA3/EXT4 rw,relatime,barrier=1,data=ordered 0 0
/proc/bus/usb/proc/bus/usb Usbfs rw,relatime 0 0
/dev/sda1/boot ext4 rw,relatime,barrier=1,data=ordered 0 0
None/proc/sys/fs/binfmt_misc Binfmt_misc rw,relatime 0 0

Linux display Chinese garbled and FHS directory hierarchy standard

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.