Features of the 1>diff commandThe function of the diff command in Linux is to compare two text files on a line-by-row basis, listing their differences. It checks the given file for a system and displays all the different rows in the two files
Write a script called/root/bin/createscripts.sh, when the script is executed, the input createscripts.sh/path/newsh.sh will generate a script file in the specified path and automatically open the file, start editing, after the end of the edit,
Brief introduction
Installation configuration
Brief introductionDHCP (Dynamic Host Configuration Protocol) is a UDP-based network protocol that is limited to local area networks, and is primarily used to automatically assign IP addresses to
How to change the Linux server system time zone and timeEntry: Cd/usr/share/zoneinfodirectory, you can see many time zone files, we select "UTC-7" for the time zone.1, first delete the old time zone configuration: (best backup before deleting)Mv/etc/
For example, now to execute hive commands under $hive_home/bin to start hive, the order of execution for this instruction is as follows:1 Find Path First1.1 If $hive_home/bin is configured under the path path, there is no configuration under the
Nginx as a Web server an important function is the reverse proxy. Nginx Reverse proxy instructions do not need to add additional modules, the default comes with proxy_pass instructions, only need to modify the configuration file can be implemented
using Zabbix proc.num method monitoring Linux service process Proc.num[,,,]Number of processes that monitor a user's statename-Process Name (default "All Processes")User-User name (default "All users") State-Available values:
Linux configuration timed tasks, we all know the use of crontab this system function, but sometimes we need to distinguish between user execution, the following directly say the difference between the 2 ways:Method 1:Use the command crontab-e and
Http://www.cnblogs.com/wangguchangqing/p/6070286.htmlWant to implement a loop buffer (Circular buffer), search for some information is based on the implementation of circular queue. Use a variable to hold the length of the data in the buffer or
System use:Operating system: centos-7-x86_64-minimal-1804Virtual machines: VMware 121.VMware Mounting CentOS-7PS: The system memory is slightly larger, because the subsequent Hadoop compilation on the server, the memory is less prone to a lot of
TAR-C: Build Compressed Archives-x: Unzip-T: View Content-r: Append files to the end of the compressed archive-u: Update the files in the original package this five is a separate command, the compression decompression will use one, can be used with
One requirement is to compress a folder, but to exclude another folder--exclude command, but execute on Mac
TAR-ZCVF test.tgz test/--exclude *.jpg
Always prompt
Tar:--exclude:cannot stat:no such file or directory
And on
The recent Linux server disk usage often to 100%, until the impact of normal service failure to pay attention, do not take precautions, today, the online collection of information, plus their own changes, wrote a shell script for real-time
Files and directories Common command target
View Catalog Contents
ls
Switch directories
cd
Create and delete operations
touch
rm
mkdir
Copying and moving files
This document describes how to modify the iTOP-4418 Development Board user area size. The partition data in the document is for 16GEMMC.Uboot settingsEnter the uboot of the iTOP-4418 as shown in.Enter the command:Setenv
Tar-zcvf/home/xahot.tar.gz/xahotTAR-ZCVF the directory to be packaged when the file name full path is generated after packagingExample: Package the/xahot folder into a/home/xahot.tar.gz file.# TAR-XF All.tarThis command is to solve all the files in
Nginx ("Engine X") is a high-performance Web and reverse proxy server developed by the Russian program designer Igor Sysoev and is also a IMAP/POP3/SMTP proxy server.In the case of high connection concurrency, Nginx is a good substitute for Apache
To create a cron service for the current user1. Type CRONTAB-E edit crontab service fileFor example, the contents of the file are:*/2 * * * */bin/sh/home/admin/jiaoben/buy/deletefile.shSave the file and exit*/2 * * *
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