linux系统常用命令有哪些? semicolon命令的使用方法

番茄系统家园 · 2022-10-19 07:02:33

这里介绍几个Linux的常用命令

当在同一行的2个命令使用semicolon也就是分号;分隔时,表示第一个command将在后一个command开始时完成,例如

ls -F /etc;ls -F /home

linux系统常用命令有哪些? semicolon命令的使用方法

Linux有命令行自动补齐功能,输入命令行的前面几个字符可以连续按下2次tab键或者Esc键给出提示,如果只有以首字母开始的唯一一个命令,则系统会自动补齐,例如输入dm,按下2次tab键或者2次Esc键,效果如下

linux系统常用命令有哪些? semicolon命令的使用方法

默认的Linux命令行使用的是emacs编辑器,有很多功能

ctrl+b move back one character

linux系统常用命令有哪些? semicolon命令的使用方法

在命令行编辑时光标cursor的back和forward

ctrl+f=move forward one character

del=delete the character to the left of the cursor

linux系统常用命令有哪些? semicolon命令的使用方法

ctrl+a=move to the start of the line

ctrl+e=move to the end of the line

esc+f=move forward a word

esc+b=move backward a word

ctrl+l=clear the screen,reprinting the current line at the top

按下control加小写的L将清除屏幕,并把当前行移动到屏幕的top

linux系统常用命令有哪些? semicolon命令的使用方法

相关推荐:

免责声明: 凡标注转载/编译字样内容并非本站原创,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。如果你觉得本文好,欢迎推荐给朋友阅读;本文链接: https://m.nndssk.com/xtwt/201890jb3s2C.html
猜你喜欢
最新应用
热门应用