Linux是一个主要通过命令来进行管理的操作系统。
1)通过SSH工具远程连接阿里云ECS服务器,如Xshell;
2)使用阿里云Web控制台-远程连接ECS服务器
3)CentOS Linux命令行退出命令操作的界面
常见的Linux远程连接工具:SecureCRT、Xshell客户端软件;
1)最有用的快捷键;
2)移动光标快捷键;
3)剪切、粘贴、清除快捷键;
4)重复执行命令快捷键
5)控制快捷键
6)!开头的快捷键
7)Esc相关
1)man命令的基本用法
man命令是LInux系统中最核心的命令之一,可通过其查看其它Linux命令的使用、用法信息。还可查看软件服务配置文件、系统调用、库函数等帮助信息;
2) 语法格式
man 参数选项 命令/文件
3)选项说明
4)实战举例
man man
man cp
man ls
5) man帮助页的快捷键
[root@iZ2ze2m3z176dpbiaolifiZ ~]# cat --help Usage: cat [OPTION]... [FILE]... Concatenate FILE(s), or standard input, to standard output. -A, --show-all equivalent to -vET -b, --number-nonblank number nonempty output lines, overrides -n -e equivalent to -vE -E, --show-ends display $ at end of each line -n, --number number all output lines -s, --squeeze-blank suppress repeated empty output lines -t equivalent to -vT -T, --show-tabs display TAB characters as ^I -u (ignored) -v, --show-nonprinting use ^ and M- notation, except for LFD and TAB --help display this help and exit --version output version information and exit With no FILE, or when FILE is -, read standard input. Examples: cat f - g Output f's contents, then standard input, then g's contents. cat Copy standard input to standard output. GNU coreutils online help: <http://www.gnu.org/software/coreutils/> For complete documentation, run: info coreutils 'cat invocation' [root@iZ2ze2m3z176dpbiaolifiZ ~]# more --help more: unknown option -help Usage: more [options] file... Options: -d display help instead of ring bell -f count logical, rather than screen lines -l suppress pause after form feed -p do not scroll, clean screen and display text -c do not scroll, display text and clean line ends -u suppress underlining -s squeeze multiple blank lines into one -NUM specify the number of lines per screenful +NUM display file beginning from line number NUM +/STRING display file beginning from search string match -V output version information and exit [root@iZ2ze2m3z176dpbiaolifiZ ~]#
下一个教程:linux常用命令集锦