免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2358 | 回复: 12
打印 上一主题 下一主题

想问一下在实际工作中,那些方面会用到shell编程? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-01-12 16:14 |只看该作者 |倒序浏览
想问一下在实际工作中,那些方面会用到shell编程?
有方向才有学习的动力。
请高手指教!
希望可以具体一点,比方什么职位,干什么任务会用到的!

论坛徽章:
0
2 [报告]
发表于 2006-01-12 16:58 |只看该作者
你看看命令就知道了
一般的操作简单说是
提取信息
或者说shell编程吧。。。用到命令好多好杂

论坛徽章:
0
3 [报告]
发表于 2006-01-12 23:05 |只看该作者
谢谢

论坛徽章:
0
4 [报告]
发表于 2006-01-13 00:47 |只看该作者
对于系统维护方面会用到Shell编程 ,通常情况下,写个Shell脚本对系统的管理很方便。
再就是可以用在网站方面,比如网站日志统计和分析就需要Shell编程的知识 。
本人也只是胡乱侃侃,说的不对的地方 请大家纠正!

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 09:56:11
5 [报告]
发表于 2006-01-13 12:03 |只看该作者

回复 1楼 antimatter 的帖子

只要命令行能执行的命令,都可以写成 shell 脚本。
shell 操作的对象是实用程序,以及实用程序的组合,只要你有想象力,几乎可以作任何事情。

论坛徽章:
0
6 [报告]
发表于 2006-01-13 12:58 |只看该作者
想偷懒的人才学shell,偶属于这种

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 09:56:11
7 [报告]
发表于 2006-01-13 13:11 |只看该作者

回复 6楼 大蚂蚁 的帖子

应该是会偷懒的那一种

论坛徽章:
0
8 [报告]
发表于 2006-01-13 13:12 |只看该作者
原帖由 zongyaotang 于 2006-1-13 12:03 发表
只要命令行能执行的命令,都可以写成 shell 脚本。
shell 操作的对象是实用程序,以及实用程序的组合,只要你有想象力,几乎可以作任何事情。
shell有线程没有 ????????

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
9 [报告]
发表于 2006-01-13 13:15 |只看该作者
原帖由 231053469 于 2006-1-13 13:12 发表

shell有线程没有 ????????

  1. When not to use shell scripts
  2. · Resource−intensive tasks, especially where speed is a factor (sorting, hashing, etc.)
  3. Procedures involving heavy−duty math operations, especially floating point arithmetic, arbitrary
  4. precision calculations, or complex numbers (use C++ or FORTRAN instead)
  5. ·
  6. · Cross−platform portability required (use C or Java instead)
  7. Complex applications, where structured programming is a necessity (need type−checking of variables,
  8. function prototypes, etc.)
  9. ·
  10. · Mission−critical applications upon which you are betting the ranch, or the future of the company
  11. Situations where security is important, where you need to guarantee the integrity of your system and
  12. protect against intrusion, cracking, and vandalism
  13. ·
  14. · Project consists of subcomponents with interlocking dependencies
  15. Extensive file operations required (Bash is limited to serial file access, and that only in a particularly
  16. clumsy and inefficient line−by−line fashion)
  17. ·
  18. · Need native support for multi−dimensional arrays
  19. · Need data structures, such as linked lists or trees
  20. · Need to generate or manipulate graphics or GUIs
  21. · Need direct access to system hardware
  22. · Need port or socket I/O
  23. · Need to use libraries or interface with legacy code
复制代码

论坛徽章:
0
10 [报告]
发表于 2006-01-13 13:18 |只看该作者
火哥1!!!我接触shell有1个月了大概,现在想系统的学习下
有没有好书推荐,系统的学习学习,不要 E文的.....
shell编程 从基础强起的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP