UNIX系统常用命令
建议: 从安全角度出发,关闭r系列服务.
1.3. telnet
telnet remotehost [port]
相关文件:
/etc/inetd.conf文件中的telnet服务.
/etc/
TIPS: strings /usr/sbin/in.telnetd |egrep issue
1.4. passwd 更改口令
1.5 exit 退出当前shell
2. 命令或文件的查找
相关shell变量:
csh/tcsh: $path
.cshrc set path=(/usr/bin /usr/local/bin $path)
sh/bash: $PATH
.profile .bash_profile
PATH=/usr/local/bin:$PATH; export PATH
2.1 which
Syntax: which command
which为bash/tcsh内带命令
[hbwork@toshiba]$ which which
which: shell built-in command.
2.2 where(tcsh)
Syntax: where command
2.3 locate (LINUX)
Syntax: locate filename
相关命令: updatedb更改locate文件名数据库
3. 查看命令的用法
man
相关文件:
/etc/man.config
搜索“diyifanwen.net”或“第一范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,第一范文网,提供最新工程科技UNIX系统常用命令(3)全文阅读和word下载服务。
相关推荐: