example13.06

来自「UNIX[1].shell范例精解(第4版)_code」· 06 代码 · 共 28 行

06
28
字号
# If the .bashrc file exists, it is in the user's home directory. # It contains aliases (nicknames for commands) and user-defined# functions.# .bashrc# User-specific aliases and functionsset -o viset -o noclobberset -o ignoreeofalias rm='rm -i'alias cp='cp -i'alias mv='mv -i'stty erase ^h# Source global definitionsif [ -f /etc/bashrc ]; then	. /etc/bashrcficase "$-" in	*i*) echo This is an interactive bash shell		;;	*)   echo This shell is noninteractive		 ;;esachistory_control=ignoredupsfunction cd { builtin cd $1; echo $PWD; }	

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?