Lesson two: 3rd. Linux Root File system detailed1.file commands and their usage2.ELF: Executable file storage format, common Linux executable binary file formatWindows:peLiunx:elf3. File systemRootfs: Root file systemLiunx each file must be a path
touch [Options] ... File...Description: Changes the access time and modification time of each file to the current time. If the file does not exist, an empty file is created unless you use the-C or-h option. If the file name is "-" then special
Linux View disk space size commandDF: The command is a Linux system that views the file system as a disk partition and can add parameters to view the disk's remaining space informationDF-HL: View the disk's remaining space information, as shown
tr 替换或删除字符Syntax format: TR "option" "SET1" "SET2" tr [option] [character 1] [character 2]Note: The TAR command and the following options and word character must have at least one space between each elementOption Description:
Install SVN client: 70859797Using SVN Source: https://www.cnblogs.com/EasonJim/p/6305555.htmlWe often find a file in Linux, but do not know where to put it, you can use some of the following commands to search:which view the location of the
Sort text Sorting-n Sort by numeric size-R Reverse Sort-U Remove Duplicate rows-T Specify delimiter-k Sort by specified interval-B ignores space words that exist at the beginning of each lineExample-n-r-U directly behind the file can be1-t and-K
mkfs 创建 Linux 文件系统Syntax format: MKFS "option" "Device" mkfs [options] [device name]Note: There must be at least one space between each element in the MKFS command and in the following options and device namesOption Description:
Operating system-related concepts:The software that the operating system---manages the hardware and software resources of the computer, is the interface that the user interacts with the system operation, and provides service for the program running
more 分页显示文件内容Syntax format: more "option" "File" more [options] [file]Note: The more command and subsequent options and files, each element must have at least one spaceOption Description:
parameter Options
Explanatory notes
On the previous one Jenkins has been installed successfully, now start usingNeed to install several plugins firstSelect Maven ProjectThere's going to be an error, go in and configure it.Configure JDK, use JDK1.8 here, or Jenkins will make an
dd 转换或复制文件Syntax format: DD "option" dd [option]Note: There must be at least one space between each element in the DD command and in the following optionsOption Description:
parameter Options
Explanatory notes
paste 合并文件Syntax format: paste "option" "File" paste [options] [file]Attention:
Paste command and subsequent options and files, there must be at least one space between each element
If file is "-", it means reading from standard inputOption
Https://www.cnblogs.com/wangtao1993/p/6144183.htmlHow Linux looks at portsLsof-i: The port number is used to view the occupancy of a port, such as viewing 8000 ports usage, lsof-i:516061 lsof-i:5160623 COMMAND PID USER FD TYPE DEVICE size/OFF
ObjectiveLinux systems can set restrictions on the use of resources, such as: number of processes, number of file handles, number of connections, and so on.You should meet in your daily work:
-bash:fork:retry:resource temporarily
Cat View File ContentsOptions-N Display Line number-B displays non-blank line numbers-A equals-vet-E per line end of line display $All of the above is followed by the file can beOther uses:1 merge files, equivalent to append files appended to the
df 报告文件系统磁盘空间的使用情况Syntax format: DF "option" "File" df [option] [file or directory]Attention:
There must be at least one space between each element in the DF command and subsequent options and files or directories.
If you do not specify a
Command: LetThe Let command is a tool for calculations in BASH that executes one or more expressions and does not need to be added as a variable in the calculation of variables. If a space or other special character is included in an expression, it
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