`
DavyJones2010
  • 浏览: 154294 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论
文章列表
1) select var in keywords do ops done #!/bin/bash #select regards each item in keywords as form, and do ops interactiv ely echo "What is your favourite OS?" select var in "LINUX" "UNIX" "WINDOWS" "OTHER" do break done echo "Yo ...
1. How to test variable 1) Example: #String test test str1=str2 #Test if str1.equals(str2) test str1!=str2 #Test if !str1.equals(str2) test str1 #Test if str1 != null test -n str1 #Test if str1 != null test -z str1 #Test if str1 == null #Integer test test ...
1. A simple shell script: #!/bin/bash #This is a shell sample echo "Our first sample" echo #This insert an empty line in output echo "We are currently in the following dir" /bin/pwd echo echo "This directory contains the following files that includes .sh keyword&quo ...
syllabus: 1. Basic Concept of Process 2. Basic Command for Process Management 3. Scheduled Tasks   Basic Concept of Process: 1. The difference between process and program 1> Program is a segment of code, its a static concept.      Program can be stored as resource files in file system. ...
Outline: 1) Annotation Based Url Mapping Config 2) Pass Value from View to Controller 3) Pass Value from Controller to View   HandlerMapping 1) SimpleUrlHandlerMapping (Not often used) <beans ...> <bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMappi ...
RoadMap: 1) Setup Environment 2) Mapping between Controller and View 3) How to pass value from view to controller 4) How to pass value from controller to view 4) Exception handling 5) Tags in view 6) File upload/download 7) Source code investigation    1. Setup Environment 1> Create a ...
Outline: 1) Prerequesite 2) Eclipse Config 3) Create Web Project 4) Deploy Web Project to Tomcat   1. Prerequesite: 1. JDK 7 or above, environment variable config done 1) JAVA_HOME: C:\Program Files\Java\jdk1.6.0_21 2) PATH: C:\Program Files\Java\jdk1.6.0_21\bin 2. Tomcat 7, enviro ...
Question Summary: 1> What is GRUB? 2> What's its position when Linux start up? GRUB is BootLoader in Linux, its main focus is load Kernel.   1. GRUB configuration 1) The GRUB config file stores in "/boot/grub/grub.conf"      Also it has a soft link "/etc/grub.conf" ...
Linux startup process:  1> POST 加电自检      1) CMOS      -> 是指固化在主板上的程序,可以设定系统启动的首选项是通过光盘还是硬盘等启动。      2) BIOS         -> 是指用来管理CMOS选项的包含GUI界面的一段管理控制 ...
 Linux startup process:  1. inittab file (/etc/inittab) 1. All the entries in inittab file are stored with format below: id:run-levels:action:process id --> identifier, usually two alphabets or two degits. run-levels --> digit from 0-6. multiple run-level can be assigned. action -- ...
Overall View: 1. Move the cursor: 1) j  --> move down 2) k --> move up 3) h --> move forward 4) l  --> move afterward 5) 0 --> move to the start of current line 6) $ --> move to the end of current line 7) w --> move to the start of next word 8) e --> move to the e ...
User Management Related Commands 1) User management config file 1) User info config file: /etc/passwd 1) cat /etc/passwd root:x:0:0:root:/root:/bin/bash output syntax: username:password:UID:GID:GECOS:directory:shellman 5 passwd Command above can be used to inspect the help doc for passwd. C ...
Part I: Network Related Command 1) Command Name: write     Command Derived From: write     Command Path: /usr/bin/write     Command Auth: all users     Command Function: Send instant message to another user.     Command Syntax: write [username]     Example: write administrator              ...
1. A simple example for static bind validator <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" ...
  Part I: Help command 1) Command Name: man     Command Derived From: manual     Command Path: /usr/bin/man     Command Auth: all users     Command Function: get help information for command or config file     Command Syntax: man [command name OR config file name]     Example: man ls       ...
Global site tag (gtag.js) - Google Analytics