![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux&Unix
文章平均质量分 75
seave
这个作者很懒,什么都没留下…
展开
-
linux下配置环境变量.bash_profile
[seave@redhat9 seave]$ vi .bash_profile # .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then . ~/.bashrcfi# User specific environment and startup programsPATH=$PATH:$HO原创 2006-02-22 14:31:00 · 14262 阅读 · 2 评论 -
Linux shell program help
本文结合大量实例阐述如何编写一个shell脚本。 为什么要进行shell编程 在Linux系统中,虽然有各种各样的图形化接口工具,但是sell仍然是一个非常灵活的工具。Shell不仅仅是命令的收集,而且是一门非常棒的编程语言。您可以通过使用shell使大量的任务自动化,shell特别擅长系统管理任务,尤其适合那些易用性、可维护性和便携性比效率更重要的任务。 下面,让我们一起转载 2006-05-25 17:15:00 · 920 阅读 · 0 评论 -
return lastday's info via shell
shell-用date获得前一天的日期 用date获得前一天的日期2006-03-08 15:18 pm来自:Linux文档现载:www.51dibs.comlinux好象有date 有-24 有+%y%m%d等,谢了。还有有办法获得3天前的日期吗?唉,在b shell没有这个用法了,要想用纯shell做几天前后的运算,只有自己想办法了,+%y%m%d用于控制输出格式,作用有限,要想做的话,参见这转载 2006-05-25 17:21:00 · 789 阅读 · 0 评论 -
One linux shell invoke the other linux shell and use the generate value
写了一个shell,根据当前系统时间获取上一天时间的代码如下:#!/bin/sh# ydate: A Bourne shell script that# prints yestardays date# Output form: Month Day Year# From Focus on Unix: http://unix.about.com# Set the current mon原创 2006-06-07 14:33:00 · 897 阅读 · 0 评论