(1) 命令历史history环境变量:HISTSIZE:命令历史记录的条数;HISTFILE:~/.bash_history;HISTFILESIZE:命令历史文件记录历史的条数;history -d OFFSET-chistory #: 显示历史中最近的#条命令;-a: 手动追加当前会话缓冲区的命令历史至历史文件中;调用历史中的命令:!#: 重复执行第#条指令;!!: !string
文件相关的命令复制命令:cpcp [OPTION]... [-T] SOURCE DEST cp [OPTION]... SOURCE... DIRECTORY cp [OPTION]... -t DIRECTORY SOURCE...
都说文艺青年用zsh,今天我也来试试install basic package: RHEL7.1: yum install zsh MacOS: brew install zshinstall "oh my zsh": automatic install: wget ht
1. hwclock: query or set the hardware clock (RTC) -s, --hctosys set the system time from the hardware clock &n
1. power management: shutdown: -h: Equivalent to --poweroff, overridden by --halt -r --reboot
1. 终端:用户与主机交互,必然用到的设备: 物理终端:直接接入本机的显示器和键盘:/dev/console 虚拟终端:附加在物理终端之上的以软件方式虚拟实现的终端。CentOS 6默认启动6个虚拟终端 Ctrl+Alt+F#:[1-6] 图形终端:附加在物理终端之上的以软件方式虚拟实现的终端。但额外会提供桌面环境 设备文件路径:/de/tty# 模拟终端: 图形界面下打开的命令行接口,基
1. ifconfig example: ifconfig #display the configurations for all the network-adapter if
comand name: scpusage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] &n
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号