Linux command-diff

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

Linux scripts? The regular? Practice

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,

DHCP service installation configuration under Linux

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

Linux Set time zone

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/

Why does Linux (including Mac system) execute instructions Add./??

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

Introduction to the Linux Nginx agent

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

Zabbix monitoring Linux-specific processes

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:

Compression of Linux files and directories

1.gzip. gz file CompressionEnter # gzip file name. GZ compression#gzip-D Compression Pack decompressionOnly files can be compressed2.bzip2. bz2 file CompressionEnter the #bzip2 file name. bz2 compression#bzip2-D Compression Pack decompressionOnly

Linux configuration timing, the difference between using CRONTAB-E and direct edit/etc/crontab

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

Simulates the cyclic caching implemented by the Linux kernel Kfifo

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

Linux System Preparation

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

A detailed description of the TAR compression decompression command under linux command Linux

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

The difference between the tar command for Mac--exclude and the tar command--exclude for Linux

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

Linux Basics (04), feature configuration (tuning firewall, static IP, environment variables)

DirectoryFirst, the CentOS firewallSecond, the VMware Network connection mode2.1. Connection method: Bridge, NAT, host only2.2. Frequently Asked QuestionsThird, the CentOS configuration static IPIV. Environment variables Some notes: The

Monitor disk usage under Linux and send alert messages automatically after thresholds are exceeded

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

Linux (ii)

Files and directories Common command target View Catalog Contents ls Switch directories cd Create and delete operations touch rm mkdir Copying and moving files

iTOP-4418 Development Board QT and Min Linux systems-extended root

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

Compress a folder (folder packaging) under albert1017 Linux

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

Linux Server Installation configuration Nginx server

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

(i) Linux timed Task Setup crontab basic Practice

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 * * *

Total Pages: 5467 1 .... 1357 1358 1359 1360 1361 .... 5467 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.