Linux under PS1 command prompt settingsAdded on the last line of this file: Vim/etc/profileexport ps1= ' [\[email protected]\h \w]\$ ' #这里必须用单引号.\d: Represents the date, in the format weekday month date, for example: "Mon 1" \h: Full host name. For
One kills the specified processNow know that a PHP thread is running and need to killRoot 26278 1 0 2015? 00:00:31/usr/local/php/bin/php/var/www/html/redis/daemon/daemon_register.phpRoot 26280 1 0 2015?
"Just a porter, stealing the fun out of the handling." 】Historical originsLinus Torvalds (remember this name) that year (1991) when writing Linux, originally intended for the 386-type machine, then just a set of bare operating system does not
So here's how we fix it:Remove The kernel ' s networking interface rules file so it can regenerated# rm-f/etc/udev/rules.d/70-persistent-net.rulesRestart the VM# rebootUPDATE your interface configuration file#
Managing Linux Networks1. Network Interface NameTraditionally, network interfaces in Linux are enumerated as ETH0,ETH1, eth2, and so on.The default naming behavior in Red Hat 7 is to assign a fixed name based on the firmware, device topology, and
The previous chapter we said that the partition of the hard disk, format and mount partition, use can be normal use, but once the system partition is not enough, we have to back up, delete the relevant data or re-planning partition to meet the needs
1. User lock: Passwd-l user12. Unlock User: Passwd-u user13. User no Password registration: passwd-d user14. Add to the secondary user group: Gpasswd-a user1 boss (group name)Remove user to Secondary user group: Gpasswd-d user1 boss5. Switch to the
An error occurred yesterday when executing the mkdir command with the sudo command. The error prompts are as follows:sudo mkdir /home/hadoop[sudofor infile. This incident would be reported.The reason is that the current user does not borrow the
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
# #mkdir Command The mkdir command is used to create a directory of the specified name, requiring the user who created the directory to have write permissions in the current directory, and the specified directory name cannot be a directory that is
File Directory Operations Command[[email] ~]# nl-n rz-w 2 list.txt protected ls02 cd03 pwd04 mkdir05 rm06 rmdir07 mv08 cp09 touch10 cat11 N L12 more13 less14 head15 TailLsLS Prints the inventory and details of the current directory, or you can
a simple record of squid. Configuration of transparent proxy serverEnvironment: VirtualBox + CentOS 6.0 + squid-3.1.4-1.el6.i6860, check whether squid is installed by default, not installed first installed[Email protected] ~]# Rpm-qa squidsquid-3.1.4
Centos7 disable and configure iptables for firewall installation, centos7iptables
1. configure the firewall and enable port 80 and port 3306
CentOS 7.0 uses firewall as the firewall by default. Here, it is changed to iptables firewall.
1. Disable
Install tomcat and linuxtomcat in Linux
Install tomcat in Linux
-- @ Liang WP
Abstract: install tomcat in Linux.
1. Download tomcat
1. Search for tomcat in Baidu. The first result is with the Apache Tomcat-Welcome character. Click to go to
Obtain console data of the daemon process in linuxLinux provides a daemon function that allows processes to run without the console and achieves the background running effect. However, after the process runs in the background, the data originally
Export PHP syntax color configuration in Zend Studio
In Zend Studio, you can configure the PHP syntax color by yourself, but there is no button to export the configuration. You can't configure it once every time. Isn't it exhausting? There is a
Summary of Common commands for GDB debugging in Linux, and Common commands for gdb
Prepared by: longshike
Email: longshike2010@163.com
2016-01-05
Gdb is the default debugging tool in Linux. When compiling a program file, such as debug. c. To use gdb
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