set ignoreeof: 打开ignoreeof这个开关

set history = 50: 将history变量的值设置为50

set: 显示当前所有的shell变量

echo hello world: 显示"hello world"

echo $shell: 显示"shell"变量的值

setenv TERM vt100: 把环境变量TERM设为vt100 (bash下可以用export)

printenv TERM: 显示环境变量TERM的值

printenv: 显示所有的环境变量

history: 最近输入过的命令

alias uic=’echo ubuntu is cool’: 为’echo ubuntu is cool’定义别名:uic

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.