How to output color text with Shell scripts in Linux

In Linux, how does one output the echo-e "\ 033 [44; 37; 5 m ME \ 033 [0 m COOL" command in a Shell script: the background color is blue, the foreground color is white, the font flashes, the output character ME, And then reset the screen to the

Use rsync + inotify for Data Synchronization

Using rsync + inotify for Data Synchronization I. What is rsync? It is a tool for file synchronization and data transmission in Linux. It uses the rsync algorithm to enable client and server, master server andBackup server data synchronization.

Create a test environment with full disk space in Linux

Linux constructs a test environment with full disk space. It uses the ramdisk Of The suse operating system to mount the virtual disk partition, and then fills up the virtual disk partition to meet the condition that the disk is full. Www.2cto.com

Install DB2 in linux

Step 1: Check the package and its version www.2cto.com 2 compat-libstdc ++-7.3-2.96.118.i386.rpm on the linux installation disk, use rpm-I compat-libstdc ++-7.3-2.96.118.i386.rpm for installation. Step 2: configure the Linux Kernel

Install Redmine in CentOS Linux

CentOS Linux install Redmine install openssl environment www.2cto.com 1yum install openssl-dev install Ruby environment 1tar zxf ruby-1.8.7.tar.gz2cd ruby-1.8.73. /configure4make5make install6ruby-v install rubygems environment 1tar zxf rubygems-1.8.

Install rockmongo in ubuntu 12.04

I have read a lot of similar articles before installing rockmongo in ubuntu 12.04, and I feel a little complicated. I have studied it myself and encountered many problems. I will sort out the following articles today, I hope to help others

Ping the IP address. The output of ifconfig is indicated by RX packets: 234 errors: 12.

Ping the IP address. The error message displayed in ifconfig is "RX packets: 234 errors: 12". The default Nic of VirtualBox virtual machine is incorrect (the company uses wireless network and selects a wired Nic ), after re-selection, you can use

Set up an AP using a wireless network card in Linux

In Linux, the wireless network card is used to set up an AP. Due to the need of the experiment, we need to set up a Wireless AP. After a long time, we finally finished the setup. Www.2cto.com my machine is equipped with two NICs, the wired Nic is

Create an FTP site using SSH

SSH creates an FTP site, the operation is very simple, follow the steps below to do it... Www.2cto.com 1. open the SSH Shell and log on to the server. 2. create an FTP account: useradd your FTP account-g root-d/directory where your FTP site is

Getting started with linux Network Configuration

Getting started with linux network configuration (I) Network Interface www.2cto.com ① naming rules linux kernel specifies different prefixes for interface names based on the interface type, each interface is allocated a number from scratch. For

What is eth0, eth1, eth2, and lo?

What is eth0, eth1, eth2, and lo? eth0, eth1, eth2 ...... Indicates network adapter 1, network adapter 2, network adapter 3 ...... Lo represents 127.0.0.1, that is, localhost reference: Linux Command: ifconfig www.2cto.com Function Description:

Tftp Server installation and configuration

Tftp Server installation and configuration tftp server www.2cto.com trivial file transfer protocol simple file transfer protocol tftp has three transmission modes: netASCII 8-bit ASSCII eight-bit group mode check whether the mail mode is installed

Linux inittab file details

  The init process number is 1 (ps-aux | less). From this point, we can see that the init process is the starting point of all processes in the system. After Linux completes the kernel boot, start to run the init program. The init program needs to

Linux semaphore PV operation

  Linux semaphore PV operation In the semop operation, the sem_flg members of the sembuf structure can be 0, IPC_NOWAIT, and SEM_UNDO. When it is set to SEM_UNDO, it enables the operating system to track the changes made by the current process to

Delete and uninstall MySQL from Linux

Because redhat Enterprise 5 comes with a mysql version, skip this step if you did not select mysql installation before installing linux, Because I installed it now and uninstall it as follows: A. Find the installed myslq version:# Rpm-qa | grep

Nginx Automatic Log function and Automatic Log cutting script

Automatic logs for nginx containing variables: Note the following when using automatic logs:1. nginx log directory permission. Take my installation path as an example:/usr/local/nginx. Then, my log directory is in/usr/local/nginx/logs; the inclusion

Linux IP address, DNS, Gateway

I always forget the location of these configuration files and mark them for easy access.1. Modify the IP addressModify the configuration file of the corresponding Nic IP Address# Vi/etc/sysconfig/network-scripts/ifcfg-eth0Modify the following

Linux Command tips and time settings

1./bin/command: All users2. cd Shell internal commands, not in any directoryCd-Return to the last accessed directoryCd! $ Enter the last accessed directoryCd ~ And cd are both home directories3. pwd: print work directory4. cp:/bin/cpCp-a copy

Linux Shell programming learning notes

Linux Shell programming learning notes log on to Shell, the Shell program automatically loaded after you log on to the system. Most Linux systems use/bin/bash as the shells that can be used by the Shell system supported by the default logon

No nonsense ubuntu 13.4w file sharing Configuration

Non-Nonsense ubuntu 13.4w file sharing configuration goals: to achieve a windows and linux operating system that can share files, and can access the installation file sharing service through the machine name 0. change the Host Name of the Local

Total Pages: 5467 1 .... 2060 2061 2062 2063 2064 .... 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.