- 博客(11)
- 收藏
- 关注
原创 scripts
1、cut默认分割符为tab;2、paste files与cut相反,将文件中的对应行形成一行,中间用制表符分隔;若files为破折号"-"表示从标准输入获得输入;-d 不用制表符分隔,而用指定用来分隔多行的一个或多个字符,最好将分隔符用单引号括起;-s 把同一文件中的多行粘在一起形成一行;3、sed-n:不输出,除非用p命令指定输出;-d:删除行;4、tr
2012-05-23 17:34:16 274
原创 Fedora16---Channel Bonding Interfaces
Fedora allows administrators to bind multiple network interfaces together into a single channel using the bonding kernel module and a special network interface called a channel bonding interface
2012-05-06 22:20:12 386
原创 Fedora16---network
The configuration files for network interfaces are located in the /etc/sysconfig/network-scripts/ directory. The scripts used to activate and deactivate these network interfaces are also located
2012-05-06 13:37:48 437
原创 Fedora16---yum
1、yum check-update:To see which installed packages on your system have updates available.2、yum update package_name:To update a single package.yum update:Updating All Packages and Their Dependencie
2012-05-05 22:59:04 3303
原创 fedora16 note---user&group
1、configure umask in /etc/bashrc2、when the home directory is created, default configuration files are copied into it from the /etc/skel/ directory.3、useradd [options] usernameOp
2012-05-05 17:55:45 467
原创 RegExp
\\表示要插入一个正则表达式的反斜杠;\\\\表示要插入一个普通反斜杠;正则表达式的完整构造子列表,参java.util.regex包中的Pattern类;多数正则表达式都接受CharSequence类型的参数,CharSequence从CharBuffer、String、StringBuffer、StringBuilder类之中抽象出了字符序列的一般化定义:interface Ch
2012-03-19 18:36:25 228
原创 格式化输出
Java SE5推出printf风格的格式化输出:1、System.out.format()和System.out.printf()方法可用于PrintStream、PrintWriter对象,类C的printf();2、java.util.Formatter类用于格式化字符串,其构造器中可传入一个输出目的地参数,常用的是PrintStream、OutputStream和File,用for
2012-03-19 17:22:37 255
转载 was
概要文件创建有两种方式,图形化创建向导和命令行方式。为了操作的简便和直观,我们通常采用图形化创建向导(执行WAS_Home/ bin/ProfileManagement/pmt.sh启动该向导)。如果安装的是64位的WAS,则没有该图形化创建向导工具。这时,请直接使用./manageprofiles.sh命令。例如:在UNIX平台上创建一个Application Server类型的名为AppS
2012-03-17 00:29:08 1212
转载 基础
oslevel:查看操作系统版本。uptime:查看系统从开机到现在运行的时间prtconf, bootinfo:查看启动信息inint | telinit run-level:改变系统运行级别1、rootvg包含了基本操作系统(BOS),机器也是从rootvg启动,将BOS加载到内存。在power平台上既可运行32位内核,又可运行64位内核。可以按下
2012-03-13 19:55:04 342
转载 Java-Date, Calendar, DateFormat
Date, Calendar, DateFormat构成了Java日期处理的基本框架。Date 日期无参构造函数new Date()可以获得当前系统日期时间;System.currentTimeMillis()可以获得从1970.1.1零时经历的毫秒数;Calendar 日历通常使用java.util.GregorianCalendar类,用于操纵日期的某个具体部
2012-03-08 18:35:12 258
转载 java-Class
主要转载自http://www.ibm.com/developerworks/cn/java/j-lo-classloader/Class 所有的类都是在第一次使用时,动态加载到JVM中的。当程序创建第一个对类的静态成员的引用时,就会加载这个类。类加载器首先检查这个类的Class对象是否已经加载。如果尚未加载,默认的类加载器就会根据类名查找.class文件。在类
2012-03-07 16:40:09 252
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人