Execute the same command on multiple machines on a cluster because of actual development needs. For example, execute a specified script, delete files in the same directory (this is prudent ~ ~) and so on, the members of the group developed a ALLSCP (can execute the SCP command to synchronize the online code) very good, I also wrote a, The main is to use SSH to lo
1. To use the shell script in makefile, you need to add the "@" symbol, for example:@if [-D xxx]; Then \//-d to determine the existence, in the shell, with the [] number instead of parenthesesRM-RF xxx; \Fi@cp-FV xxx xxxx//-f Delete the existing target file without prompting the-v CP command will tell the user what is
the program will use it as the library name, otherwise it will search the library in a standard location. Run a shared library under the current directory, prefixed with "./".Error:LDD cannot work on a shared library in the a.out format.LDD cannot work on some very old a.out programs that were created before the compiler that supported LDD was released. If you use LDD on this type of program, the program will try to run ARGC = 0 with unpredictable results.Http://tech.ccidnet.com/art/302/2007122
The grep command retrieves the rows in the file that contain keywords (which can be used), and is case-sensitive by default. Use the-c parameter to get the number of rows that contain the keywordUse the-n parameter to display the line number at the same time that the content is printed Using the-i parameter, when looking, is case insensitive Use the-v parameter to find rows that do not contain keywords To use a regular expression, you can use the-
Test 101-le 99101 is less than or equal to 99Similar special symbols are also available.-eq "Judgment is equal"-ge "judgment is greater than or equal to"-lt "judgment is less than"-ne "judgment is not equal to"You can use the command "[]" instead of the test command as a logical expression#! /bin/bashecho if 101 smaller than 100if test 101-le 100then echo trueelse echo Falsefiecho if 101 bigge
CutThe Cut command extracts text columns from a text file or text stream.Cut grammar[[email protected] ~]# cut-d ' The delimited character '-f fields options with Parameters: -D: followed by delimited characters. Use with-F; -F: Divides a piece of information into several segments according to the delimiter character of-D, and uses-F to remove the meaning of the paragraph;-C : Remove the fixed character interval in the unit of character (characters
1. Core-Responsible key functionssystem memory management, software program management, hardware Device management, file system management2.GNU tool ChainThe Linux kernel is the core of the system, controlling how memory, programs, and hardware interact with each other. The kernel also requires a tool chain to perform some standard functions, such as controlling files, text, and processes.View current Memory DetailsCat /proc/meminfolinux-"Linux command
Cut-and
The Cut command extracts text columns from a text file or text stream.
Cut syntax
[root@www ~]# cut-d ' delimited character '-f fields
The PATH variable is as follows
[Root@www ~]# echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/x11r6/bin:/usr/games
# 1 | 2 | 3 | 4 | 5 | 6 | 7
Take the path variable out and I'll find the fifth path.
#echo $PATH | Cut-d ': '-F 5
/usr/local/bin
Take the pa
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.