ChinaUnix.net
相关文章推荐:

running anaconda script usrbinanaconda

I am writing a script to find out who is running the script itself, "ps -ef | grep scriptname"? It doesn't seem to give me what i need. I just need the username who is running it. Thanks a lot.

by dawncaller - Shell - 2008-02-04 10:32:36 阅读(1773) 回复(2)

相关讨论

本帖最后由 yshihyu 于 2012-08-07 22:54 编辑 因为代码中函数很多, 想再c++ 函数中最前头加入 一段代码 void test() { 加入一段代码 } 请问script怎么分析才能在每个cpp 文件中函数最前面加入一段代码 谢谢

by yshihyu - Shell - 2012-08-08 17:21:56 阅读(1120) 回复(6)

怎麼讓script在咝惺遣灰?崾尽�script started, file is”這些字樣? 把它放到後台咝卸紩?刑崾荆

by mct21 - Solaris - 2006-10-05 11:16:01 阅读(3335) 回复(3)

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6797/showart_80126.html

by lues - Linux文档专区 - 2006-03-02 13:08:23 阅读(462) 回复(0)

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6138/showart_25426.html

by w3g8 - BSD文档中心 - 2005-05-12 10:11:38 阅读(835) 回复(0)

[code] #!/bin/ksh for line in $(grep -rl oldstring /pathdir/*);do ed $line<

by 寂寞烈火 - Shell - 2004-11-22 21:46:44 阅读(926) 回复(5)

script可以记录屏幕的输入输出信息到文件 如下: # script script started, file is typescript # ls -l total 16 -rw-r--r-- 1 root root 1150 Feb 8 19:28 OWconfig_test -rw-r--r-- 1 root other 24 Feb 11 19:26 sh.sh -rw-r--r-- 1 root other 0 Feb 11 19:27 typescript # exit script done, file is typescript # cat typescript script started on Wed Feb 11 19:27:28 2004 #...

by amiao - Shell - 2004-02-12 10:42:58 阅读(697) 回复(0)

打开anaconda源码目录下的/docs/command-line.txt,其中有这么一句话: updates Prompt for floppy containing updates (bug fixes). 那么在bug fix当中,每次都去制作iso,不仅浪费时间,而且效果欠佳。最后就是越做越烦。那么有了这么一个工具,确实减轻了bug fix的繁琐。然后去anaconda的网站上查找得到如下资料(地址是http://fedoraproject.org/wiki/anaconda/Updates): anaconda Updates anaconda has the capa...

by 适兕 - Python文档中心 - 2008-11-30 14:21:57 阅读(1832) 回复(0)

谈到汉化,那就是我们在整个系统的安装过程中,几乎所有的步骤都是显示中文的,而在我所读到的anaconda源代码中没有任何的有关汉字的踪影,那么它显示汉字到底是怎么一回事了呢?还好因为有源代码,虽然走了些弯路,但还是值得的!读了这么多的代码,在每个设计到显示给用户的程序中都会有如此一个导入的语句:from rhpl.translate import _, N_凡是导入此模块的程序,涉及到输出到终端的语句或词语,都会调用到_或N_ 在此以anacon...

by 适兕 - Python文档中心 - 2008-07-13 20:31:58 阅读(2021) 回复(0)

在anaconda的主程序中,定义了如下的一个python类。 理解面对对象,如果是从C++或java过来的人,对于python定义类的方式,是有点不"感冒“的,就像是对于python的缩进一样。 class anaconda: #类定义,关键字class.默认为object. def __init__(self): #定义构造器 self.intf = None #设置intf self.dir = None #设置 dir self.id = None #设置 ID self.method = None...

by 适兕 - Python文档中心 - 2008-07-08 19:14:51 阅读(1712) 回复(0)

如何修改Redhat 5 安装程序anaconda 中通过http获取文件的方法,现在在一种环境下怀疑anaconda 通过http取RPM包存在问题,所有想修改一下,以便进行测试。

by yuguanglou - Python - 2008-03-17 22:10:18 阅读(1897) 回复(0)