2018年9月6日

013_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 阅读全文

posted @ 2018-09-06 20:49 langjitianyadaolao 阅读(150) 评论(0) 推荐(0)

012_egrep

摘要: 1. Basic grammar egrep = grep -E egrep [OPTIONS] PATTERN [FILE...]2. Meta-charecter of extended regexp 2.1 Character match .: Matchs any single charac 阅读全文

posted @ 2018-09-06 20:48 langjitianyadaolao 阅读(104) 评论(0) 推荐(0)

011_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 PA 阅读全文

posted @ 2018-09-06 20:47 langjitianyadaolao 阅读(123) 评论(0) 推荐(0)

010_Permissions of a file

摘要: 1. 基本概述 1.1 文件的权限主要针对三类对象进行定义 owner: 属主, u group: 属组, g other: 其他, o 1.2 每个文件针对每类访问者都定义了三种权限: r: Readable w: Writable x: eXcutable 1.3 对文件而言三种权限分别表示: 阅读全文

posted @ 2018-09-06 20:46 langjitianyadaolao 阅读(74) 评论(0) 推荐(0)

009_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 fi 阅读全文

posted @ 2018-09-06 20:45 langjitianyadaolao 阅读(93) 评论(0) 推荐(0)

008_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 阅读全文

posted @ 2018-09-06 20:44 langjitianyadaolao 阅读(92) 评论(0) 推荐(0)

007_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]... 阅读全文

posted @ 2018-09-06 20:43 langjitianyadaolao 阅读(78) 评论(0) 推荐(0)

006_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. 阅读全文

posted @ 2018-09-06 20:42 langjitianyadaolao 阅读(77) 评论(0) 推荐(0)

005_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 : C 阅读全文

posted @ 2018-09-06 20:41 langjitianyadaolao 阅读(89) 评论(0) 推荐(0)

004_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 e 阅读全文

posted @ 2018-09-06 20:34 langjitianyadaolao 阅读(114) 评论(0) 推荐(0)

03_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 阅读全文

posted @ 2018-09-06 20:30 langjitianyadaolao 阅读(85) 评论(0) 推荐(0)

02_Tow_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 cl 阅读全文

posted @ 2018-09-06 20:29 langjitianyadaolao 阅读(116) 评论(0) 推荐(0)

01_date

摘要: 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 : re 阅读全文

posted @ 2018-09-06 20:28 langjitianyadaolao 阅读(87) 评论(0) 推荐(0)

021_func

摘要: #!/usr/bin/env python# Author:liujundef func1(): #This is a function """ttest....""" print("in the func1") return 0def func2(): #This is a process """ 阅读全文

posted @ 2018-09-06 20:15 langjitianyadaolao 阅读(208) 评论(0) 推荐(0)

导航