![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Shell
xxrrss
沉迷java软件编程
展开
-
shell 中 if condition
[size=medium]est command or [ expr ] is used to see if an expression is true, and if it is true it return zero(0), otherwise returns nonzero for false.Syntax:test expression OR [ expression ]E...原创 2009-09-17 15:21:05 · 273 阅读 · 0 评论 -
常用Shell命令
ls /bin/[a-c]*ls /bin/[!a-o]ls /bin/[^a-o]date;who cleardatels > filenamedate >> myfilescat < myfilescat > snamesort < sname > sorted_namestr "[a-z]" "[A-Z]" < sname > cap_names...原创 2009-12-24 17:33:16 · 121 阅读 · 0 评论