歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux技術 >> linux系統常用命令有哪些? semicolon命令的使用方法

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

日期:2017/3/1 17:32:51   编辑:Linux技術

這裡介紹幾個Linux的常用命令

當在同一行的2個命令使用semicolon也就是分號;分隔時,表示第一個command將在後一個command開始時完成,例如

ls -F /etc;ls -F /home

Linux有命令行自動補齊功能,輸入命令行的前面幾個字符可以連續按下2次tab鍵或者Esc鍵給出提示,如果只有以首字母開始的唯一一個命令,則系統會自動補齊,例如輸入dm,按下2次tab鍵或者2次Esc鍵,效果如下

默認的Linux命令行使用的是emacs編輯器,有很多功能

ctrl+b move back one character

在命令行編輯時光標cursor的back和forward

ctrl+f=move forward one character

del=delete the character to the left of the cursor

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

Copyright © Linux教程網 All Rights Reserved