- 博客(37)
- 资源 (4)
- 收藏
- 关注
转载 linux 无root权限安装tmux
zz: http://blog.sina.com.cn/s/blog_403aa80a0101h7y9.html
2014-05-22 13:57:13 2972
原创 shell的if/else框架
#!/bin/bash#to run a bash, ./filename.shecho "start bash"log_file="hello.log"if [ -f "$log_file" ] ;then echo "file exists"else echo "file not exists"fiecho "end bash"exit
2014-05-19 15:14:17 761
转载 Linux下find一次查找多个指定类型文件,指定文件或者排除某类文件,在 GREP 中匹配多个关键
zz : http://blog.sina.com.cn/s/blog_62e7fe670101dg9d.htmlLinux下find一次查找多个指定文件或者排除某类文件,在 GREP 中匹配多个关键字的方法(1)Linux下find一次查找多个指定文件:查找a.html和b.htmlfind . -name "a.html" -name "b.html"
2014-05-14 11:52:24 997
翻译 bash输入vim化,解决输入命令后修改的难题
原文: vim 101 hacksHack 81. Make Bash Shell work like Vim Editor
2014-05-13 20:59:10 580
原创 vim中的sort和unique
:sort option Description:sort Sort in ascending order:sort! Sort in descending order:sort i Ignore case while sorting:sort u Remove duplicate lines. u stands for unique.
2014-05-13 20:40:22 6789
翻译 vim中的align插件
原文:vim 101 hacksHack 47. Align the Variable Assignment alhttp://www.vim.org/scripts/script.php?script_id=294
2014-05-13 20:31:25 2803
转载 默认shell的设置
zz : http://zhidao.baidu.com/link?url=opo2uCNHiwFtgg7oc0kOctozeZ8ijzDnIPkSuX3DIGdLIClQfxkaGAmEel0nLF7iV_ZlsnBTraIbbddcs3v1Iq如何让Linux终端默认的shell就是csh?我现在的shell默认是/bin/bashwhich csh 找
2014-05-12 14:03:40 2058
原创 vcs随机化的使用
1,传递seedmodule top();initialbegin int test_args1; int seed; $value$plusargs("seed=%d",seed); test_args1 = $urandom(seed); $display("test_args1 = %d", test_args1); $finish;
2014-05-12 00:17:00 2967
原创 rhel中只有vim,升级到gvim的方法
1,vim -v确定一下目前安装的版本号。2,下载vim-X11-7.2.411-1.8.el6.i686
2014-05-10 00:58:22 2839
转载 Linux忽略大小写的查找技巧
zz : http://soft.chinabyte.com/os/100/11614600.shtml1.vim 中的查找 Linux 下 vim搜索文件内容时加上 \c 参数可以忽略搜索字符的大小写. 比如用vim 搜索文件中的 China 时 可用 :/china\c 2. find 查找 Linux使用find命令搜
2014-05-08 09:21:14 1486
转载 vim : 删除不包含某字符的行
zz : http://bbs.chinaunix.net/thread-1098609-1-1.htmlook3016a@dlm.mabuchi-motor.co.jphelloworldqingfeng_ma@dachan.com.cnzongbuban@126.comkongxj@dlut.edu.cnlj@dhc.com.cnadfs
2014-05-06 22:14:47 6614
转载 grep 命令使用 -rin
zz :http://www.cppblog.com/jb8164/archive/2007/12/21/39187.html使用grep搜索文件内容——快捷、方便(1) 在当前目录下的所有文件的文件内容中查找哪个文件的内容中有findcontents(大小写不敏感,列出findcontents所在文件的所在行)——适合于当前目录下的文件及目录数目比较少,如果查找后列出内容过多
2014-05-06 21:26:15 5322
翻译 excel的读操作
zz : http://search.cpan.org/~jmcnamara/Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel.pm#NAME#!/usr/bin/perl -w use strict; use Spreadsheet::ParseExcel; my $parser = Spread
2014-05-05 16:05:39 552
转载 filename.gz的解压和压缩
Linux压缩保留源文件的方法:gzip –c filename > filename.gzLinux解压缩保留源文件的方法:gunzip –c filename.gz > filename
2014-05-04 16:45:40 558
转载 DPI-C的使用指南
第1章 C和C++文件后缀名为c,VCS会使用gcc编译器;文件后缀名为cpp,cxx,cc,VCS会使用g++编译器。VCS的DPI接口是兼容C的,所以如果使用g++编译器,需要在c++的文件中加入如下:#ifdef __cplusplusextern "C" {#endif
2014-05-04 16:38:14 21568 1
原创 vmm_opts::get_int
Some of the test parameters in functional verification are passed from the command line. Passing Parameters from the command line allows simulating the same testcase file with different scenario. Fo
2014-05-04 16:13:24 1718
原创 vmm执行基本流程
`vmm_test_begin(testcase_name,vmm_env,"Test Case Name String") `vmm_test_env(testcase_name)
2014-05-04 16:02:55 2016
DDR5 DDR4 LPDDR5 LPDDR4 JEDEC SPEC
2022-11-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人