GNU 核心工具

原贴:http://www.dbanotes.net/opensource/gnu_core_utilities.html

 

GNU 核心工具

"说出 10 个 Linux 基本命令?"

这是当年我在毕业求职的时候遇到的一个面试题。没有难度。如果说法换一下,"说出 10 个 GNU 核心命令",即使我能蒙出来 10 个,怕也会有错误。

GNU 核心工具(GNU Core Utilities)指的是 GNU 操作系统基本的文件、Shell、文本维护工具。

The GNU Core Utilities are the basic file, shell and text manipulation utilities of the GNU operating system. These are the core utilities which are expected to exist on every operating system.

GNU 核心工具 包括 fileutilsShellutilstextutils 三个部分。其中 fileutils 只有 22 个命令,有三个命令我居然从来没有用到过,分别是 mkfifo(Creates FIFOs)、shred(Destroy data in files)、vdir(Long directory listing)。Shellutils 有 35 条命令,其中也有我从来没有注意过的命令,比如 pinky(Lightweight finger);textutils 工具中也有用的极少的工具,而且用的时候也往往有一些坏习惯,textutils 有 26 条命令,注意 VI/VIM 并不在其中。

初学 Unix/GNU Linux 的时候往往觉得老虎吃天,无从下口。这里有个小小的建议:从这个 GNU 核心工具开始,逐步掌握包含的三类几十条命令。对于类 Unix 操作系统你就可以拿出去蒙人了,呵呵,象 Unix 操作系统速成? 这有点像《天龙八部》中鸠摩智学会了小无相功,就能把少林 72 绝技耍的像模像样有些类似。当然,仅靠这一点还不足以行走江湖,有时间咱再继续说。

--EOF--

| | Comments (7) | | Edit


<script type="text/javascript"> </script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"> </script> <script language="JavaScript1.1" src="http://pagead2.googlesyndication.com/cpa/ads?client=ca-pub-2198040673582211&cpa_choice=CAAQhaT2_gEaCI52gVKP95-sKLGsuIEBMAA&oe=utf-8&dt=1189774026984&lmt=1189604427&format=ref_text&output=textlink&correlator=1189774026984&url=http%3A%2F%2Fwww.dbanotes.net%2Fopensource%2Fgnu_core_utilities.html&region=_google_cpa_region_&ref=http%3A%2F%2Fwww.dbanotes.net%2FMT%2Fmt-search.cgi%3Ftag%3DLinux%26blog_id%3D1%26IncludeBlogs%3D1&cc=100&ga_vid=393778848.1189774027&ga_sid=1189774027&ga_hid=303251358&flash=9&u_h=1024&u_w=1280&u_ah=874&u_aw=1280&u_cd=32&u_tz=480&u_his=5&u_java=true" type="text/javascript"></script> Get Firefox with Google Toolbar for better browsing
<script type="text/javascript"> </script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"> </script> <script language="JavaScript1.1" src="http://pagead2.googlesyndication.com/cpa/ads?client=ca-pub-2198040673582211&cpa_choice=CAAQidTQgAIaCEapPfRcsfp6KN2uuIEBMAA&oe=utf-8&dt=1189774027406&lmt=1189604427&prev_fmts=ref_text&format=ref_text&output=textlink&correlator=1189774026984&url=http%3A%2F%2Fwww.dbanotes.net%2Fopensource%2Fgnu_core_utilities.html&region=_google_cpa_region_&ref=http%3A%2F%2Fwww.dbanotes.net%2FMT%2Fmt-search.cgi%3Ftag%3DLinux%26blog_id%3D1%26IncludeBlogs%3D1&cc=100&ga_vid=393778848.1189774027&ga_sid=1189774027&ga_hid=303251358&flash=9&u_h=1024&u_w=1280&u_ah=874&u_aw=1280&u_cd=32&u_tz=480&u_his=5&u_java=true" type="text/javascript"></script> Generate revenue from your website. Google AdSense.

<script type="text/JavaScript"> var alimama_pid="mm_10000590_100538_152893"; var alimama_titlecolor="0000FF"; var alimama_descolor ="000000"; var alimama_bgcolor="FFFFFF"; var alimama_bordercolor="FFFFFF"; var alimama_linkcolor="008000"; var alimama_sizecode="12"; var alimama_width=468; var alimama_height=60; var alimama_type=2; </script> <script src="http://p.alimama.com/inf.js" type="text/javascript"> </script> id="alimamafrm" border="0" name="alimamafrm" marginwidth="0" marginheight="0" src="http://p.mm.cn.yahoo.com/alimama.php?u=http%3A%2F%2Fwww.dbanotes.net%2Fopensource%2Fgnu_core_utilities.html&iss=0&i=mm_10000590_100538_152893&w=468&h=60&sz=12&t=2&tc=0000FF&dc=000000&bgc=FFFFFF&bdc=FFFFFF&lc=008000&k=&tt=GNU%20%E6%A0%B8%E5%BF%83%E5%B7%A5%E5%85%B7%20-%20DBA%20notes&r=http%3A%2F%2Fwww.dbanotes.net%2FMT%2Fmt-search.cgi%3Ftag%3DLinux%26blog_id%3D1%26IncludeBlogs%3D1&sx=262&sy=857&ac=1&mk=" frameborder="0" width="468" scrolling="no" height="60">

本文相关评论|Comments(7)

kefizh 的评论:

了解GNU核心命令的程度,也不能完全作为衡量*NIX水平的依据。
学 GNU+Linux 无从下口的主要原因还是在于 linux 自身,纷繁复杂的发行版和彼此迥异的管理风格,造成了GNU+Linux分化加剧。
相对来说,BSD系统和源代码树更具体系化,基础文档也较完善,目前受重视的程度也有提高,个人觉得值得关注。

PS: BSD版工具很多较GNU的优秀,(如 gzip)

Fenng Author Profile Page 的评论:

gzip 是 BSD 工具 ?

都看不明白说什么

linchanx 的评论:

说到unix就不能不提BSD,事实上unix后来取得的成就从某种程度上都要归功于BSD,现在所说的unix准确的讲应该叫做unix+BSD扩展,没有BSD,unix将会失去很多光芒。

statistics 的评论:

三楼的,估计你只会用bsd吧?按你这么说,那sun和ibm可以去钻地缝了。一楼的搞笑了。

Kevin 的评论:

事实上,gzip的GPL版本有很多安全问题,并且长期缺乏维护。去年由Google公司安全团队发现一系列安全问题,以及由于修正这些问题所引入的f2c压缩文件无法解压的回归问题。在FreeBSD ports中,gzip已经被替换为BSD授权的版本,来自于NetBSD的Matthew R. Green所撰写的、基于可自由再发布的zlib压缩库的用户界面接口。该版本不存在目前GPL版本存在的安全问题。

所以楼上说一楼搞笑的,你们也有些搞笑了。至于三楼的,有点个人倾向。

Fenng Author Profile Page 的评论:

我有些孤陋寡闻了

多谢!

Atrhis 的评论:

个人比较喜欢BSD一点。
不是很喜欢Linux。

添加评论

<script type="text/javascript"> </script> 直接 匿名评论 或者 登录 评论这篇文章(OpenID、TypeKey...)  
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值