摘要:
update tbl1 a set (a.col1, a.col2) = (select b.col1, b.col2 from tbl2 b where a.key = b.key) where a.key in(select key from tbl2) 阅读全文
摘要:
在线画韦恩图(Draw venn diagram online)网站: http://jura.wi.mit.edu/bioc/tools/venn.php http://bioinformatics.psb.ugent.be/webtools/Venn/ http://bioinfogp.cnb. 阅读全文
摘要:
注意:R的升级必须先卸载(在R的目录中运行 make uninstall;或运行 yum remove R )再重新安装(下载/解压/configure/make/make install) Linux (RedHat, CentOS)上升级R语言: sudo yum install R Windo 阅读全文
摘要:
对于针对字符串位置的操作,第一个位置被标记为1。 ASCII(str) 返回字符串str的 最左面字符的ASCII代码值。如果str是空字符串, 返回0。如果str是NULL,返回NULL。 mysql> select ASCII('2'); -> 50mysql> select ASCII(2); 阅读全文
摘要:
关机命令AIXshutdown nowSolarisinit 5Redhatshutdown nowCentosshutdown now 阅读全文
摘要:
1.源程序的编译在Linux下面,如果要编译一个C语言源程序,我们要使用GNU的gcc编译器。 下面我们以一个实例来说明如何使用gcc编译器。假设我们有下面一个非常简单的源程序(hello.c):int main(int argc,char **argv){printf("Hello Linux\n... 阅读全文
摘要:
分别用sed awk perl grep 实现: 1 sed '/^$/d' input.txt > output.txt #output file: output.txt 2 sed -i '/^$/d' input.txt #output file: input.txt 3 awk 'NF > 阅读全文
摘要:
num_lines = sum(1 for line in open(input_file_name)) 阅读全文
摘要:
# cat > check_process_is_end.shwhile truedo sleep 30 # seconds res=`ps -ef | grep RNAhybrid` count=`grep -o "RNAhybrid" process_memory.shwhile truedo... 阅读全文
摘要:
#umount /mnt/fourtumount: /mnt/fourt: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) ... 阅读全文