Bash sets vi as the default editing mode

Bash sets vi as the default editing mode to edit the/etc/inputrc file, sets the global readline configuration, adds the following command: www.2cto.com # Ilikevimode, sets the default editing mode to visetediting-modevi # emacsmodesettings, e...

Use different SSH keys to log on to multiple websites

Use different SSH keys to log on to multiple websites. create different SSH keys,-t specifies the encryption method, RSA or DSA;-C annotation;-f specifies the file name www.2cto. comssh-keygen-tdsa-C & quot; email. xxx & quot;-f ~ The commands above/

Linux scheduling algorithm RHCA

Linux scheduling algorithm RHCAUNIT6CompensatingforPhysicalDiskCharacteristicswww.2cto.com objective:. understand the physical factors that affect disk io B. application queue technology to adjust IO scheduling 6.1physicalfactorsaffect..linux

Use shell to check whether the current user is a superuser

Using shell to check whether the script is a super user UID is an important environment variable. it can be used to check whether the script is run as a super user or as a common user. For example, the code www.2cto.com is as follows :#!

How to improve the display effect by setting the font rendering parameter

By setting the font rendering parameter to improve the display effect, linux desktop can also be used. I am using centos5 now. Www.2cto.com I set the system-first item-font content, and selected a monochrome color in the font rendering. the display

View the modules loaded by Apache

View the modules loaded by Apache. apachectl-t-DDUMP_MODULESwww.2cto.comapache2: Couldnotreliablydeterminetheserver & amp; #39; sfullyqualifieddomainname, using127.0.1.1forServerName... view the modules loaded by Apache. apachectl-t-D DUMP_MODULES

When the file is modified in ubuntu recovery mode, readouly is prompted.

When the file is changed in ubuntu recovery mode, the prompt "readouly" is displayed. when the file is changed in ubuntu recovery mode, the prompt "readouly" is displayed? Www.2cto.com solution: re-mount the partition where the file is located. 1,

Ubuntuip & dns configuration

Ubuntuip & amp; dns configuration 1. set the IP address. enter sudogedit/etc/network/interfaces on the terminal. assume that the network card is 0. if it is another network card, change eth0 to the corresponding value. Autolowww.2cto.

If the Vsftpd permission is correctly configured, the error 500,550 is returned. solution:

If Vsftpd permissions are correctly configured, report 500,550 solution: After configuring VSFTPD, I encountered a cannotcreatefile error and found many answers, all of them are permission issues. www.2cto.com my FTP user is ftpuser and I have

Scope of script variables and function variables in Shell

The scope of the script variables and function variables in Shell defines the function in shell to modularize the code and facilitate code reuse. However, the scope of the variables in the script itself and the variables in the function may be

Ssh passwordless settings

Ssh password-less hand settings because many configurations on the Internet and password-less login are not easy to use, I just wrote a plug-in for your reference, I have prepared three test machines, the requirement is that all three machines can

Filter invalid ip addresses and robot in access logs

Filter the invalid ip addresses in the access log and the script for regularly updating the ip addresses of the robot: www.2cto.com #! /Bin/sh # update the company IP address on a regular basis to filter # author: FelixZhang # date:

Start VNCserver on Linux

Linux boot start VNCserverDebian boot start VNC: www.2cto.com start VNC and set: startjwm & amp; firefox -- display: 1 set VNC boot vim/etc/init. d/vncserverSehll code ### BEGININITINFO # Provides: vncs... linux boot VNCserver Debian boot start VNC:

Whether the monitoring service exists. if not, create

Whether the monitoring service exists. if it does not exist, create #! /Bin/shwww.2cto. comkill_result 'psaux | grep & amp; #39; index. php & amp; #39; | grep-vgrep | wc-l 'if [$ kill_result-eq0]; thennohup/usr/loc... Whether the monitoring service

Install a wired NIC driver in linuxy.pdf

LinuxY480 install the wired NIC driver [java] www.2cto. comsudoapt-getinstallbuild-essential tiallinux-headers-genericlinux-headers-'uname-R' wget-O-http://linuxwireless.org/download/compat- Install the wired NIC driver in linux ydo [java] www.2cto.

Understanding of Linux Practical Logic Volume LVM

I remember the confusion in my mind when I first came into contact with LVM Logical Volume management, because I was unable to clearly distinguish the terms involved. after my own experiments, here, I will record my learned experiences and share

Problems during libnl compilation

When compiling libnl, the linux wireless configuration commands have been updated to the iw era. Many people are still using iwpriv. To compile iw at www.2cto.com, you need to use a library: libnl. Independent nelink project. I cannot compile the

Use a USB flash drive to automatically install CentOS

We can also modify the iso image, burn it to the cd, and install it automatically from the cd. this is very simple. (1) use ultralISO to open the image, extract isolinux/isolinux. cfg, and modify the image as follows. after the modification, replace

The initial status of Linuxbonding and its solution

The initial status of Linuxbonding and its solution: start a bonding Nic and add two NICs with no network cable inserted into it. after pulling the bonding, ifconfig finds that it has a RUNNING mark, then plug in a slave and unplug it. ifconfig does

Three methods of script execution in linux

There are three methods for executing scripts in linux. /bar. sh is executed in the sub-process of the folk... /bar. sh is. /bar. sh content is read to the current running environment and execute exec. /bar. sh is to replace the current process.

Total Pages: 2732 1 .... 2694 2695 2696 2697 2698 .... 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.