The use of the SED for Linux

Sed is a good file processing tool, itself is a pipe command, mainly in the behavior of the unit processing, you can replace the data rows, delete, add, select and other specific work, the following first understand the use of SEDThe SED command

Installing the Linux system

Linux is now used more and more widely, and his security and stability has been praised by the vast number of computer enthusiasts. Now I'm going to install Redhat 9 as an example. Tools/Materials Linux installation disk Steps/Methods

Linux Configuration Firewall

Vi/etc/sysconfig/iptablesIn the open file (on the next line of configuration 22 port), add-A input-m State--state new-m tcp-p TCP--dport 3306-j ACCEPT (Allow 3306 ports through the firewall)-a input-m state--state new-m tcp-p TCP--dport 3306-j

Linux environment variable setting method summary PATH, Ld_library_path

Path: The lookup path to the executable programTo view the current environment variables:Echo $PATHSet up:Method One: Export path=path:/xxx but fails after exiting the current terminalMethod Two: Modify the ~/.BASHRC or ~/.bash_profile or system

Linux How to view and modify PATH environment variables

Linux How to view and modify PATH environment variablesSee Path:echo $PATHTo add a MongoDB server as a columnModify method One:Export Path=/usr/local/mongodb/bin: $PATHOnce configured, you can view the configuration results through the echo

Application of the Linux command find

1. List all files and folders in the current directory and sub-directory2. Find the file name ending with ". txt" in the/home directory3. Find all files ending with ". txt" in the current directory4 deep search based on directory (max depth limit

How to implement file backup under Linux

This article is about how to secure a backup, here is how the master server pushes the data for backup.One, backup server configuration rsync file vi/etc/rsyncd.conf#工作中指定用户 (can not be specified as 0) uid = 0gid = 0# is equivalent to a black hole.

Linux sed command detailed

There is an application firstgrep and SED mates replace strings in a fileCommand:Sed-i s/yyyy/xxxx/g ' grep yyyy-rl--include= "*.txt"./'function: Replace the YYYY string in all txt files in the current directory (including subdirectories) with the

20 ways to intercept IP in Linux

#1. Awk's search functionIfconfig |awk '/bc/' |awk-f: ' {print $} ' |awk ' {print '} '#2. Cut specify a separatorIfconfig |sed-n 2p|cut-d:-f2|cut-d ""-f1#3. Head,tail commands are easy to combineIfconfig |head-2 |tail-1|sed ' s#^.*dr:\ (. *\) bca.*$#

How Linux creates an FTP server

Before creating the FTP server, the command: Ps-ef |grep vsftpdCheck the system has not installed VSFTPD this server, if it appears as shown in the interface instructions are not installed. Then execute: Yum install vsftpd-yPerform an online

Linux drip Recording

The following are practice actions under UbuntuChange DNSEdit the file-"/etc/resolv.conf", open "Terminal Application"-"Accessories"-"terminal", enter the following command in the terminal: sudo nano/etc/resolv.conf Some files automatically change

Linux LVM expansion

1. Partitioning,View disk usage: fdisk-lPartition to disk: Fdisk/dev/sdb2. Create PVPVCREATE/DEV/SDB1View PV:Pvdisplay3. View VGVgdisplay---Volume Group---VG Name VolGroup004. Expansion of VGvgextend volgroup00/dev/sdb1Volume Group "VolGroup00"

Linux-based Disk Management

Linux-based disk ManagementAbout Disk Management in Linux we should start with the following four aspects to understand and learn the knowledge of Disk Management . Structure of the 1th disk--hard diskParameters of the hard diskstructure: Disk disc,

PowerShell batch creation of Linux virtual machines

write-host -nonewline -foregroundcolor magenta  ' Enter the name of the virtual machine you want to create (for example: vlnx******) ' [String] $VM _name  = Read-HostWrite-Host -NoNewline -ForegroundColor Magenta  ' Please enter which host you need

linux-Cutting Minilinux

bz2

Http://www.linuxidc.com/Linux/2013-05/84483.htmhttp://blog.csdn.net/field_yang/article/details/50999813[Email protected] src]# ln-s linux-2.6.38.5/linux[email protected] src]# LLTotal 44Drwxr-xr-x 2 root root 4096 Oct 1 debugDrwxr-xr-x 3 root root 40

Search engine Elasticsearch 5.2.2 installation process on WIN8 and Linux

Search engine Elasticsearch 5.2.2 in the WIN8 installation process is as followsDownload elasticsearch5.2.2 HTTP://PAN.BAIDU.COM/S/1I5BS5NVExtractOpen and configure the Elasticsearch/config/elasticsearch.yml filecluster.name:es-clusternode.name:node-

Linux system installation Discuz, access to general issues encountered through Windows browser. Error code 403, 462

After configuring the virtual host in the Linux systemVim/usr/local/apache2/conf/httpd.conf/vhosts #搜索Will# include conf/extra/httpd-vhosts.confThe previous comment symbol is removed and takes

Basic Linux-metacharacters and basic linux characters

Basic Linux-metacharacters and basic linux characters The special characters in Bash have special meanings on the keyboard:The metacharacters are interpreted by shell. 1. ''. Obtain the command execution result. [Root @ MiWiFi-R3-srv ~] # Ls4. txt

Common Linux commands

Common Linux commands System Basics Use the environment variable of the root user to switch to the root usersu - Show current working pathpwd Display the default language and keyboard layout of the current systemlocalectl Display All languages

Linux cloud automated O & M course 2: linux cloud Automation

Linux cloud automated O & M course 2: linux cloud Automation I. Linux System Structure   1. Linux is an inverted tree structure. Everything in Linux is a file. These files are in the system's top-level directory "/", "/" is the root directory. The

Total Pages: 5467 1 .... 3601 3602 3603 3604 3605 .... 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.