Small ifelse statement in Shell

The ifelse statement in Shell shows how to learn little shell quietly. today I see ifelse Hello ~ The following script is used to judge the parameters of the script executed by the user. if it is hello, it will show howareyou. if there is nothing,

Nginx log analysis tool goaccess

Nginx log analysis tool goaccess encountered several problems during installation and running (my system is centos6.3): 1. when running goaccess, report that the library libGeoIP cannot be loaded. so.1. the file or directory cannot be found. search

What is the difference between. bash_profile and. bashrc?

What is the difference between bash_profile and bashrc? etcprofile: This file sets environment information for each user in the system. when a user logs on for the first time, this file is executed and collected from the configuration file of the

Set Nic to start by default in Linux

Linux settings Nic default start linux Nic start network recently used rhel-server-64-i386, found that the system starts each time you need to manually start the NIC, the system Nic is not started by default. For ease of use, you need to set the

Fedora/Redhat install and update the software package online yum

FedoraRedhat online installation and update package yum in this article, we mainly describe Fedoracore40 through the software package management tool yum to install and update software online; for apt tool applications, we will introduce it in

NIS client settings and instances

The NIS client settings and the IP address of the instance nis server server1examplecomnis use the domain examplecomnis server to use port 866 & lt; --- optional & lt; --- after mstate settings, use the account nisuser4 to log on to the system,

Use Selinux in combination with Apache

Identity corner color gamut (type) identity corner color gamut James Male in men's restroom small red female in female restroom enable selinuxsetup modify configuration file vimetcselinuxconfigSELINUXenforcingSELINUXTYPEtargeted in order to ensure

Nginx adds/at the end of the URL/

My website has a viewerindexhtml page, which must be used for access, but is not manually added. Therefore, add a rewrite command in Nginx configuration. The following example is an example: locationviewer {rewrite ^ ([^] * [^ My website has

Fdisk for linux system disk partitioning

In linux, the fdisk command is usually used to learn disk partitions. of course, for disks smaller than 2 TB, we basically use the fdisk command for partitioning. below we will briefly introduce the basic commands and scenario simulation common

Modifying file character sets in LINUX

In LINUX, when modifying the file character set, we need to modify the file character set to solve garbled text or other problems. In linux, the operating system provides us with the ICONV command. let's take a look at the specific usage of this

Uninstall fedora-xfce's built-in browser midori

The parsing speed of the midori browser that comes with the Miora-xfce browser is very slow. you can uninstall midori after downloading chrome. The full package name is queried through grep and unmounted using the-e parameter. 1 [root @ lilyadm1n]

Use the alias command of ubuntu to simplify complicated and difficult-to-use commands

The alias command of ubuntu is used to simplify many complicated and difficult-to-use commands. now I use ssh to connect to a remote server. each connection has to be like this: sshxiaobing @ testexamplecom or even, sometimes I don't know the domain

Fedora9 Chinese and English compatibility settings

Fedora9 English and Chinese compatible settings English system, compatible with Chinese LANG & quot; en_US & quot; LANG & quot; en_USUTF-8 & quot; SYSFONT & quot; latarcyrheb-sun16 & quot; SUPPORTE & quot; zh_CNUTF-8zh_CN: zh & quot; set English

Shell learning to automatically detect and restart the httpd service

Linuxshell learning: automatically detects and restarts the httpd service [root @ localhostshell] catcheckapachesh! Binbashusingyourprogramtoshowyoursystem & amp; 39; sserviceecho & quot; Now, theweb linux shell learning to automatically detect and

Linuxshell programming ---- regular expressions

Linuxshell programming ---- regular expression 1 Regular Expression 1 regular expression is a string consisting of a string of characters and meta characters, RE (RugularExpression) 2. the characters in a regular expression are divided into two

How to deal with low wireless Internet access speed in ubuntu

Many people may experience extremely slow wireless network speeds after installing the ubuntu system. even if many web pages cannot be opened, even the Unicom domain name prompts will appear when you open the website, you only need to execute the

Iptables knowledge theory learning and practice examples

What is iptables, a learning and practice example of iptables knowledge theory? Without explanation, go to the topic. The command structure of iptables is iptables [-ttable] command [match] [target]. Next, we will introduce the learning and practice

Log analysis after a server goes down

The log analysis after a server crash is explained here. the report written by NND suddenly disappears. alas, is it the reason why I watched the video yesterday, 360 or something is really unreliable. forget it. According to the valogmessage

LinuxCtrl + zjobsbgfg usage and differences

LinuxCtrl + zjobsbgfg usage and differences 1. & amp; this is most often used at the end of a command, you can run this command in the background. 2. ctrl + z. You can run a command in the foreground on the background, pause. 3. run jobs to check

Shell Programming test file permissions

Shell Programming test file permission! BinbashThisscriptisusedtotestthefiletype62011functionusage () {echo & quot; Error: Musthaveaparameter & quot; echo & quot; Usage: & qu shell programming test file permission #! /Bin/bash # This script is used

Total Pages: 2732 1 .... 1127 1128 1129 1130 1131 .... 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.