Unix 简明教程
Unix / Linux - Useful Commands
本快速指南列出了命令,包括语法和简要说明。有关更多详细信息,请使用:
This quick guide lists commands, including a syntax and a brief description. For more detail, use −
$man command
Files and Directories
这些命令允许您创建目录和处理文件。
These commands allow you to create directories and handle files.
Manipulating data
可以比较和更改文件的内容,并使用以下命令。
The contents of files can be compared and altered with the following commands.
Compressed Files
文件可以被压缩以节省空间。可以创建和检查压缩文件。
Files may be compressed to save space. Compressed files can be created and examined.
Sr.No. |
Command & Description |
1 |
compress Compresses files |
2 |
gunzip Helps uncompress gzipped files |
3 |
gzip GNU alternative compression method |
4 |
uncompress Helps uncompress files |
5 |
unzip List, test and extract compressed files in a ZIP archive |
6 |
zcat Cat a compressed file |
7 |
zcmp Compares compressed files |
8 |
zdiff Compares compressed files |
9 |
zmore File perusal filter for crt viewing of compressed text |
Getting Information
各种 Unix 手册和文档可以在网上获得。以下 Shell 命令会提供信息 −
Various Unix manuals and documentation are available on-line. The following Shell commands give information −
Sr.No. |
Command & Description |
1 |
apropos Locates commands by keyword lookup |
2 |
info Displays command information pages online |
2 |
man Displays manual pages online |
3 |
whatis Searches the whatis database for complete words |
4 |
yelp GNOME help viewer |
Network Communication
以下命令用于向全世界远程主机发送文件并从其接收文件。
These following commands are used to send and receive files from a local Unix hosts to the remote host around the world.
Sr.No. |
Command & Description |
1 |
ftp File transfer program |
2 |
rcp Remote file copy |
3 |
rlogin Remote login to a Unix host |
4 |
rsh Remote shell |
5 |
tftp Trivial file transfer program |
6 |
telnet Makes terminal connection to another host |
7 |
ssh Secures shell terminal or command connection |
8 |
scp Secures shell remote file copy |
9 |
sftp Secures shell file transfer program |
由于安全原因,这些命令中的某些命令可能在你的计算机上受到限制。
Some of these commands may be restricted at your computer for security reasons.
Messages between Users
Unix 系统支持 Onscreen 消息到其他用户和全球电子邮件 −
The Unix systems support on-screen messages to other users and world-wide electronic mail −
Sr.No. |
Command & Description |
1 |
evolution GUI mail handling tool on Linux |
2 |
mail Simple send or read mail program |
3 |
mesg Permits or denies messages |
4 |
parcel Sends files to another user |
5 |
pine Vdu-based mail utility |
6 |
talk Talks to another user |
7 |
write Writes message to another user |