Understanding about the error of the find command in Shell Environment

Article Source: http://zhousir1991.diandian.com/page/4 [Root @ My ~] # Find.-Name *. rpm/Nessus-4.0.1-es5.i386.rpm [Root @ My ~] # Find.-Name * .tar.gzFind: paths must precede expression: recordmydesktop-0.3.8.1.tar.gzUsage: find [-H] [-L]

Use SFTP to batch upload files in shell scripts

How to Use SFTP to batch transfer files in shell scripts The main steps are as follows: 1. generate key pairs for local users running shell scripts2. Distribute the public key to the remote server that SFTP wants to log on.3. Write and run shell

Debug your shell scripts with bashdb

TheBash debugger Project (bashdb) lets you set breakpoints, inspect variables, perform a backtrace, and step through a bash script line by line. in other words, it provides the features you have CT in a C/C ++ debugger to anyone programming a bash

BASH Shell Command Line option/parameter Processing

Options and parameters: For example, the following command line:./Test. Sh-F config. conf-v-Prefix =/home We call-f an option. It requires a parameter, that is, config. conf.-V is also an option, but it does not need a parameter. -Prefix is called a

Linux Shell script programming-uniq command

Uniq The uniq command can remove duplicate rows from sorted files. Therefore, uniq is often used with sort. That is to say, to make uniq work, all repeated rows must be adjacent. Uniq syntax [Root @ WWW ~] # Uniq [-ICU] Option and parameter:-I:

Shell Programming to Implement multiple attributes of a BACnet Device

#! /Bin/bash Prog = 'basename $0'Optional = 0 Usage (){Echo "Usage: $ prog [Options] [...]Will return required and optional property valuesFrom the requested device. -O display optional properties [default behavior]-O supress display of optional

Shell ($) in makefile)

In makefile, shell commands are often used, and $ VaR are often used. What is the difference? The difference is big. Do not consider using $ VaR in the command line of the makefile rule to share the variables of makefile with the shell. Here, only

ADB shell dumpsys meminfo view application memory usage

ADB shell dumpsys meminfo The following information is displayed: Currently running services:Meminfo-------------------------------------------------------------------------------Dump of service meminfo:Applications memory usage (Kb ):Uptime: 5712383

Use environment variables in crontab (you can manually execute shell scripts, but not in scheduled tasks)

How to reference defined environment variables in crontabA shell script/root/test/Shell/test_crontab_env.sh uses an environment variable test_crontab_env = test_crontab_env.Test_crontab_env exists in/etc/profile.For example:#! /Bin/bashEcho "'date +

Event ID: 1002 the external shell program stops, and assumer.exe is restarted.

Search for foreign materials: Source: WinlogonCategory: NoneEvent ID: 1002Description: The shell stopped unexpectedly and assumer.exe was restarted. 1-NVIDIA put out a bad driver "nvtuicpl. cpl "which Windows Update may have placed on your system (C:

Linux shell scripts that safely kill Tomcat Processes

Linux shell scripts that safely kill Tomcat processes, as many good script programming skills are used in this script, I would like to share with you; ## Firstly find the process of the tomcat ....Tomcat_process_str = 'ps aux | grep 'java. * Tomcat '

Shell checks the legality of IP addresses and the legality of network masks.

Sometimes we need to check the correctness of IP input and the correctness of the network mask, written in shell script: # Verify IP address correctness check_ip_format () {echo $1 | grep "^ [0-9] \ {1, 3 \}\. [0-9] \ {1, 3 \}\. [0-9] \ {1, 3 \}\. [

Install vsftp on centos Linux. If you encounter a card shell multiple times, record

According to http://hi.baidu.com/only8731/item/b971fa127c0dd45b2b3e227e Rpm-Qa | grep vsftpd check, no results In fact, it is installed based on http://blog.sina.com.cn/s/blog_a403a0f801010fih.html. you can use chkconfig later.-List: Nothing is

Shell script Learning (2): conditional statements and cyclic statements

Shell script Learning (2): conditional statements and loop statements 1. conditional statements First, when it comes to conditional statements, we have to first talk about the judgment of the conditional expressions. What types of conditional

Shell script Learning (III): Shell functions and some common symbols and commands

Shell script Learning (III): Shell functions and some common symbols and commands I. Shell functions Like C, Shell functions encapsulate commands and statements that have fixed functions and are usually used repeatedly in a single function, if you

Shell learning 2: ASPack 2.12 shelling

Shell learning 2: ASPack 2.12 shelling SkyjackerHttp: // blog.csdn.net/skyjackerEmail: hemiaoyu gmail.comQQ: 677055172007-2-10 1. Shelling Process Automatically write a simple form program.Use aspack2.12 shelling (by using a volume) to generate the

Introduction to shell programming in Linux (2)

1. Create and run Shell programsWhat is a shell program? Simply put, a shell program is a program that contains several rows.Shell or Linux Command file.Like programming in advanced languages, writing a shell program requires a text editor, such as

Linux mobile phone DIY. Shell application extension 1. Random incoming ringtone (e680 Series)

Linux mobile phone DIY. Shell application extension 1. Random incoming ringtone (e680 Series) Papayas 2007-03-18 I. What is shell? Before getting started, I always used to copy some stuff from the Internet to "enrich" the content of the

Use shell scripts

1. Regular generation. Search an English article on the Internet today, get a, http://web.eecs.umich.edu /~ Silvio/teaching/eecs598/lectures/lecture10_3.pdf. I guess there should be other PDF addresses. I tried several other addresses, such as

Security shell protocol SSH

From: http://bbs.hx95.com/read-htm-tid-230463.html  I. Introduction to SSH SSH is the Secure Shell protocol. The full name is secure shell protocol or secure shell. Its operating principle is similar to telnet, but it has higher security. By using

Total Pages: 541 1 .... 238 239 240 241 242 .... 541 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.