摘要: Linux批量重命名文件会涉及到改变一个字母、改变一些相连字母、改变某些位置的字母、在最前面加上某些字母、或者改变字母的大小写。完成这里五个方法基本上就会解决了Linux批量重命名的工作。1、我想把它们的名字的第一个1个字母变为"q",其它的不变[root@ppsmailqueue]#foriin`... 阅读全文
posted @ 2015-03-25 10:14 凉皮子 阅读(1452) 评论(0) 推荐(0) 编辑
摘要: 在系统维护的过程中,随时可能有需要查看 CPU 使用率,并根据相应信息分析系统状况的需要。在 CentOS 中,可以通过 top 命令来查看 CPU 使用状况。运行 top 命令后,CPU 使用状态会以全屏的方式显示,并且会处在对话的模式 -- 用基于 top 的命令,可以控制显示方式等等。退出 t... 阅读全文
posted @ 2015-03-15 15:27 凉皮子 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 单线程 from time import ctime,sleepdef music(): for i in range(2): print "I was listening to music. %s" %ctime() sleep(1)def move(): ... 阅读全文
posted @ 2015-03-11 14:52 凉皮子 阅读(180) 评论(0) 推荐(0) 编辑
摘要: The net file format is used to describe the axtNet data that underlie the net alignment annotations in the Genome Browser. For a detailed description ... 阅读全文
posted @ 2015-01-29 21:20 凉皮子 阅读(188) 评论(0) 推荐(0) 编辑
摘要: PSL lines represent alignments, and are typically taken from files generated by BLAT or psLayout. See the BLAT documentation for more details. All of ... 阅读全文
posted @ 2015-01-29 21:12 凉皮子 阅读(880) 评论(0) 推荐(0) 编辑
摘要: IntroductionExampleStanza TypesD StanzaS StanzaH StanzaA StanzaX and M StanzasCensus StanzaIntroductionLAV is a plain-text file format for alignments ... 阅读全文
posted @ 2015-01-29 14:45 凉皮子 阅读(297) 评论(0) 推荐(0) 编辑
摘要: The chain format describes a pairwise alignment that allowgaps in both sequences simultaneously.Each set of chain alignments starts with a header lin... 阅读全文
posted @ 2015-01-29 14:28 凉皮子 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 有两种方式:1. command & : 后台运行,你关掉终端会停止运行 2. nohup command & : 后台运行,你关掉终端也会继续运行 一、 简介 Linux/Unix 区别于微软平台最大的优点就是真正的多用户,多任务。因此在任务管理上也有别具特色的管理思想。我们知道,在 Window... 阅读全文
posted @ 2015-01-25 21:43 凉皮子 阅读(204) 评论(0) 推荐(0) 编辑
摘要: (1) os.system仅仅在一个子终端运行系统命令,而不能获取命令执行后的返回信息代码如下:system(command) -> exit_statusExecute the command (a string) in a subshell.如果在命令行下执行,结果直接打印出来代码如下:>>> ... 阅读全文
posted @ 2015-01-25 21:03 凉皮子 阅读(8100) 评论(0) 推荐(0) 编辑
摘要: linux之sed用法sed是一个很好的文件处理工具,本身是一个管道命令,主要是以行为单位进行处理,可以将数据行进行替换、删除、新增、选取等特定工作,下面先了解一下sed的用法 sed命令行格式为: sed [-nefri] ‘command’ 输入文本常用选项: -n∶使用安静(silent)模式... 阅读全文
posted @ 2015-01-24 15:53 凉皮子 阅读(141) 评论(0) 推荐(0) 编辑