码迷,mamicode.com
首页 >  
搜索关键字:linux基本命令—— cat more w who pwd    ( 37061个结果
linux sort命令
1、sort将文件的每一行作为一个单位,相互比较,比较原则是从首字符向后,依次按ASCII码值进行比较,最后将他们按升序输出。[root@rusky ~]# cat seq.txt bananaapplepearorange[root@rusky ~]# sort seq.txt #默认升序a...
分类:系统相关   时间:2014-06-04 15:37:33    阅读次数:397
tr命令 实例
实例:、将文件file中出现的"abc"替换为"xyz"# cat file | tr "abc" "xyz" > new_file【注意】这里,凡是在file中出现的"a"字母,都替换成"x"字母,"b"字母替换为"y"字母,"c"字母替换为"z"字母。而不是将字符串"abc"替换为字符串"xyz...
分类:其他好文   时间:2014-06-02 11:41:01    阅读次数:231
用debian 7.5 cd/dvd 搭建局域网mirror镜像源来批量网络无人值守安装debian
1、图形化最小安装debian7.5操作系统2、更改debian的apt源配置文件/etc/apt/sources.listroot@duan:~#cat/etc/apt/sources.list debhttp://ftp.de.debian.org/debianwheezymaincontribnon-free deb-srchttp://ftp.de.debian.org/debianwheezymaincontribnon-free3、更新apt,并..
分类:其他好文   时间:2014-06-02 10:35:03    阅读次数:379
nova compute enable password injection and filesystem resize
root@OpenstackIcehouse2:~# cat /etc/nova/nova-compute.conf [DEFAULT]compute_driver=libvirt.LibvirtDriver[libvirt]virt_type=qemulibvirt_inject_partitio...
分类:其他好文   时间:2014-06-02 10:23:16    阅读次数:347
More on Class Loading and Initialization
Initialization comes after Class loading.
分类:其他好文   时间:2014-06-02 07:58:13    阅读次数:156
并行编程之条件变量(posix condition variables)
在整理Java LockSupport.park()的东东,看到了个"Spurious wakeup",重新梳理下。 首先来个《UNIX环境高级编程》里的例子: #include struct msg { struct msg *m_next; /* ... more stuff here ... */ }; struct msg *workq; pthread_cond_t qread...
分类:其他好文   时间:2014-06-02 04:45:19    阅读次数:267
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], []
今天建库的时候忽然报错ORA-00600:internalerrorcode,arguments:[keltnfy-ldmInit],[46],[1],[],[],[],[],[]梗是让我无语,没办法只好检查参数配置,按照文档一步步检查,最后检查了下profile文件的配置 [root@servU_01db_1]#more/home/oracle/.bash_profile #.bash_profile #..
分类:其他好文   时间:2014-06-02 04:12:51    阅读次数:320
LINUX 11G RAC ASM磁盘组在线增加磁盘扩容
LINUX11GRACASM磁盘组在线增加磁盘扩容 1.操作系统版本OEL6.1 [root@cqltjcpt1~]#more/etc/redhat-release RedHatEnterpriseLinuxServerrelease6.1(Santiago) 2.数据库版本oracle11grac SQL>select*fromv$version; BANNER --------------------------------------------..
分类:系统相关   时间:2014-06-02 03:51:08    阅读次数:428
AIX修改root # 号提示符
AIX安装好之后只有一个$或#的提示符,使用起来非常的不方便,在网上搜索到的资料都只说到修改~/.profile文件,或者是在/etc/profile文件加入环境变量PS1=‘$USER@$PWD$‘,但是这样修改要么是每个用户都得自己改~/.profile文件,要么root的提示符也变成了$,经过我的试验,只需要..
分类:其他好文   时间:2014-06-02 03:44:28    阅读次数:211
-bash: warning: setlocale: LC_CTYPE: cannot change locale (EN_US.UTF-8)
-bash:warning:setlocale:LC_CTYPE:cannotchangelocale(EN_US.UTF-8) 把linux系统从中文设置英文字符集后发生以下报错 首先本系统字符集为中文UTF-8 [root@localhost~]#more/etc/sysconfig/i18n LANG="zh_CN.UTF-8" 修改为英文UTF-8 [root@localhost~]#vim/etc/sysconfig/i..
分类:其他好文   时间:2014-06-02 03:24:48    阅读次数:331
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!