linux kernal
文章平均质量分 78
liujun5319
这个作者很懒,什么都没留下…
展开
-
The basic features of bash
1. The command history 1.1 history :Display or manipulate the history list. [root@promote tmp]# history //Display the history list. -a: Append newly executed commands to the com...原创 2018-08-27 06:34:06 · 182 阅读 · 0 评论 -
Configuration files of bash
1. classfys according to the range in which configuration files take effect. 1.1 The global configuration file /etc/profile : /etc/profile.d/*.sh /etc/bashrc : 1.2 ...原创 2018-08-31 09:43:37 · 218 阅读 · 0 评论 -
egrep
1. Basic grammar egrep = grep -E egrep [OPTIONS] PATTERN [FILE...]2. Meta-charecter of extended regexp 2.1 Character match .: Matchs any single character []: Matchs any s...原创 2018-08-31 09:42:21 · 2081 阅读 · 0 评论 -
grep
1. grep : Global search Regular expression and Print out the line. 1.1. function:searches the given FILEs for lines containing a match to the given PATTERN. 1.2. Basic grammar : grep [OPTIONS...原创 2018-08-31 09:41:47 · 130 阅读 · 0 评论 -
Permissions of a file
1. 基本概述 1.1 文件的权限主要针对三类对象进行定义 owner: 属主, u group: 属组, g other: 其他, o 1.2 每个文件针对每类访问者都定义了三种权限: r: Readable w: Writable x: eXcutable 1.3 对文件而...原创 2018-08-31 09:40:33 · 159 阅读 · 0 评论 -
User and group
1. linux security context Which resources a process can access depends on the user running the process. For example,the root user own the following file. -rw-------. 1 root root 1920 A...原创 2018-08-31 09:39:17 · 262 阅读 · 0 评论 -
Two clocks in Linux
1. The system clock Timing by the Linux kernel by the working frequency of the CPU. The date command query and set the system clock.2. The hardware clock The clock/hwclock command query a...原创 2018-08-24 06:57:11 · 181 阅读 · 0 评论 -
The use of the date command
1.definition date - print or set the system date and time2.SYNOPSIS 2.1 Display the current time in the given FORMAT. date []... [+FORMAT] FORMAT : refers to formatting symbol...原创 2018-08-24 05:56:25 · 151 阅读 · 0 评论 -
file manage
1. cp : copy files and directories 1.1 Basic use of cp : cp SRC DEST SRC is a single file: If DEST does not exist :create DEST and copy the content of SRC to DEST; ...原创 2018-08-28 07:54:42 · 606 阅读 · 0 评论 -
File view command
1.more : file perusal filter for crt viewing -d: 显示翻页及退出提示2.less : opposite of more3.head : output the first part of files head [OPTION]... [FILE]... -c #: 指定获取前#字节 -n #: 指定获取前#行4.t...原创 2018-08-28 07:53:23 · 150 阅读 · 0 评论 -
Text processing tool
1. wc : print newline, word, and byte counts for each file [root@bogon ~]# wc /etc/passwd 44 88 2301 /etc/passwd -l: lines -w: words -c: characters2. cut : remove sections ...原创 2018-08-28 07:49:03 · 323 阅读 · 0 评论 -
IO redirection and pipeline
1. program:instruction+data data structures + algorathms 2. IO redirection:change the position of standard input and output 2.1 Output redirection : COMMAND > NEW_POS, COMMAND >>...原创 2018-08-28 07:47:34 · 193 阅读 · 0 评论 -
Directory-related commands
1. Category of directory The shell working directory. The current directory which refers to the shell working directory. HOME directory: root : /root Average user : /home/U...原创 2018-08-25 06:55:01 · 117 阅读 · 0 评论