Transfer from http://www.jb51.net/LINUXjishu/43534.htmlPs-ef|grep tt.py|grep-v grep|cut-c 9-15|xargs kill-9Pipe symbol "|" Used to separate two commands, the output from the left command of the pipe character is entered as the command to the right
Detailed CD command1. Order explanationCD, change directory, changing directories, that is, switching to a different directory2. command formatcd [ directory name ]3. Command Common parametersCD/ switch to root directoryCd.. switch to the
1,linux use command to exercise in Chinese, first to install Zhcon, with Apt-get install Zhcon can be.2, enter Zhcon in the terminal to enter the corresponding mode, ctrl+2 switch Input method.3, modify the default IME to become WubiBecause the
You may be familiar with the expression of a calculator explanation. Take a look at the following arithmetic expression:2+4"2 plus 4" is made up of several constants or literals and an operator. The calculator program must be able to recognize, for
Company staff turnover, often have new maintenance tasks, the handover like to see the new module code, then the problem came,How do I count lines of code?1, the first thought must be WC.Wc-l *.hThe number of lines of code for the "current directory"
Linux application Development-socket a SocketSockets are network programming interfaces that are independent of specific protocolsIn the OSI model, mainly between the session layer and the Transport layerCharacteristics1 is a programming interface2
1. Change the SSH telnet port:#vi/etc/ssh/ssh_configChange port to the one you want, such as 8888.The default is #port 22, remove the # number to port 8888.Also change the following file, as follows:#vi/etc/ssh/sshd_config2. Add a user with normal
The Linux kernel was written by Torvalds (Linus Torvalds) in 1991. There are many interesting stories and the entire development process in the Linux development process. Let me take a look at its evolution:Linux is a set of operating systems,
System Environment: CentOS 7.0Citation: An account is assigned to everyone on the server in the lab, but sometimes the user needs root privileges, such as loading some software. The following describes how to add sudo command permissions to a normal
Upgrade the application server in tomcat in linux, and use linuxtomcat
1. Use the shell tool to enter the tomcat folder in linux.
Cd/usr/Your tomcat path
2. Go to the bin directory.
cd bin/
3. Call the close script
./shutdown.sh
4. Check
Linux demo dd test IO
Dd is often used to test the read/write performance of a directory.
Test environment: Ubuntu system on your computer ~ Other Unix/Linux systems can also use dd.
Tips: dd operations need to be thought twice. confirm that
Install jdk in Linux and jdk in Linux
1. Delete the built-in jdk in linux (to keep the system clean or not delete it)
The Complete identification system has been deleted.
2. Download JDK and select the appropriate JDK version as needed.
Allows common users to temporarily obtain root permissions in CentOS
Create two common users, kongzhong and xcg, and set the password
[root@rhel1 ~]
# useradd xcg
[root@rhel1 ~]
# passwd xcg
Changing password foruser xcg.
New password:
Retype new
Install Github in Centos 6.6
Install github first
# Yum install git
After completion
Https://help.github.com/articles/generating-ssh-keys/#platform-linux official settings tutorial at this URL
Let me explain my configurations.
ssh-keygen -t rsa -b
CentOS7.0 disable the default firewall and enable the iptables Firewall
Operating System Environment: CentOS Linux release 7.0.1406 (Core) 64-bit
CentOS 7.0 uses firewall as the firewall by default. Here we change it to iptables firewall.
1Disable
CentOS network operation commandsNetwork Operation commandsCommand FUNCTION command function ftp Transfer file telnet remote login bye end connection and end program rlogin remote login ping detection host netstat display network status8.1 ftp
Python script for Zabbix system email alert
There are many ways to configure email alerts in the Zabbix system, such as the built-in mail and zabbix + msmtp + mutt. However, using a Python script is a simple and effective method.
The main steps are
Install and configure JDK in CentOS7 to build an ftp server
. Set up an ftp server
We have installed the vsftpd server on CentOS. For details about how to install and configure the vsftpd server, refer to enable FTP and configure users in CentOS,
CentOS 7.0 lamp + ftp Installation
CentOS 7.0 lamp + ftp Installation
1: install the HTTP server and FTP server yum install httpd vsftpd
2: install and install the MariaDB client and server. MariaDB is essentially MySQL yum install mariadb-server.
3:
DHCP server configuration under CentOS6.5
DHCP
DHCP (Dynamic Host Configuration Protocol) is a LAN network Protocol that uses UDP for two purposes: to automatically assign IP addresses to internal network or network service providers, the user or
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