Cainiao-basic simple linux (2)-General Linux technology-Linux technology and application information. For more information, see the following. Author: Lou Hao
I shared some common linux commands with you. Today, let's talk about the command to view text files.
The command for viewing text files contains multiple commands, such as cat more less.
Let's explain it one by one.
1 cat
To display the simplest text.
For example: cai lll
In this way, the content in lll text is opened.
2 more
Displays text on multiple screens.
The usage is the same as above.
3 less
It is used to view a large amount of text.
Use the same as above
We need to know how to install the system and software in winmdows. In linux. Both are EXT2 and EXT3 file system types, and swap-type swap partitions. In windows, a drive letter is used to represent an independent file system, such as a drive C. Linux uses a tree directory structure. There is only one root directory (File System) in the entire system ). All other file systems are mounted to the corresponding sub-directory nodes in the root directory.
Linux is in the form of a file directory. How do we read the CD? We need to use the form of mounting. . We need to mount it together.
1. CD mounting command
Mount
For example, mount/dev/cdrom/mnt
This is what we need to know about mounting.
Dev is the device name of the file system to be mounted. /Dev/cdrom is the name of the optical drive device. /Mnt: the mount point to be mounted.
We have already mounted the CD, and we have used it. Next we will unmount the CD.
2. unmount the CD
Umount
For example, we mounted the CD to/mnt just now.
We need to uninstall it.
Umount/mnt we only need to unmount the mount point during unmounting.
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