📄 00000019.htm
字号:
# no core dumps, please
<BR> # 请勿转储内存信息
<BR>
<BR> ulimit -c 0
<BR>
<BR> # set umask
<BR> # 设定umask
<BR>
<BR> if [ `id -gn` = `id -un` -a `id -u` -gt 14 ]; then
<BR> umask 002
<BR> else
<BR> umask 022
<BR> fi
<BR>
<BR> # a few variables
<BR> # 几项变数
<BR>
<BR> USER=`id -un`
<BR> LOGNAME=$USER
<BR> MAIL="/var/spool/mail/$USER"
<BR> EDITOR=jed
<BR> HOSTNAME=`/bin/hostname`
<BR> HISTSIZE=1000
<BR> HISTFILESIZE=1000
<BR> export PATH PS1 PS2 USER LOGNAME MAIL EDITOR HOSTNAME <BR>HISTSIZE HISTFILESIZE
<BR>
<BR> # enable colour ls
<BR> # 设定ls的颜色
<BR>
<BR> eval `dircolors /etc/DIR_COLORS -b`
<BR> export LS_OPTIONS='-F -s -T 0 --color=tty'
<BR>
<BR> # customize less
<BR> # 设定less
<BR>
<BR> LESS='-M-Q'
<BR> LESSEDIT="%E ?lt+%lt. %f"
<BR> LESSOPEN="| lesspipe.sh %s"
<BR> VISUAL=jed
<BR> LESSCHARSET=latin1
<BR> export LESS LESSEDIT LESSOPEN VISUAL LESSCHARSET
<BR>
<BR> # customise the keyboard
<BR> # 设定键盘
<BR>
<BR> /sbin/kbdrate -s -r 16 -d 500
<BR>
<BR> for i in /etc/profile.d/*.sh ; do
<BR> if [ -x $i ]; then
<BR> . $i
<BR> fi
<BR> done
<BR>
<BR>
<BR>
<BR> 此处为 /etc/bashrc:
<BR>
<BR>
<BR>
<BR> # /etc/bashrc
<BR>
<BR> # System wide functions and aliases
<BR> # 整个系统的功能和别名
<BR> #
<BR> # Environment stuff goes in /etc/profile
<BR> # /etc/profile中的环境叁数
<BR> #
<BR>
<BR> alias which="type -path"
<BR> alias d="ls"
<BR> alias dir="d"
<BR>
<BR>
<BR>
<BR> 此处为 .bashrc:
<BR>
<BR>
<BR>
<BR> # $HOME/.bashrc
<BR> # Source global definitions
<BR>
<BR> if [ -f /etc/bashrc ]; then
<BR> . /etc/bashrc
<BR> fi
<BR>
<BR> # this is needed to notify the user that they are in <BR>non-login shell
<BR> # 需要以下设定,以便通知处於不登录(non-login)外围程序 <BR>(shell)中的用户
<BR>
<BR> COLOUR=45
<BR> # put a real escape character instead of ^[
<BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -