A卷

DHCP服务器的租约文件通常存储在服务器的硬盘上。 在大多数常见的操作系统中,租约文件的默认位置如下: Windows Server:C:\Windows\System32*dhcp*. Linux(ISC DHCP服务器):/var/lib/dhcpd/dhcpd.leases.

1
2
# nfs
[root@localhost ~]#/usr/sbin/exportfs –au 全部卸载
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
首先要明确$符号用在什么地方,使用在不同的地方,其所代表的定义也就不同。比如在bash里$符号表示当前用户为普通用户;在bash脚本里。$开头表示变量。

以下是一些特殊变量:

1$# 表示参数个数。

2$0 是脚本本身的名字。

3$1 是传递给该shell脚本的第一个参数。

4$2 是传递给该shell脚本的第二个参数。

5$@ 表示所有参数,并且所有参数都是独立的。

6$$ 是脚本运行的当前进程ID号。

7$? 是显示最后命令的退出状态,0表示没有错误,其他表示有错误。

金仓数据库 在创建数据库时,_默认_的_端口_为54321

关系数据库管理系统(Relational Database Management System:RDBMS)

B卷 00:01:56

若要修改1个事务的事务隔离级别,则应在事务开始时执行?
BEGIN TRANSACTION ISOLATION LEVEL repeatable read

grep命令总如果希望正则表达式中使用\d字符,则需要使用命令选项 -P

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[root@ningan kubeconfig]# grep --help
Usage: grep [OPTION]... PATTERN [FILE]...
Search for PATTERN in each FILE.
Example: grep -i 'hello world' menu.h main.c

Pattern selection and interpretation:
-E, --extended-regexp PATTERN is an extended regular expression
-F, --fixed-strings PATTERN is a set of newline-separated strings
-G, --basic-regexp PATTERN is a basic regular expression (default)
-P, --perl-regexp PATTERN is a Perl regular expression
-e, --regexp=PATTERN use PATTERN for matching
-f, --file=FILE obtain PATTERN from FILE
-i, --ignore-case ignore case distinctions
-w, --word-regexp force PATTERN to match only whole words
-x, --line-regexp force PATTERN to match only whole lines
-z, --null-data a data line ends in 0 byte, not newline

Miscellaneous:
-s, --no-messages suppress error messages
-v, --invert-match select non-matching lines
-V, --version display version information and exit
--help display this help text and exit

Output control:
-m, --max-count=NUM stop after NUM selected lines
-b, --byte-offset print the byte offset with output lines
-n, --line-number print line number with output lines
--line-buffered flush output on every line
-H, --with-filename print file name with output lines
-h, --no-filename suppress the file name prefix on output
--label=LABEL use LABEL as the standard input file name prefix
-o, --only-matching show only the part of a line matching PATTERN
-q, --quiet, --silent suppress all normal output
--binary-files=TYPE assume that binary files are TYPE;
TYPE is 'binary', 'text', or 'without-match'
-a, --text equivalent to --binary-files=text
-I equivalent to --binary-files=without-match
-d, --directories=ACTION how to handle directories;
ACTION is 'read', 'recurse', or 'skip'
-D, --devices=ACTION how to handle devices, FIFOs and sockets;
ACTION is 'read' or 'skip'
-r, --recursive like --directories=recurse
-R, --dereference-recursive likewise, but follow all symlinks
--include=FILE_PATTERN search only files that match FILE_PATTERN
--exclude=FILE_PATTERN skip files and directories matching FILE_PATTERN
--exclude-from=FILE skip files matching any file pattern from FILE
--exclude-dir=PATTERN directories that match PATTERN will be skipped.
-L, --files-without-match print only names of FILEs with no selected lines
-l, --files-with-matches print only names of FILEs with selected lines
-c, --count print only a count of selected lines per FILE
-T, --initial-tab make tabs line up (if needed)
-Z, --null print 0 byte after FILE name

SQL语言共分为四大类:数据定义语言DDL,数据操纵语言DML,数据查询语言DQL,数据控制语言DCL。

  1. 数据定义语言DDL

数据定义语言DDL用来创建数据库中的各种对象—–表、视图、索引、同义词、聚簇等如:

CREATE TABLE/VIEW/INDEX/SYN/CLUSTER

DDL操作是隐性提交的!不能rollback

2 .数据操纵语言DML

数据操纵语言DML主要有三种形式:

  1. 插入:INSERT

  2. 更新:UPDATE

  3. 删除:DELETE

  1. 数据查询语言DQL

数据查询语言DQL基本结构是由SELECT子句,FROM子句,WHERE子句组成的查询块:

SELECT <字段名表>

FROM <表或视图名>

WHERE <查询条件>

  1. 数据控制语言DCL

数据控制语言DCL用来授予或回收访问数据库的某种特权,并控制数据库操纵事务发生的时间及效果,对数据库实行监视等。如:

  1. GRANT:授权。

  2. ROLLBACK [WORK] TO [SAVEPOINT]:回退到某一点。

回滚—ROLLBACK

回滚命令使数据库状态回到上次最后提交的状态。其格式为:

SQL>ROLLBACK


http://example.com/2024/08/12/信创/比赛题目/
作者
ningan123
发布于
2024年8月12日
许可协议