[Linux] Linux Shell Find Files

#!/bin/bash# Find all files larger than 1MB in the current directory, write the file name to a text file, Count # # Find command, Parameters: path address, command arguments,-size n (find files of length N)-type F ( Find a type of file, F normal

Linux Shell Common Tips (10) pipeline combination

Linux Shell Common Tips (10) pipeline combinationTwenty. To get the system run data through the pipeline Combination shell command :1. Output the 5 most memory-intensive commands in the current system:#1) Lists all the processes that are running on

FileZilla cannot determine the target of a drag-and-drop operation because the shell is not properly installed

There are accidents, suddenly, with FileZilla download files on the FTP to the desktop, the prompt " cannot determine the drag-and-drop operation target." Because the shell is not installed correctly "The solution is simple, just take the following

2.8-saltstack remote execution of shell scripts

Configuration Management Remote ScriptingVim/srv/salt/shelltest.slsShell_test:Cmd.script: #模块和函数-Source:salt://test/1.sh #脚本源路径-User:root #客户端执行者身份, can be other usersvim/srv/salt/test/1.sh#!/bin/bashTouch/tmp/111.txtif [-d/tmp/1233]Thenrm-rf/tmp/123

Shell awk sed Combat

Combat one: File a006 take out the numbers insideTl_fmt_chg_shm_key=7100;export Tl_fmt_chg_shm_keyTl_msq_shm_key=7200;export Tl_msq_shm_keyTl_txn_srv_shm_key=7300;export Tl_txn_srv_shm_keySed methodSed ' s/\ (. *\) =\ (. *\); \ (. *\)/\2/' a006710072

Shell Programming----Notes

Consider the next, just own a little record, according to their own situation to record it, follow up with new things to add at any time. Oh, yes. First, getting started with common sense1. Several commands1)!n: Executable nth command in

Enterprise's Ftp+shell+crontab Backup production data

Backup of FTPPurpose : through Shell to upload the backed-up data to another server. FTP back up the server. Simulation Tomcat for production data. 650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7D/BB/wKioL1bvOoaiyYeLAAAjXEUp800094.png "

The shell implementation counts the IP and Mac correspondence of a network segment and saves it to a file mac.txt

Tag:shell    binding    ip/mac   arp spoofing    arp virus      #!/bin/bash#function:count the relationship between IP and Mac in a C subnet#created by Comk at Mar.12.2016quitscript () { echo "User Interrupt, Quit ..."} Trap ' quitscript;  Exit 5 '

Linux Shell Programming Basics

In the process of learning Linux BASH Shell programming, it is found that many things are easy to forget because they are not used very often, so write an article to recordLS Displays the files under the current path, commonly used have-l show long

Shell script face Questions

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7C/D6/wKioL1bZELvR0rU7AAF_GjuzRYI110.png "title=" 6.png " alt= "Wkiol1bzelvr0ru7aaf_gjuzryi110.png"/>#!/bin/bashif [!-d/rhome]then mkdir-p/rhomeficontinueuid=1000for i in ' seq 1 ';d oecho

Shell script concurrency

#!/bin/bash# filename: bingfa.sh# time: 2016/03/9 18:59:05ip= ' Cat /tmp/iplist '            #  Filter Server ipdir= '/tmp '                  #  Target Path                                   thead_num=10                #  custom concurrency number,

Shell Scripting compilation

First, replace the text:# #1Sed-i ' s/disabled=true/disabled=false/'/etc/fdfs/storage.conf# #2Sed-i ' s/base_path=\/home\/yuqing\/fastdfs/base_path=\/fdfs\/storage/'/etc/fdfs/storage.conf# #3echo "Enter tracker_ip:"Read Tracker_ipecho "$Tracker

Unix/linux System Management Technical Manual study notes--shell

Date Created: 2016/02/29Update on: 2016/02/29 Shell variables cannot be left blank on both sides of the equals sign, otherwise the shell will mistake the variable name for the command name Variables enclosed in double quotes can be replaced

Shell Global and local variables

/******************************************************************** * Shell Global and local variables * declaration: * To So far, when writing shell scripts, often by the shell function in the variable * scope confused, so today deliberately

Shell Scripting Tutorials

Http://www.runoob.com/linux/linux-shell.htmlShell Pass ParametersIn addition, there are several special characters for handling parameters: parameter Handling Description $# The number of arguments passed to

CENTOS 6.6 init Shell script

This script is what you might need to do after you've just installed CENTOS6.6. When learning CentOS, you can run this script to do some configuration to help you not be bothered by these firewall yum SELinux IP.#!/bin/bash  #判断是不是root用户if  [[  "$

Tomcat's shell script---show the process number

#!/bin/bash## Chkconfig:-95 15# description:tomcat Start/stop/status Script#Location of Java_home (bin files)Export java_home=/usr/local/jdk1.7.0_75#Add Java binary files to PATHExport path= $JAVA _home/bin: $PATH#CATALINA_HOME is the location of

Shell implementation of a simple calculator function small script

Nonsense not much to say, directly on the code, the basic implementation of subtraction functions:#!/bin/bash# author by alsww# date : 2016.02.03# mail : [email  protected]# blog : alsww.blog.51cto.comprint_info () {    printf  " Please enter the

Shell Basic Finishing

the role of the shell is to convert a user-entered text command into an internal nuclear identification data instruction to the kernel for execution, and the kernel needs to be translated into binary to be executed by the CPU bottomthe user

A shell script that checks partition memory and sends mail

#!/bin/bashRead-t 30-p "Please enter the partition you want to find (format Sda1~sda3):" AAAnumber=$ (df-h | grep $aaa | awk ' {print $} ' | cut-d "%"-F 1)If [$number-ge "70"]Thenecho "is not working properly, the message has been sent to your

Total Pages: 541 1 .... 364 365 366 367 368 .... 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.