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?

A Linux du command every day

The Linux du command also looks at the space used, but unlike the DF command, the Linux du command is a view of the space used by the file and directory disks, or some difference from the DF command.1. command format:du [Options] [file]2. Command

Rules and installation of Linux

Rules and installation of Linux* Netstat-n View Session* NETSTAT-NB View Establish session process* Netstat-an Viewing listening ports* SS-TNL View System listening port* ipconfig view network card IP address, gateway, subnet mask and other status

Linux pwd command details and how to use the actual combat "beginner"

PWD: View current working directoryObjective:Linux with the PWD command to see the "Current working directory" of the full path, is often mentioned in the directory, more used in the production environment multi-level directory to see the current

Linux Driver Learning Steps (reprint)

1. Learn to write simple makefile2. Compile an application that can run with makefile3. Learn to write driven makefile4. Write a simple char drive, makefile compile through, can Insmod, Lsmod, Rmmod. Print Hello World in the init function of the

Linux OPS Practice case-December 20, 2015-December 31 (first time)

1, the creation of a 10G file system, the type of EXT4, requires the boot can be automatically mounted to a separate data/data directory; (1)FDISK/DEV/SDA (2)command:n (3)Command action:p (primary partition) (4)Partition Number:2  (5)First

Linux Learning Private notes-Compressed Files command

bz2

The commonly used compression commands are:. zip. gz. bz2. tar.gz. tar.bz2The. zip format can be interoperable in Linux and Windows:Zip compressed filename Original file name: Compressed file.Zip-r compressed Directory name Directory name:

Linux command--groupadd

Command format:Groupadd [options] group account name (option is not writable) Command function:Add a group account Common options: - g The GID number of the specified group Common examples:Example one: Create a group named testCommand:

JVISUALVM monitoring remote Linux under Tomcat

JVISUALVM monitoring remote Linux under Tomcat1. Edit tomcat/bin/catalina.shAdd the following code with no line break in the middle:catalina_opts= "$CATALINA _opts-djava.rmi.server.hostname=192.168.1.11-dcom.sun.management.jmxremote-

Linux system directory structure

Linux system directory Structure:The Linux file system uses a linked tree directory structure, which is a single root directory (typically "/"represents", which contains information about subordinate subdirectories or files; Subdirectories may

Install the ngx_pagespeed module in Nginx 1.9

Install the ngx_pagespeed module in Nginx 1.91. About pagespeed Ngx_pagespeed is an Nginx extension module that can accelerate your website and reduce page loading time, it automatically applies some practices for improving web performance to

Deployment and configuration of Smokeping monitoring and deployment of smokeping monitoring

Deployment and configuration of Smokeping monitoring and deployment of smokeping monitoring For installation instructions, see:Https://github.com/oetiker/SmokePing/blob/master/doc/smokeping_install.pod1 Smokeping 2 3 **** General *** 4 5 owner =

Basic regular expression character sink, regular expression character sink

Basic regular expression character sink, regular expression character sink ^ Word ---- meaning: the string to be searched (word) at the beginning of the lineExample: Search for the row whose first line is # and list the row numberGrep-n' ^ #

Centos7.1 deploy a java environment Server

Centos7.1 deploy a java environment Server1. change default password 2. log on to vi/etc/ssh/sshd_config with the password, and change PasswordAuthentication no to yes to save and restart the service. 3. install vsftp install yum-y install vsftpd

How to add a hard disk to a Centos Server

How to add a hard disk to a Centos ServerLinux hard disk recognition:Sda indicates 1st SCSI hard disksHda indicates 1st IDE Hard Disks1st USB optical drivesYou can use the "fdisk-l" command to list the hard disks currently connected to the

CentOS 6.x kernel Upgrade tutorial

CentOS 6.x kernel Upgrade tutorial I want to run docker on CentOS6.2. The official kernel version is 3.8.0 or later, so I downloaded the source code from the Linux kernel official website and compiled it myself.1. Prepare for checking the kernel and

Configure upstream in Nginx for Load Balancing

Configure upstream in Nginx for Load Balancing If Nginx does not have to proxy only one server, then it cannot be as popular as today. Nginx can configure proxy for multiple servers. When one server is down, the system remains available. The

Vi text editor command,

Vi text editor command, Basically, vi is divided into three modes: "General mode", "edit mode", and "command column command mode 』. The functions of these three modes are as follows: General mode:Open an archive in vi and enter the normal mode

GitLab installation-Ubuntu 14.04 LTS

GitLab installation-Ubuntu 14.04 LTS GitLab is an open-source project used for warehouse management systems. A web service built on Git as a code management tool. It provides Git version control, code check, Bug tracking, and Wiki. It can perform

Total Pages: 5467 1 .... 1855 1856 1857 1858 1859 .... 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.