Let the echo command display a colored word in Linux

echo display with color, need to use parameter-EThe format is as follows:Echo-e "\033[word background color; text color m string \033[0m"For example:Echo-e "\033[41;37m Tonyzhang \033[0m"Where 41 of the position represents the background, 37 of the

Linux Mail notifications

Operation and Maintenance department in the monitoring system, all need to have the mail alarm function, but like the past cacti there is no such function.The Mail command from Linux allows you to send messages either internally or externally.How

Linux setup memcached boot up

memcached Boot ModeMethod One:Append the start command to the /etc/rc.d/rc.local file /usr/local/memcached/bin/memcached-u root-d-M 2048-l 11211-p/tmp/memcached.pid You can also specify no IP, which is native by

RHEL7--Linux build FTP virtual user

Installing the VSFTPD Package[email protected] ~]# Yum install vsftpd-y[email protected] ~]# Yum install DB4 db4-utilsThe host user who established the VSFTPD service[Email protected] ~]# useradd vir-s/sbin/nologinCreate a log file[Email protected] ~

Linux read-write lock application Example

Transferred from: http://blog.csdn.net/dsg333/article/details/22113489/* Use a read-write lock to implement four threads to read and write an instance of a program, create four new threads, two threads to read data, and two threads to write data. At

Method steps for HP-UX AIX Linux extended LVM

HP-UX:Pre-collection:1) BDF2) Strings/etc/lvmtab3) Lvdisplay [LV name]: lvdisplay/dev/vgs70/lv0144) Vgdisplay [VG]: VGDISPLAY/DEV/VGS70 PE size is the smallest allocation unit5) swlist-l product |grep-i ONLINEJFS: ONLINE-JFS is a tool that can be

Linux Common Command Daquan

System InformationThe processor architecture of the Arch Display machine (1)UNAME-M Display the processor architecture of the machine (2)Uname-r displaying the kernel version in useDMIDECODE-Q Display hardware system

Rookie Linux Road 1->egrep and its regular expressions

Regular Expressions (regexp:regular expression)Regular expressions are divided into two categories:1, the basic regular expression. Basic REGEXP2, extended regular expression. Extened REGEXPBasic Regular Expressions:Character matching. Match any

Linux RPM installation Package information query

Source: http://blog.csdn.net/namesliu/article/details/6004388CENTOS5.5 has been integrated with the installation of Apache, MySQL, PHP as a sample, we have to explore the installation path and other information to facilitate our management and use.

Linux Background Run command

Source: http://www.ibm.com/developerworks/cn/linux/l-cn-nohup/We often encounter such problems, log on to the remote Linux server with TELNET/SSH, run some long-time tasks, the result of the network instability caused by the task Midway failure. How

Linux under jira6.3.3 installation hack

Preface:JIRA is an excellent problem-tracking management software tool developed by the Australian Atlassian Company to track and manage various types of issues, including defects, tasks, requirements, improvements, and more. Jira uses the Java EE

Linux about Readlink function get running path of small program

Excerpt from: http://blog.csdn.net/djzhao/article/details/8178375Linux about Readlink function get running path of small programRelated functions: Stat, Lstat, symlinkTable header files: #include Define functions: Int readlink (const char *path,

How to modify the Linux system host name

Complete the goal:Modify the host name of the CentOS 7 systemUse the command:Hostnamectl[Email protected] ~]# Hostnamectl--Helphostnamectl [OPTIONS ...] COMMAND ... Query or change system hostname. -H--help Show This Help--version Show package

Linux nohup Commands

We often need to start a long-running program in development, we need to close the SSH connection, and still keep the program running, for this we need to use the Nohup command. Of course, you can also use the screen command, I have introduced in

installation, upgrade and dynamic adding module of Linux Nginx

System based onubuntu server 14.04.4 amd64 Install the first step download and unzip the Nginx compressed packageDownload Nginx from Nginx website, or perform wget http://nginx.org/download/nginx-1.10.1.tar.gz direct download on LinuxUnzip the

Small white learn Linux (iii)--File system basic structure

The Linux file system is an inverted single-tree structure with file names that are strictly case-sensitive (Windows systems are case-insensitive). The path is separated by "/" and differs from Windows ' \ '.Here I draw a normal directory structure

CENTOS7 compiling Linux kernel source code

Yesterday compiled a Linux kernel source code, encountered some problems, today I encountered problems and solutions to share to everyone. Hope can help to the people who need it.1) Check if the appropriate package is installed (the "Development

Linux Common Debug commands


1. View TCP connection Statusnetstat -nat |awk  ' {print $6} ' |sort|uniq -c|sort -rn netstat -n  | awk  '/^tcp/ {++s[$NF]}; End {for (A in s)  print a, s[a]} ' netstat -n | awk  '/^tcp/  {++state[$NF]}; end {for (key in state)  print key, "\ T",

Linux system View system is 32-bit or 64-bit method Summary (RPM)

Summarize and summarize the Linux system is a 32-bit or 64-bit methods, a lot of content from online netizens blog. This article is just to tidy up, comb this knowledge, easy to forget the time to check at any time.Method 1:getconf long_bit ViewAs

Linux Common Command Daquan

System InformationThe processor architecture of the Arch Display machine (1)UNAME-M Display the processor architecture of the machine (2)Uname-r displaying the kernel version in useDMIDECODE-Q Display hardware system

Total Pages: 5469 1 .... 336 337 338 339 340 .... 5469 Go to: GO

Alibaba Cloud 10 Year Anniversary

With You, We are Shaping a Digital World, 2009-2019

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.