Modify path Path under Linux

1. #PATH = $PATH:/opt/lamp/mysql/binwith this method, only the current session is valid, meaning that the PATH setting is invalidated whenever the system is logged out or logged off2. #vi/etc/profileadd path= $PATH in place:/etc/apache/bin (Note: =

Linux Summary application three build kernel

Build the kernel(1): First: Verify that the Linux source program has established two symbolic connections in the/usr/include directory:# Cd/usr/include# ls-l ASM Linuxlrwxrwxrwx 1 root root 4 17:27 asm-/usr/src/linux/include/asmlrwxrwxrwx 1 root

Linux Learning notes < 24 >--sudo

sudo: What commands a user can perform with another user's identity through which hostssudo COMMAND-L: Lists all sudo class commands that the current user can use-K: Disable authentication information, i.e. authentication required for each

Linux file system related knowledge collation

1. Physical structure of the diskDisc: The disk is made up of a stack of disk facesHead (Heads): Each head corresponds to a disk face, which is responsible for reading and writing data on the disk surface.Track: Each disc is divided into concentric

Summary of Common Linux commands

Some commands related to process operations: PS-A, ps-e view all Processes ps-ef| grep + process Name View related process Information Ps-ef|more view process related information kill + process PID Execute PHP script file in Linux: PHP + file

Linux kernel parameters

/proc/sys/vm/swappiness #结果显示该值默认为60.whichSwappiness=0, it means maximizing the use of physical memory before using swap space,SWAPPINESS=100, the active use of the swap partition, and the memory of the data in a timely manner into the swap

Five types of I/O models under Linux

Blocking I/O (blocking I/O)Non-blocking I/O (nonblocking I/O)I/O multiplexing (SELECT and poll) (I/O multiplexing)Signal-driven I/O (signal driven I/O (SIGIO))asynchronous I/O (asynchronous I/O (the POSIX aio_functions))The first four types are

How the Linux operating system modifies path

1. Temporary modification:Use export, for example #export path= $PATH:/etc/apache/bin2. User-specific modifications:VI ~/.bash_profileJoin: Export path= $PATH:/etc/apache/binThen source ~/.bash_profile3. Global modification (Root

Linux command Intro2 VI

VI cusor:0:to the beginning of the$: To the end of the current lineG:to the last of the fileGg:to the beginning of the fileDelete:Dd:delete the current lineDg:from the current line to the end of the fileD20g:from the current line tot the 20th line

Linux next several shutdown, restart commands

Shutdown several commands:Shutdown-r now # Reboot the system immediatelyShutdown-r +3 # Three minutes after rebooting the systemShutdown-h now # Close the machine right awayShutdown-c # Undo Shutdown operationShutdown-k now # sends an ' immediate

Grasp the Linux kernel design ideas series (not yet ... )

"Copyright Notice: respect for the original, reproduced please retain the source: blog.csdn.net/shallnet, the article only for learning Exchange, do not use for commercial purposes"Grasp the Linux kernel design Idea (a): System callGrasp the design

Linux Rpmbuild Commands

First, IntroductionThe Rpmbuild command is used to create binary packages and source code packages for the software.Second, the option Reference: http://blog.sina.com.cn/s/blog_4ba5b45e0102e5r2.html http://

Linux SCP exceptions

/root/.ssh/known_hosts updated.Original Contents retained As/root/.ssh/known_hosts.old[Email protected] jenkins]# SCP jenkins.plugins.publish_over_ssh. Bapsshpublisherplugin.xml 192.168.19.47:/yanf/jenkins.plugins.publish_over_ssh.

One of the Linux summary applications

(i) hierarchical structure of the file system:In Linux, there are two kinds of files, one kind of ordinary file, the other is special file, ordinary files usually exist in various directories, and specialDirectories are generally stored in/dev.(ii)

Linux notes (continuous update)

1. Turn off the machineView online users who; View network online status netstat-a; view Background executor Ps-auxShutdown shutdown-h Now, Init 0Halt, Poweroff hardware shutdownRestart reboot, init 62. PermissionsCHGRP [-r] User group name file or

The role of folders under the Linux root directory

/bin binary executable commands the/dev device special File/etc System Management and configuration file/etc/rc.d startup profile and script the base point of the home directory of the/s user, such as the user's home directory is/home/user, can be

Linux Learning -15-Learning LVM Logical Volumes

In implementing a file system that can elastically adjust capacityFdisk/dev/hda partitionPartprobe Update partitionPvscan Check for PV presence or notPvcreate/dev/hda5 Creating PVVgcreate vbirdvg/dev/hda{6,7,8} Create VGVgscanPvscanVgextend

Check and delete of Utf-8 BOM under Linux (65279 Error resolution)

After the Java code is converted to UTF-8 encoding, the Eclipse compilation runs fine, but when you compile with maven, an illegal character 65278 error is thrown.The reason is that after the conversion of the file header with BOM information, and

Linux ubuntu JDK environment variable configuration

Get ready(1) Create the JDK folder in/usr/local/usr/local/jdk (2) The JDK package MV to the/USR/LOCAL/JDK directory (3) Performing TAR-XZF jdk1.8.0_51.tar.gz 2. Execute the command:(1) If non-root user: sudo vi ~/.bashrc(2) Add at least:

PSCP enables Windows and Linux files to transfer to each other

PSCP enables you to transfer files between Windows and Linux. The following details describe how to use:A brief description of PSCP:PSCP (PuTTY Secure Copy client) is a PuTTY-provided file transfer tool that securely transfers files between two

Total Pages: 5467 1 .... 5137 5138 5139 5140 5141 .... 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.