Linux under PS1 command prompt settings

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

Linux kill kills the specified process

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?

Bird's-cousin's private cuisine--1th Chapter what is Linux

"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

Resolves an issue where the IP, Mac, UUID of a modified machine after cloning a Linux virtual machine failed

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#

Linux Learning notes----7

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

Linux server disk and file system Management (ii) Basic operations of LVM logical volume management

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

Linux Learning notes-Regular expressions

&& and success-execution unsuccessful-do not execute|| or success-not performing unsuccessful-execution; (not) Success-executiongrep--color ' root '/etc/passwd highlightecho "Alias cg= ' grep--clort '" >> ~/.BASHRC-N Display number of rows-C counts

Advanced commands for Linux user groups and user groups

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

Linux->> <user_name> Not in the sudoers file. This incident would be reported.

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

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 operational Commands (ii)

# #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

Git operation command collation under Linux system

1. Display the current configuration informationgit config--list2. Create RepoGet it from somewhere elsegit clone git://git.kernel.org/pub/scm/git/git.gitBuild yourselfmkdir testCD testGit init3. Display Statusgit status4. Commitgit add file.1 file.2

Linux command Daquan _ file Directory Operations Command

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 detailed explanation of the process of configuring Squid Proxy server under Linux system

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

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 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 linux

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

Closing interface eth0: Error: disconnecting device 'eth0'

Closing interface eth0: Error: disconnecting device 'eth0' 1. Problem Description[Root @ pdshow ~] # Ping www.bkjia.comConnect: inaccessible Network[Root @ pdshow ~] # [Root @ pdshow ~] # Ping www.bkjia.comConnect: inaccessible Network[Root @ pdshow

Export PHP syntax color configuration in Zend Studio

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

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

Total Pages: 5467 1 .... 1529 1530 1531 1532 1533 .... 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.