摘要: 查看linux机器是32位还是64位的方法:1、方法1:file /sbin/init 或者 file /bin/ls/sbin/init: ELF 64-bit LSB executable,x86-64,version 1 (SYSV),dynamically linked (uses shared libs),for GNU/Linux 2.6.18,stripped如果显示 64-bit 则为64位;file /sbin/init/sbin/init: ELF 32-bit LSB executable,Intel 80386,version 1 (SYSV),for GNU/Linu 阅读全文
posted @ 2013-03-24 16:42 浪里飞 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 在power5 Linux上安装oracle10g后,通过命令行方式登录sqlplus时,报错: error while loading shared libraries: $ORACLE_HOME/lib/libnnz10.so: cannot restore segment prot after reloc: Permission denied 最后的Permission d... 阅读全文
posted @ 2013-03-24 16:36 浪里飞 阅读(2778) 评论(0) 推荐(0) 编辑
摘要: 使用HISTTIMEFORMAT 显示history命令的时间戳 当你从命令行执行 history 命令后,通常只会显示已执行命令的序号和命令本身。如果你想要查看命令历史的时间戳,那么可以执行: # export HISTTIMEFORMAT='%F %T ' # history | more 1 2008-08-05 19:02:39 service netw... 阅读全文
posted @ 2013-03-24 11:52 浪里飞 阅读(730) 评论(0) 推荐(0) 编辑