Google Chrome app store has a powerful SSH client (which can replace Putty). The key is that it is integrated into the web page. below is:
Its strength is exactly what Chrome's powerful native client has created.
The native client can be
To delete a process named "ABC", follow these steps!
1. view the process, for example, a process named ABC. You can view its details as follows:
PS-Aux | grep-I "ABC"// View all processes that contain ABC characters;
2. Remove the grep
From http://vc88.javaeye.com/blog/658764
Shell if interpretation statement[Front and back Spaces] Leading space[-A file] true if the file exists.[-B file] If the file exists and is a special block file, it is true.[-C file] If the file exists
Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As LongPrivate Declare Function GetExitCodeProcess Lib "kernel32" (ByVal hProcess As Long, lpExitCode As
Address: http://www.examw.com/linux/all/114976/index.html
Test command usage. Function: Checks files and comparison values.
1) judgment Expression
If test (expression true)
If test! The expression is false.
Test expression 1-A expression 2 both are
1. What is shell?The operating system interface. The shell can call the corresponding hardware through the kernel.2. What is Bash?Bourne again shell (BASH) is actually a version of shell.3. BASH Shell functions:1) command compilation function
1. Install busybox
Busybox is a single executable implementation of standard Linux tools. Busybox contains some simple tools, such as CAT and ECHO, and some larger and more complex tools, such as grep, find, mount, and telnet. Some people refer to
The current Code only contains the part used to create a file image and generate a file system.
#! /Bin/sh # log = ". /version_make.log "root_path = ". /update_file/network_update "log = ". /update_file/version_make.log "ver_f = ".
Original works can be reprinted. During reprinting, you must mark the original source, author information, and this statement in hyperlink form. Otherwise, legal liability will be held. Http://huangrs.blog.51cto.com/2677571/788379
These days I have
The most important script language in Linux is Bash. I will write this (I will only use this :)). Compared with other development languages (such as C), bashIs a relatively simple language, mainly used to write some script code, some batch
In the process of system O & M, log files are often very large. In this case, we need to split the log files. Here, we use shell scripts to split the files :#! /Bin/bash
Linenum = 'wc-l httperr8007.log | awk '{print $1 }''
N1 = 1
File =
Shell: common date methods
Obtain the time string in LinuxCommand date# Output the current time of 23 days in the format of yyyymmdd$ Date + % Y % m % d-date = '23 days ago'
$ Date-uThu Sep 28 09:32:04 UTC 2006
$ Date-RThu, 28 Sep 2006 17:32:28 + 080
Overview
Wildcard is processed by shell. It only appears in the argument of the command-neither in command_name nor in options. When a wildcard is encountered in argument, shell will regard it as a path or file name to search for possible matching
Post:
Http://blog.chinaunix.net/u1/43550/showart_372639.html
1. General wildcard characters
Wildcard characters are used for pattern matching, such as file name matching, path name searching, and string searching. There are four common wildcards:
*
This problem was discovered when the SGE startmpi. Sh script was transformed. Consider the following shell code:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#! /Bin/sh
# Declare-I
Testline =
As a non-programmer and software quality control personnel, the most common task in daily work is to conduct software quality testing. During software quality testing, you need to frequently set up a test environment, configure test tools, run test
If you want to know the source code of HDFS, you can read his javaeye from Brother Cai bin.
Sorry, I used the word "mysterious killer" because it really hurt me so much that I took a lot of energy to pick it up.
Recently, when testing hadoop, The
Abstract: This chapter discusses the conditions used in Bash scripts, including the following topics: if statement use command exit status comparison and test input and file if/then/else structure if/then/elif/else structure use and test position
Shell syntax
Variable:
In Shell, we do not need to declare variables before using them. on the contrary, we can simply use it as needed. by default, all variables are stored as strings, although sometimes we use numbers to assign values to them.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service