Test whether the variable has been set in linux

In linux, check whether the variable has been set. $ {test:-newvalue }$ {test:-newvalue} is mainly used to test whether the variable test has been defined. if it has been defined, the defined value is printed; if not, the value of newvalue will be

Detailed introduction to the use of Linux redirection

To introduce in detail how to use Linux redirection refers to modifying some of the original default items and changing the default execution mode of the original system commands, for example, if I don't want to see the output on the monitor, but

Use ftp to regularly upload logs to other servers

Use ftp to regularly upload logs to other servers #! /Bin/bash # generation of time 'date -- date & quot;-1 hour & quot; + % Y 'M' date -- date & quot;-1 hour & quot; + % m 'D' date -- date & quot;-1 hour & quot; + % d 'H' date -- date &

One linux command every day (11): nl command

Every day, a linux command (11): nl command link: A linux command (1): ls command every day (2): cd command http://www.2cto.com/ OS /201210/163050.html#a linuxcommand every day .. One linux command every day (11): nl command link: One linux command

CDH4 cloud storage configuration process

I. What is cdh? CDHisCloudera '100% opensourceHadoopdistribution, builtspecificallytomeetenterprisedemans is an open source distributed storage system. ii. what software and functions does cdh4 contain? First, hbase, hadoop, zookeeper, these are

Solve the problem of oracle11gr2rac node downtime caused by enabling iptables

Generally, when installing a database, the vast majority of users require selinux and iptables to be disabled before installation. However, in the carrier's system, many security factors need to enable iptables on the database host on the current

Basic iptables configuration in CentOS

Clear all configurations/sbin/iptables-F clear all rules of the rule chain in the filter of the preset table/sbin/iptables-X clear rules of the user-defined chain in the filter of the preset table/sbin/iptables- Z clears the rules/etc/init in the

Technical principles of iptables firewall

I. Overview linux has already had the packet forwarding function since the 1.1 Kernel. in the 2.0 kernel, we use ipfwadm to operate kernel packet forwarding rules. Later, we used ipchains in the 2.2 kernel to control kernel packet forwarding rules.

Use shorewall to configure iptables firewall

Shorewall is not a daemon program. it is a tool for loading iptables commands. therefore, do not count on using commands such as ps-aux to query its itinerary, the following sections describe the functions and formats of each set file. Essentially,

Linux packet capture tool tcpdump command introduction

The Tcpdump command of the Linux network performance debugging tool is used to monitor TCP/IP connections and directly read data headers at the data link layer. You can specify which data packets are monitored and which control formats are to be

Tcpdump command parameters and application instances

Tcpdump is a packet analysis tool that intercepts packets on the network according to user definitions. Tcpdump can completely intercept the "header" of the packets transmitted in the network for analysis. It supports filtering network layer,

Use the tcpdump command in Linux

Tcpdump may be the most famous application that checks the original data of network communication. Debian users can obtain it through apt-getinstalltcpdump, which is the famous pcap file, because pcap is the library for packet capture. In this

How to configure iptables firewall in Nginx + keepalived environment

Today, I set up an nginx + keepalived dual-master load balancer. how can I enable two front-end nginx + keepalived communications? I had to worry about it for a long time. Is there any hardware firewall in front of the data center, for security, I

Instructions on iptables firewall

Iptables command syntax: iptables [-ttable] command [match] [-jtarget/jump]-t parameter is used to specify the rule table. There are three built-in rule tables: nat, mangle, and filter are considered as filters when no rule table is specified. Rule

Common vim commands

This article introduces the basic usage of vi (vim), but it is enough for common users! The vi editor is a standard editor for all Unix and Linux systems. it is not inferior to any of the latest text editors. here we just briefly introduce its usage

Resizing server hard disks through LVM

After several years of operation, the company's FTP server has encountered insufficient space and decided to use LVM to resize the server. Idea: first copy the data, purchase a large-capacity hard disk and add it to the server, and then convert the

How to use LVM (LogicalVolumeManager) partitioning in Linux

LVM is short for LogicalVolumeManager (logical volume management). It is a mechanism for managing disk partitions in Linux. it is implemented by HeinzMauelshagen on the Linux2.4 kernel. I. general idea: partition into LVM format (8e) -- create PV --

Detailed usage of tcpdump scanner

The first type keyword mainly includes host, net, port, such as host210.27.48.2, specifying 210.27.48.2 as a host, net202.0.0.0 specifying 202.0.0.0 as a network address, and port23 specifying port number as 23. If no type is specified, the default

Set IP address, Gateway, DNS, and other network configurations in the Debian system

Note: System: debian6.0.4IP address: 192.168.21.166 subnet mask: 255.255.255.0 Gateway: 192.168.21.2DNS: 8.8.8.88.8.4.4 operation: System O & M reminder: qihang01 original content copyright, reprinted, please indicate the source and original article

How to install Ubuntu11.10 on a hard disk in a WinXP system

Ubuntu11.10 official version has been out for some time, and many friends are still using wubi to install it. In fact, it is very easy to install Ubuntu11.10 dual system on Windows XP hard disk. the installation process of Ubuntu11.10 is slightly

Total Pages: 2732 1 .... 481 482 483 484 485 .... 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.