常见的linux快捷方式和英文错误提示

5 linux常见的快捷方式

序号ID

快捷键

快捷说明

1

Ctrl +l

清屏的意思

2

Ctrl +c

退出当前的进程

3

Ctrl +w

删除光标到空格之间的信息

4

Ctrl +a

快速移动到光标行首

5

Ctrl +e

快速移动到光标行尾

6

Ctrl +u

从光标开始的地方将删除(剪切)前面的内容

7

Ctrl +k

从光标开始的地方将删除(剪切)后面的内容

8

Ctrl +y

粘贴内容

9

Tab

快速不全命令

10

方向上下键

快速调用历史命令

11

Ctrl+insert

选中光标复制的内容

12

Shift+insert

粘贴光标复制的内容

13

Esc+.

调取上一次命令的最后一个参数

14

Ctrl+q

解屏

15

Ctrl+s

锁屏

16

  
   

17

  

18

  

6 linux中常见的系统错误提示

ID

错误提示(英文)

错误提示(中文)

例子

1

command not found

命令没有找到

[root@oldboyedu ~]# cdd

-bash: cdd: command not found

[root@oldboyedu ~]#

2

No such file or directory

没有这个文件或者目录

[root@oldboyedu ~]# ls /oldboy

ls: cannot access /oldboy: No such file or directory

3

Permission denied

权限不足

[root@oldboyedu ~]# useradd lyx

[root@oldboyedu ~]# passwd lyx

Changing password for user lyx.

New password:

BAD PASSWORD: The password is shorter than 8 characters

Retype new password:

passwd: all authentication tokens updated successfully.

[root@oldboyedu ~]# su lyx

[lyx@oldboyedu root]$ mkdir oldboy

mkdir: cannot create directory 'oldboy': Permission denied

[lyx@oldboyedu root]$

4

cannot create directory 'oldboy': File exists

文件已存在

[root@oldboyedu ~]# mkdir oldboy

[root@oldboyedu ~]# mkdir oldboy

mkdir: cannot create directory 'oldboy': File exists

[root@oldboyedu ~]#

5

Is a directory

这是一个目录

[root@oldboyedu ~]# cat oldboy/

cat: oldboy/: Is a directory

[root@oldboyedu ~]#

6

Not a directory

不是一个目录

[root@oldboyedu ~]# touch 1.txt

[root@oldboyedu ~]# cd 1.txt

-bash: cd: 1.txt: Not a directory

[root@oldboyedu ~]#

7

Warning: Changing a readonly file

警告:改变一个可读的文件

[root@oldboyedu ~]# su lyx

[lyx@oldboyedu root]$ ls

ls: cannot open directory .: Permission denied

[lyx@oldboyedu root]$ vi 1.txt

111111111111

 

 

-- INSERT -- W10: Warning: Changing a readonly file

8

Found a swap file by the name ".1.swp"

找到一个缓存文件为1.swp

E325: ATTENTION

Found a swap file by the name ".1.txt.swp"

解决办法:

[root@oldboyedu ~]# ll -a

total 56

-rw-r--r--. 1 root root 10 Sep 5 08:57 1.txt

-rw-r--r--. 1 root root 12288 Sep 5 09:00 .1.txt.swp

[root@oldboyedu ~]# rm -rf .

./ .1.txt.swp .bash_logout .bashrc .tcshrc

../ .bash_history .bash_profile .cshrc .viminfo

[root@oldboyedu ~]# rm -rf .1.txt.swp

[root@oldboyedu ~]# vi 1.txt

1111111`

~

9

unrecognized option '--oldboy'

不识别的选项

[root@oldboyedu ~]# man --lyx

man: unrecognized option '--lyx'

Try 'man --help' or 'man --usage' for more information.

[root@oldboyedu ~]#

10

No route to host

没有路由到主机

 

11

connection refused

连接拒绝

[f:\~]$ telnet 10.0.0.200 22

 

 

Connecting to 10.0.0.200:22...

Could not connect to '10.0.0.200' (port 22): Connection failed.

 

Type `help' to learn how to use Xshell prompt.

[f:\~]$

12

Access denied

拒绝访问

 

13

No write since last change (add ! to override)

文件被编辑了,是否退出(添加!号就可以正常的退出)

E37: No write since last change (add ! to override)

14

not an editor command

没有这个编辑命令

 

15

omitting directory 'oldboy01'

忽略目录,'oldboy01'

[root@oldboyedu oldboy]# cp oldboy01 /tmp/

cp: omitting directory 'oldboy01'

[root@oldboyedu oldboy]#

16

cp: overwrite '/tmp/1.txt'?

覆盖/tmp/1.txt文件吗?

[root@oldboyedu oldboy02]# touch 1.txt

[root@oldboyedu oldboy02]# cd ..

[root@oldboyedu oldboy01]# ls

oldboy02

[root@oldboyedu oldboy01]# cp oldboy02/1.txt /tmp/

[root@oldboyedu oldboy01]# cp oldboy02/1.txt /tmp/

cp: overwrite '/tmp/1.txt'? n

[root@oldboyedu oldboy01]#

17

remove regular empty file 'oldboy.txt'?

是否有规律的删除一个空文件

[root@oldboyedu oldboy01]# rm oldboy02/1.txt

rm: remove regular empty file 'oldboy02/1.txt'? n

[root@oldboyedu oldboy01]#

18

cannot remove 'oldboy02': Is a directory

不可以删除oldboy02,它是一个目录

[root@oldboyedu oldboy01]# rm oldboy02

rm: cannot remove 'oldboy02': Is a directory

19

Network is unreachable

网络不可达(是因为将网关没有填写正确导致的)

[root@oldboy6666 ~]# ping 223.5.5.5

connect: Network is unreachable

[root@oldboy6666 ~]#

20

ping: baidu.com: Name or service not known

服务或者名字没有找到(这个是你的DNS设置有问题)

[root@oldboy6666 ~]# ping www.baidu.com

ping: www.baidu.com: Name or service not known

[root@oldboy6666 ~]#

21

The password is too similar to the old one

这个密码和旧密码太相似

[oldboy101@oldboy6666 ~] $ passwd

Changing password for user oldboy101.

Changing password for oldboy101.

(current) UNIX password:

New password:

BAD PASSWORD: The password is too similar to the old one

New password:

BAD PASSWORD: The password is too similar to the old one

New password:

22

   

23

   

24

   

25

   

26

   

27

   

28

   

29

   

30

   

31

   

32

   

33

   

34

   

35

   

36

   

37

   

 

第7章 linux中常见的英文

ID

英文

中文

1

Command

命令

2

No such

没有这样的

3

Permission

许可证/权限

4

File exists

文件存在

5

Directory

目录

6

unrecognized

无法识别

7

refused

拒绝

8

denied

否认

9

continue

下一步,继续

10

Configure

配置,设置

11

general

通用,常规

12

Manual

手动

13

Standard(标准) Partition(分区)

标准分区

14

Cancel

取消,中断

15

Edit

编辑

16

Control

控制

17

Connection established

连接已经建立

18

Inactive/active

未激活的/激活的

19

omitting

省略,忽略

20

overwrite

覆盖

21

Search

搜索

22

Global

全球的

23

Another

另一个

24

End up

最终

25

instances

实例,实际

26

Caution

告诫,提醒

27

crashed.

撞击

28

Case

事例

29

avoid

避免

30

Network is unreachable

网络不可达

31

dynamic

动态的

32

static

静态的

33

depth

深度

34

prompt

提示

35

Complete

完成;完毕

36

secure

安全

37

Accepted

授权;同意

38

session

会话

39

authentication

认证失败

40

Socket

插槽

41

policy

策略

42

enforce

开启的

43

arguments

论据

44

taken to be

被认为是

45

reverse

反向,逆向

posted @ 2019-11-30 15:16  HXX-LYX  阅读(751)  评论(0编辑  收藏  举报