1. Exec Read lineRushid = $ lineExec is a pipeline command, which is generally not used separately.Read from the CSV file and assign each line to lineRead is used to accept keyboard input in shell.
Line is a variable that accepts output parameters.
From: http://xierongzhong1.blog.163.com/blog/static/5232328620102921658692/
Shell may often see:>/dev/null 2> & 1
Command results can be defined in the form of %>
/Dev/null indicates an empty device file.
> Indicates the
I wrote a shell script to modify the suffix and learned it with everyone.Below isSource code: The copy storage is myrename. Sh, which can be used in full accordance with the instructions.Here, I would like to remind beginners that single quotation
Django-based control (running of Web Server shell scripts) Guide
"http://www.w3.org/TR/html4/loose.dtd"> pop up function closeit () { setTimeout ("self. close () ", 10000 )//.. } // --> after 10 second, this page will be
1. Preface
This is a series of learning documents. Based on the spirit of Internet sharing, it mainly comes from the shell area on the Forum. It has been organized and is the content of a book. Therefore, copyright belongs to the original author
Creation: 00:49:46Author: unlinuxFrom: http://www.Unlinux.com
MeI am a newbie myself. I haven't been in touch with Linux for a long time. Recently I encountered a problem when I learned the bash Export command (the book says that export is changing
Stream editor is a text processing tool that can process all editing tasks at a time. Instead of directly modifying the file, it copies the text content to the buffer zone and then edits the content it operates on to the buffer zone. If you want to
1. query the row number of the string.
Grep-n "XXX" str.txt #-N print the prefix of the number of lines where the character "XXX" is located in the file "stringstr.txt"
Example:
Str.txt
XxxYyyZzzXxx
Enter the SEARCH Command: grep-n "XXX"
Special characters in Linux Shell
1. braces:
Usage 1: wildcard Extension
Eg: ls my _ {finger, toe} s
This command is equivalent to a combination of the following commands:
Ls my_fingers my_toes
For example: mkdir {usera, userb, userc}-{home, bin,
Experiment 1 implements a simple shell with Parameters
1. Experiment Name, experiment number, and specific name
In experiment 1, a simple shell with parameters is implemented based on the framework of 1-5 on the 9th page of the textbook, and a
1. Create a test account in the Linux directory2. Download a script in http://milw0rm.com/exploits/84783. view the udev PID Method 1: first CAT/proc/NET/NetlinkFfff810077587400 15 364 ffffffff 0 0 0000000000000000 2Ffff810037f810001000 16 0 00000000
Opening Remarks: here we will record some common bash commands, for example, memo and hope to help others solve some problems.
1. Check whether the file exists
if [ -f ./foo.txt ]then echo the file existsfi
2. Check whether the directory exists
From: http://www.csdn.net/article/2013-08-15/2816581-What-I-learned-from-other-s-shell-scripts
The author Fizer Khan is a shell script fan who is so obsessed with novel and interesting things about shell scripts. He recently encountered an authy-ssh
Author:North SouthSponsorship:From:Linuxsir. orgAbstract:This document describes several tools used in user management, including ID, finger, groups, W, WHO, and users;
Directory Index
1. Principles of user query tools;
2. user and group query
One shell script resolves multiple compressed files (change others' code)
The core code of this program is written by tram at linuxsir.org. It mainly aims to understand the function of compressing files in a limited time. I added some code to enable
Today's group asked a question:Echo 123 | md5sumBa1f2511fc30423bdbb183fe33f3dd0f-Php-R "Echo MD5 ('20140901 ');"202cb962ac59075b964b07152d234b70The MD5 values of the two are inconsistent, so there are many interesting solutions:1 MySQL
Java Sorting Algorithm Implementation Code-shell sorting
/**
* The Java sorting algorithm implements code-shell sorting.
*
* @ Author old zizhu Java century network (java2000.net)
*
*/
Public class test {
Public static int [] A = {10, 32, 1,
#! /Bin/sh##--------------------------------------------------------### -- Function Description: Call Sp (only SP has 0-4 in parameters and 2 out parameters)# What needs to be improved: parameter type determination# -- Input parameters:# -- $1:
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