linux命令c语言自己实现(大概40来个)

上传者: lufubo | 上传时间: 2019-12-21 20:13:57 | 文件大小: 82KB | 文件类型: rar
自己学习《APUE》时写的linux下一些命令(大概40个左右)实现,仅当学习使用,这些命令包括cat cp echo head ls paste rmdir tail umask who chattr cut expand join mkdir pwd sed tee uniq chgrp date find last mkfifo reboot sort wc chmod df ln mv rename split touch which chown du grep lsattr od rm tac tr whoami

文件下载

资源详情

[{"title":"( 74 个子文件 82KB ) linux命令c语言自己实现(大概40来个)","children":[{"title":"my_linux_command","children":[{"title":"uniq.c <span style='color:#111;'> 8.58KB </span>","children":null,"spread":false},{"title":"tail.c <span style='color:#111;'> 9.30KB </span>","children":null,"spread":false},{"title":"grep.c <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"mkfifo.c <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"tr.c <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"find.c <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"mv.c <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"rename.c <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"pwd.c <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"mkdir.c <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"touch.c <span style='color:#111;'> 4.07KB </span>","children":null,"spread":false},{"title":"rm.c <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"join.c <span style='color:#111;'> 7.51KB </span>","children":null,"spread":false},{"title":"reboot.c <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"tac.c <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"echo.c <span style='color:#111;'> 636B </span>","children":null,"spread":false},{"title":"tee.c <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"last.c <span style='color:#111;'> 4.27KB </span>","children":null,"spread":false},{"title":"chattr.c <span style='color:#111;'> 4.43KB </span>","children":null,"spread":false},{"title":"test.c <span style='color:#111;'> 625B </span>","children":null,"spread":false},{"title":"cat.c <span style='color:#111;'> 3.81KB </span>","children":null,"spread":false},{"title":"who.c <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"df.c <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"getopt_long.c <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"cut.c <span style='color:#111;'> 7.62KB </span>","children":null,"spread":false},{"title":"split.c <span style='color:#111;'> 5.49KB </span>","children":null,"spread":false},{"title":"chown.c <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"makefile <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":"date.c <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false},{"title":"lsattr.c <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"od.c <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"paste.c <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"test_dir","children":[{"title":"test_va_list.c <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false}],"spread":false},{"title":"head.c <span style='color:#111;'> 4.72KB </span>","children":null,"spread":false},{"title":"ln.c <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"du.c <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"sort.c <span style='color:#111;'> 7.24KB </span>","children":null,"spread":false},{"title":"chmod.c <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"which.c <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"cp.c <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"whoami.c <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"sed.c <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"chown.h <span style='color:#111;'> 3.65KB </span>","children":null,"spread":false},{"title":"umask.h <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"fileflag.h <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"bit_opr.h <span style='color:#111;'> 268B </span>","children":null,"spread":false},{"title":"copy.h <span style='color:#111;'> 8.76KB </span>","children":null,"spread":false},{"title":"err_msg.h <span style='color:#111;'> 906B </span>","children":null,"spread":false},{"title":"link.h <span style='color:#111;'> 745B </span>","children":null,"spread":false},{"title":"find_file.h <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false},{"title":"mkdir.h <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"gettime.h <span style='color:#111;'> 398B </span>","children":null,"spread":false},{"title":"file_isexist.h <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"safe-read.h <span style='color:#111;'> 451B </span>","children":null,"spread":false},{"title":"chmod.h <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"char_map.h <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"command_comm.h <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"is_digit.h <span style='color:#111;'> 947B </span>","children":null,"spread":false},{"title":"list.h <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false},{"title":"remove.h <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"str_match.h <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"is_root_process.h <span style='color:#111;'> 438B </span>","children":null,"spread":false},{"title":"rmdir.h <span style='color:#111;'> 483B </span>","children":null,"spread":false},{"title":"pwd.h <span style='color:#111;'> 767B </span>","children":null,"spread":false},{"title":"get_filesize.h <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"rename.h <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"yesno.h <span style='color:#111;'> 643B </span>","children":null,"spread":false}],"spread":false},{"title":"expand.c <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"rmdir.c <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"umask.c <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"ls.c <span style='color:#111;'> 19.62KB </span>","children":null,"spread":false},{"title":"chgrp.c <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"wc.c <span style='color:#111;'> 4.76KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 965B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • tigeryang123 :
    不错,谢谢了,学习了
    2019-05-14
  • iteamwork :
    非常好的资源,值得学习
    2018-05-20
  • ljx0621 :
    不错,谢谢了
    2018-03-23
  • liudengxin1 :
    非常好的资源
    2018-01-05
  • wuzhou2222 :
    非常好的资源,值得学习
    2017-12-24

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明