Path replacement with sed

Replace the write script with the sed path to overwrite the file. For example, there is a file/home/a/1.xmland you want to overwrite the file with the same name in the/home/B Directory. You can write a script like this: www.2cto. com1 #!

Nginx log cutting and cookie recording

Nginx log cutting and recording cookies [python] www.2cto.com #! /Bin/bash # logs_path & quot;/data/Service/nginx/logs & quot; # Name of the log file. Separate multiple logs_names (dm_access) by spaces) mkdir-p $ {l... nginx log cutting and

Ssh passwordless settings

Ssh password-less hand settings because many configurations on the Internet and password-less login are not easy to use, I just wrote a plug-in for your reference, I have prepared three test machines, the requirement is that all three machines can

Connect to Xiaomi phone 2 in ubuntu

Connect to Xiaomi mobile phone 2 under ubuntu, just start with Xiaomi 2, usb connection to the computer under ubuntu shows a Xiaomi folder, which contains the installation control file under windows, linux can basically be useless. Www.2cto.com via

Enable linux routing

When you enable the linux routing function, high-level routers can connect different hardware devices and translate many different packet formats. Generally, the prices are not cheap! In this chapter, we do not want to discuss such high-level things.

Thunderbird sets the automatic signature and reference location for email replies.

Thunderbird sets the automatic signature at email reply and the location referenced by the email. by default, Thunderbird replies or replies to emails. the reply content and signature are at the bottom of the email content, this is different from

Linuxpsaux command? Solution

Linuxpsaux command? There are five statuses for resolving processes on linux: 1. running (running or waiting in the running queue) 2. interruption (sleep, blocked, waiting for the formation of a condition or receiving a signal) 3. non-disruptive (do

Change linux to a root user command

Linux was first exposed to linux after being changed to the root user's command operation. The most common problem in ubuntu is the issue of user permissions, which often results in insufficient permissions. Www.2cto.com if the root user is not

How to make the PASH variable configuration take effect permanently in linux

In linux, how to make the PASH variable configuration take effect permanently. In general, the setting of variables in linux and the setting of custom variables and command aliases will expire after you log out of bash, to take effect permanently,

Linuxshell compares two floating point numbers

Linuxshell compares two floating point numbers. if they are written as [& quot; $ a & quot;-lt & quot; $ B & quot;] and $ a $ B is an integer, it works well, but for floating point numbers, it will not get the desired result, it will only give

Linux network status check script

Linux checks the network status script 1, and checks the network connectivity through timed sending and receiving email www.2cto.com #/bin/bashecho"Dailytestmail">state.txtmail-sServer_Stateabc@md1.21.co.jp state.txt mail-s Server_State

Search for the number of updated files and the total size of updates within 24 hours.

Find the number of files updated within 24 hours and the total size of the updates. Today, a small shell is written to check whether the databases automatically backed up today are correctly updated to the backup server, the automatic backup part

Linux commands and tools

Linux commands and tools 1. view the processes running in the system # psauxw2 and netstat commands view the services monitored by the system # all valid connection information lists of netstat-ln-, including ESTABLISHED connections (ESTABLISHED)

[O & M personnel? Why? 03: 20 built-in monitoring tools for Linux: w and ps

[O & M personnel? Why? 03: 20 built-in monitoring tools for Linux: w and ps? Communications Administration? Song? Too many ?? Why? What is the problem? Song ?? Mechanical purple wake up Yellow? Rescue ?.. Information & nbsp; | & nb [O & M personnel?

Install and configure FTP in ubuntu

Install and configure FTPUbuntu12.04 and install FTP software in ubuntu. of course, the famous vsftpd (verysecureFTPdaemon) is selected. it is very easy to install vsftpd in Ubuntu. you can execute the following command: sudoapt-getinstallvsftpd,

Common git commands (tips)

Git common commands (some tips) install gitJava code sudoapt-getinstallgit initialize gitJava code gitinit view file changes in the current directory Java code gitstatus tracking modify file Java code gitadd file name e. ggit... common git commands (

A classic and practical IPtablesShell script

A classic and practical IPtablesShell script #! /Bin/sh # modprobeipt_MASQUERADEmodprobeip_conntrack_ftpmodprobeip_nat_ftpiptables-Fiptables-tnat-Fiptables-Xiptables-tnat-X ############## a classic and practical IPtables Shell script #! /Bin/sh #

N methods for killing processes in Linux

N methods of Kill processes in Linux: first, use ps to view processes. the method is as follows: $ ps-ef & hellip; smx18221011: 38? 00: 00: 49gnome-terminalsmx18231822011: 38? 00: 00: 00g... N methods of Kill process in Linux General Article: first,

[O & M personnel? Why? 04) system security inspection tool-nmap

[O & M personnel? Why? 04] system security inspection tool-nmap [O & M personnel? Why? 04] Ten O & M work experiences to escape from a fault summary... [is a person in O & M? Why? 04] system security inspection tool-nmap [O & M personnel? Why? 04]

Linux Kernel Compilation steps

Before compiling the Linux kernel, check the file Documentation/Changes in the kernel source code to view the runtime environment required during Kernel Compilation. if the file is not suitable for compiling and may fail. Since the compilation

Total Pages: 2732 1 .... 2675 2676 2677 2678 2679 .... 2732 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.