1. First write your own bash script, give it executable permissions, the code is as follows:[Git_backup.sh]1#!/bin/Bash2Code_dir="/home/slamgit/code"3Bak_code_dir="/media/ubuntu/kingston/code"4 functionCode_backup () {5 forElementinch`ls$code
By using SSH to connect to Linux, a process is opened, and when SSH is closed, the process shuts down, causing the process to not continue to be allowed in the Linux background, which is more cumbersome.Therefore, the use of Linux background process
1:top View>top-cAt this point we use kill-9 15003, kill the process of the short-term CPU down a few seconds, and then resurgence, another process accounted for the CPU 99%2: View 15003 process status,> Cat/proc/15003/statusPid: Current Process
BC is a command-line calculator under Linux. Parameter-I forced interactive mode-l use BC's built-in library-Q to enter BC Interactive mode no longer output version such as extra information special variable scale decimal reserved bit, default 0-bit
Preparation: Installing a VMware Virtual machine and installing Linux on the CentOS6.5 system (Rhel as well as any derived Linux system), of course, can be installed directly on the native Linux.1.Linux IntroductionLinux originated from UNIX systems,
Https://www.cnblogs.com/kerrycode/p/4391859.htmlFind. -type f-size +800mAs shown in the command above, we can only see the file name of files over 800M, but the information about the file (for example, file size, file attributes) is unknown, can you
1. Search for the specified string from a single file:
$ grep "literal-string" filename
The command outputs the contents of the string in the file, and if the string has no spaces, it can be without double quotes. FileName can be
First install a JDK, if not installed can view my article Linux installation jdkThen use the following commandsudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.reposudo rpm --import
To thoroughly understand poll or understand the following code, please refer to the "Linux network programming--i/o multiplexing poll function"Code:1#include string.h>2#include 3#include 4#include 5#include Select.h>6#include 7#include 8#include
This command shows the process status of a system at a certain point in time.PS is through the/proc interface, allowing the administrator to view the kernel process status information.In order to respond to all files, process parameters are modeled
Linux Directory Map:/
Root---Some of the core files used when starting Linux. such as operating system kernel, boot program grub and so on.
Home---Store personal files for ordinary users
FTP---User-owned services
Write in front: when the partition needs to be formatted, the operating system can use the partition. will be formatted according to the file attributes/permissions set by the operating system as supported by the operating system.The cousin Linux
first, network basic knowledge outline1, knowledge System: Routing, Exchange, protocol, OSI seven-layer model, TCP/IP protocol and three-time handshake four wave process, vlsm can slew eldest son Nets.2, network: Refers to the computer and its
cd change directory 切换目录Syntax format: cd "option" "dir" CD [options] [directory]Attention:1.mkdir commands and subsequent options and directories, each of which must have at least one space between each elementParameters such as options and
Original: https://www.cyberciti.biz/faq/linux-traffic-shaping-using-tc-to-control-http-traffic/I ' ve 10Mbps server port dedicated to our Small Business Server. The server also act as a backup DNS server and I ' d like to slow down outbound traffic
First, why the log is split. 1.nginx logs are written to a file by default, and the file becomes more and more large.2. Individual log files are very inconvenient to view analysis.Second, simple analysis of log segmentation.whether it's Windows or
Using Powershell
Configurations on the Windows Host
On the target with Windows system, configure the WinRM server to accept Basic authentication and allow unencrypted traffic .To enable basic Auth, on the Windows in an administrative
Three week First Class (April 2)2.27linux and Windows inter-pass files3.1 User profile and password configuration files3.2 User Group Management3.3 User ManagementLinux and Windows file transferI usually use FTP or other file management methods.Here'
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