The find command is used for searching. It has powerful functions in the following format:
Find pathname-options [-print-Exec-OK...]
Pathname: directory path searched by the find command. For example, use "." To represent the current
I wrote about a small automatic vote a year ago.ProgramBecause the website of the other party is limited to one IP address, only 10 votes can be cast per day, so this automatic voting program is mainly used to vote on the proxy server in the initial
Introduction to kernel, shell, and bash
First, let's talk about what is kernel:The kernel is the core of Linux. All user operations are completed by the kernel, but the user does not directly perform all operations on the kernel. Why? Because there
Wget is a command line download tool. Linux users are using it almost every day. The following describes some useful wget tips to help you use wget more efficiently and flexibly.
$ Wget-r-NP-nd http://example.com/packages/
This command
This is a personal incremental version. Its functions are as follows:1. You can set password protection for the first access.2. You can perform n incremental backups and incremental restores.3. You can delete incremental time points.
If you want to
Use 'grep' to search for text files
If you want to find a string in several text files, you can use the 'grep' command. 'Grep' searches for the specified string in the text. For example, if you are searching for a file with the string 'Magic 'in the'
In shell scripts, you often need to obtain the system time to process an operation. Today, the system learns how to obtain the system time. The record is as follows:
Linux system time can directly call system variables in shell, for example:Get the
The basis of each condition statement is to determine what is true or false. Whether or not you understand the working principle of the script will determine whether you are writing a quality script or a script that you will be proud.The ability of
Chapter 2 shell Basics
1. Which two files are used during shell initialization?
/Etc/profile, which contains the shell initialization information required by all users in the system
. Profile, whether it is in the user's starting directory. The
The TR command reads data from the standard input device and returns the data to the standard output device after string translation.
Cat filename | tr u n: used to replace the U in the filename file with N on the screen, but not in the actual
From: http://hi.baidu.com/rytech/blog/item/0ddd1428cce175f899250abb.html
How can a complicated Linux Command be made up? The following describes several tips. Redirect using input/outputIn Linux Command Line mode, if the output required by the
Function:
Download all files in the FTP directory of the server,
Delete all files in the FTP directory of the server immediately after the download.
*********************
---------------------Environment:
Both machines are centos4.5 _ x86***********
Unix shell programming (5)
The filter TR is used to convert characters from standard input. Format:Tr from-chars to-charsFrom-chars and to-chars are one or more characters. For example:[Root @ localhost programs] # Cat introThe UNIX operating
Introduction and use of shell commands
1. What is shell?In computer science, Shell, commonly known as shell, is a software (command parser) that provides user interfaces ). It is similar to command.com in DOS. It receives user commands and calls
Create an unzipped installation package in Shell
Principles
In Linux, you can use several basic commands to create a self-extracting program. The principle is: The Cat command can be used to connect two files (with> append can achieve the same
1 shell script must have the read and executable (RX) permissions.
2. Differences in script execution methods:
1) Sh script_name or./script_name: execute in the sub-process (a new bash environment)
2) Source script_name: executed in the parent
2.2 quotation marks
1, double quotation marksDouble quotation marks can reference any character except '(reverse quotation marks), $, \2, single quotesSingle quotation marks ignore any referenced values. In other words, if special meanings are
This article is also the seventh chapter of "Learning the bash Shell" 3rd Edition, "Input/Output and Command-Line Processing", four of the Reading Notes. Our goal is to read books thin. We will examine how the Linux system parses bash.
Step 1
Explain in detail some of the most basic functions, struct, and enumeration in Shell programming.
Shgetasktopfolder Get the IShellFolder interface of the desktop
Code highlighting produced by Actipro CodeHighlighter
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