分享
 
 
 

UNIX Shell Commands List

王朝system·作者佚名  2006-01-22
窄屏简体版  字體: |||超大  

A

at : execute commands at a specified time/date.

awk: a scripting language, especially useful for manipulating text and automation.

B

bash : invokes the Bourne Again Shell (standard on most boxes).

batch: execute comands when load permits.

bc : interactive C-like calcultor (integers only).

C

cal : displays a calender, also lets you choose month/year using parameters.

calender : invoke a reminder service.

cancel : cancel request to calender.

cat : concatenate files (displays a file without scrolling ability. Simply dumps

it to the standard output. Can be useful when chaining multiple

applications to do complicated jobs, so one application can use another's

output as input).

cd : change the current working directory.

chgrp : change group ownership of a file.

chmod : change access patterns (permissions) to files.

chown : change user ownership of files.

clear : clear the screen.

cmp : compare two files.

cp : copy files.

cpio : archive and extract files.

cron : clock deamon (executes "batch" and "at" commands).

crontab : schedules commands at regular intervals.

crypt : encrypt , decrypt files using altered DES, standard to Unix passwords

(restricted distribution).

csh : invoke the C shell.

csplit : split file into several other files.

cu : call up another unix terminal.

cut : cut selected fields from each line of file.

D

date : displays the time and date (can also change it if you're root).

dd : convert and copy a file.

df : reports space (free, total etc') on all mounted file systems.

diff : copare two files.

diff3 : compare 3 or more files.

dircmp : compare two directories.

du : report disk usage.

E

echo : echo argument to standart output.

ed : line oriented editor.

egrep : extended version of grep (searches for extended regular expressions).

expr : evaluate boolean and arithmetic expression.

F

fgrep : same as grep, only it interprets patterns as a list of fixed strings.

false : return nonzero (false) exit status.

file : report type of file.

find : find matching files and run specified programs on them (optional).

finger : report user inFORMation (operates remotely only if a finger server is running

on the remote host).

ftp : (file transfer protocol) a client for FTP servers.

G

grep : search files for regular expression matches.

H

haltsys : gracefully shutdown sytem (can only be run by root. halt in Linux).

head : display first 10 lines of a file.

J

join : display the combination (lines with command field) of two fields.

K

kill : send a signal to terminate a process.

ksh : invoke the korn shell.

L

line : read a specific line out of a file (shell script usage).

ln : create a link to a file/directory.

logname : gets your login name.

lpr : sends a request to printer.

lprint : prints on local printer.

lpstat : reports printer status.

lpq : same as above.

ls : lists the contents of directory.

M

mail : send and recieve mail.

man : displays manual pages.

mesg : grant or deny permissions to recieve messages from other users using the

write command.

mkdir : create a new directory .

mknod : build a special file.

more : display file one page at a time.

mount : mount a storage device.

mv : move or rename a file.

N

news : display news item from NNTP servers.

nice : change priorities of processes.

nohup : run a command after logout (ignores hangup signals).

nroff : FORMat files for printing.

nslookup : retrieve inFORMation from DNS servers.

O

od : displays a file in 8-based octals.

P

passwd : create or change login password.

paste : merge lines of files.

pr : FORMat and print file.

ps : reports status of active processes.

pstat : report system status.

pwcheck : check /etc/passwd (default) file.

pwd : display current working directory.

R

rm : remove (erase) files or directories (unrecoverable).

rmdir : remove an empty directory.

rsh : invoke Restricted Bourne Shell.

S

sed : the stream editor.

set : assign value to variable.

setenv : assign value to enviroment variable.

sh : invoke Bourne shell.

sleep : suspend execution of a command for a given period.

sort : sort and merge files.

spell : find spelling errors.

split : split file to smaller files.

stty : set options for a terminal.

su : spawns a subshell with a different uname, requires other user's

password,unless you're root.

sum : compute checksums and number of blocks for files.

T

tabs : set tabs on a terminal.

tail : display last 10 lines of file.

tar : a simple compression tool that merges multiple files into a single one,

originally made to make backing up materials on backup tapes easier.

tee : create a tee in a pipe.

telnet : access remote systems using the telnet protocol.

test : test various expressions and files.

time : display elapsed time (execution, process, and system times) for a

command.

touch : change time/date stamps of files.

tr : substitutes sets of charecters.

translate : translates files to different FORMat.

troff : FORMat files to phototypester.

true : return zero (true) exit status.

tset : set terminal mode.

tty : report a name of a terminal.

U

umask : set file-creation mode (permissions) mask.

umount : unmount a device.

uname : display the name of the current system.

uniq : report any duplicate line in a file.

units : convert numbers from one unit to another.

unzip : extract files from zip archieve.

uptime : report system activety.

uucp : copy files between two unix systems (oldie but still beautiful).

uulog : report uucp status.

uuname : list uucp sites known to this site.

uudecode : decode to binary after "uuencode" transmission.

uencode : encode binary file for email transmission.

uustat : report status of uucp or cancel a job.

uupick : receive public files sent bu uuto.

uuto : send files to another public Unix system.

uux : execute command to remote Unix system.

V

vi : a screen oriented (visual) editor (cool ,but Vim is better).

W

wall : sends message to all users (root only).

wait : await completion of background process.

wc : count lines, words, bytes etc' in one or more files.

who : report active users.

whois : search for user inFORMation.

write : send a message for another user (see mesg).

whoami : which user you are logged in as at the moment. If you, for example,

switch to a different user, logname will show the original uname you

logged in as, and whoami will show the current user.

Z

zip : archieve file or files in zip FORMat.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有