Shell script to get the current IP address

In The shell script, I need to perform different operations based on different IP addresses, so I need to get the IP address of the current host in the shell script www.2cto.com I need to get the IP address 192.168.1.111 www.2cto.com method 1 [html]

Centos5. 8rpm install gcc

Centos5. 8rpm install gcc1. download the rpm package required for gcc installation. First, check the installed linux version, and then download the rpm package from the centos website. Bash Code # lsb_release-awww.2cto.com I installed centOSrelea...

Can 'topen/dev/tty: NosuchdeviceoraddressError (Linux) solution

Foreword because the previous online server has replaced the IP address, the following problems are recorded in the log when the offline server crontab pulls the backup log (ps: I Am a Singer while solving the bug at home, very refreshing): www.2cto.

The "550Failedtochangedirectory" error prompted by vsftpd

Vsftpd sadly urged 550Failedtochangedirectory error 550Failedtochangedirectorywww.2cto.com the phenomenon is that ftpclient cannot change the directory. the reason on my side is SELINUXenforcing. the correct method is to restart the directory :... "

Run the linuxnoup command in the background

The linuxnoup command runs the program nohup & lt; program name & gt; & amp; in the background, the process continues to run after the console logout, it serves as a daemon (although it is not a strict daemon ). After the nohup command is used, the

Solution to insufficient swap space in linux

There are two ways to increase swap space after linux swap space is insufficient: Strictly speaking, there is only one way to add swap after the system is installed, which is the second method in this article, the first method should be to set the

CentOS installation XWindow

CentOS installation XWindow installation X graphical interface system www.2cto. comyumlist to list all installable software packages, you can use yumgrouplist to check which lists may be installed in batches. install Xwindows # yumgroupinstall & amp;

Configure rsync server in linux

In linux, the rsync server usually uses code management, data backup, and more on the same machine. if the hard disk breaks down, it is almost unable to go back to the day, even if many of them have backups, most of them are local backups, so remote

Debian6.0.6 establishing a local non-free source

Debian6.0.6 local non-free source creation process description: my work environment cannot be on the Internet, so we need to build a local debian source through DVD burning. Debian can be engraved with main and contrib, and non-free does not have an

Ubuntu12.04 automatically mount windows partitions upon startup

In linux, apart from using the disk code (/dev/sd *), you can also directly use the disk label as the disk mount point. Advantage: no matter how the disk code changes, no matter which IDE interface you insert the disk into, because it is mounted

Lock and unlock an AIX user account

Locks and unlocks the AIX User account. last night, the root, oracle, and grid user passwords of 40 database hosts were modified as required. just a few replicas found that oracle users could not log on shortly after, the reason is that OEM12C is

Dstat system monitoring command

The dstat system monitoring command dstat is a powerful monitoring system software that integrates the functions of vmstat, iostat, netstat, and ifstat. High scalability. Www.2cto.com # dstat ---- total-cpu-usage ----- dsk/total -- net/total ----

A glimpse of the ext2/ext3 file system in Linux

In Linux, the most traditional disk file system (filesystem) uses ext2. therefore, to understand the file system, you must start with ext2. I. file system features the partition must be formatted after the disk partition is completed before the

LinuxCentOS6.2x64 configure vsftpd Virtual User server

LinuxCentOS6.2x64 vsftpd configuration vsftpd Virtual User server recently configured a simple vsftpd server due to project requirements, combined with online information, sorted out the configuration steps for future reference: www.2cto.com 1.

Linux source code installer

Linux from the source code Installer 1. first, copy the installation file to your Directory. For example, if you log on as root, copy the software to/root. Export cpxxx.tar.gz/rootwww.2cto. com2. because the file is compressed and packaged,

Shell wildcards, regular expressions, and regular expressions

Shell wildcards, regular expressions, and regular expressions can be used in Shell. common wildcards are as follows: ●? Represents any single character. ● * represents any string of any length. ● [] represents matching any character in the character

Debian system build VPN server

Debian system build VPN server 1, install PPTPDwww.2cto.com # apt-getinstallpptpd2, edit pptpd. conf file # vim/etc/pptpd. conf makes the uncommented content as follows: option/etc/ppp/pptpd-optionslocalip192.168.0.1rem... debian system build VPN

Fedora17 installation of Qt5.0.0/usr/bin/ld: cannotfind-lGL solution

Fedora17 installation of Qt5.0.0/usr/bin/ld: cannotfind-lGL solution if it is fedora17 installation of Qt5.0.0, after the installation is complete, run the project:/usr/bin/ld: cannotfind-lGL-I: the corresponding library file www.2cto.com cannot be

Compile Libjingle in Ubuntu

Compile Libjingle $ gclientconfig in Ubuntu http://libjingle.googlecode.com/svn/trunk Generate the. gclient file www.2cto.com $ gclientsync to obtain the source code $ gclientrunhooks to generate Make... compile Libjingle $ gclient config under

Install ffmpeg/mencoder/mplayer in linux

Prerequisites for installing ffmpeg/mencoder/mplayer in linux: you must have installed yumwww.2cto. com1.yuminstallffmpegffmpeg-devel if the package cannot be found, add the following content to/etc/yum. repos. d/rhel-debuginfo.repo file in www.2cto

Total Pages: 2732 1 .... 848 849 850 851 852 .... 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.