Linux environment variables

View and add path environment variables under Linux$PATH: determines which directories the shell will look for commands or programs, the value of PATH is a series of directories, and when you run a program, Linux searches for compiled links in these

INotify Monitoring folder status under Linux, triggering rsync synchronization after changes have occurred

1. Installation Tools--inotifywget http://cloud.github.com/downloads/rvoicilas/inotify-tools/inotify-tools-3.14.tar.gzTAR-ZXVF inotify-tools-3.14.tar.gzCD inotify-tools-3.14./configure--prefix=/usr/local/inotifyMake && make install--rsyncDownload:

A little knowledge of Linux learning notes memo

What does the suffix */=>@ mean after entering ls-f in Linux?Ls-fA character is appended to each file name to indicate the type of the file, and "*" indicates an executable normalfile; "/" means directory; "@" means symbolic link, soft link; "|"

Linux (ix) __ Network test

1. Verify that the IP address, subnet mask, and gateway are correct.Ifconfig2. Verify that the LAN is interoperable, access other people's computers, gatewaysPing sends packet to receive packet, device is

Linux Common commands

Locale-a viewing the character set supported by the host*************Usermod-l VV Frozen Account vvUsermod-u VV cancels the freeze on account vvusermod-d/zq-m xk change user xk home directory to/zq**************chmod 777 test.shUseradd ZQUserdel

Linux system identification and mounting file system

1. Use the DF command to view the file system and associated mount point information[[Email protected] ~]# Dffilesystem 1K-blocks used Available use%mounted on/dev/mapper/vol0-root51224128 3019100 48205028 6% /Devtmpfs492436 0 492436 0%

The use of git under Linux

Reference Link: http://www.liaoxuefeng.comInstallationInstallation steps:① first load the operating system with GIT tools, take Linux for example:$ sudo apt-get install git② to the GitHub website for an account to generate SSH key③ generates SSH key,

Linux network device fails to start problem handling

A CentOS operating system was previously installed to test the Nginx load Balancer, which later was useless. Once a colleague upgraded the VM and recently tried to test the keepalived on it, the service was not connected.Start looking for reasons,

Chapter III Linux Soft links and hard links

Linux Soft links with hard linksDeepen understanding through experimentation[[Email protected]]$ Touch F1 # Create a test file F1[[Email protected]]$ LN F1 F2 # Create a hard connection file for F1 F2[[Email protected]]$ ln-s F1 F3 # create a

SYSCTL Basic configuration of Linux

# Controls The use of TCP syncookiesNet.ipv4.tcp_syncookies = 1# Me write paramNet.ipv4.tcp_timestamps = 1Net.ipv4.tcp_tw_reuse=1Net.ipv4.tcp_tw_recycle=1Net.ipv4.tcp_fin_timeout=30#net. ipv4.tcp_window_scaling = 0Net.ipv4.tcp_keepalive_time =

Linux Fundamentals 02

1. Installing VMware2, import CentOS3, the process may be a problem (set your computer to support virtual technology, computer restart press F1 to set up and then F10 Save exit) 4, the system default username/password for root/1234565, set up

Host planning and disk partitioning for Linux

Choosing a host configuration to match Linux As long as the CPU is not old enough to let your hardware system crash can support The larger the RAM the better, the more important the memory is than the CPU, at least 512MB Hard disk

Serial programming under Linux

Open the serial portIn a Linux system, opening the serial port is done by using the standard file Open function.#include /* Open in Read/write mode */int fd = open ("/dev/ttyusb0", O_RDWR);Set up the serial portAll operations on the serial port are

Linux commands: RPM package Management

gpg

Introduction to RPM Commands:RPM: Software ManagerDatabase:/var/lib/rpm The database used for query-related operations of the software.Rpmbuild: Tools for creating RPM packagesthe software is installed, queried, uninstalled, upgraded, verified,

The first chapter, Linux common commands

20161124 Linux Common commands1. Findfind/etc/-size +50k-lsfind/etc/-size +50k-ls 2>/dev/nullView files larger than 50K in the directory and display them with the LS list,Understand the meaning of 2>/dev/null and hide all the rights2, pwd, LS, ls-a,

Linux under chkconfig command detailed

The Chkconfig command is primarily used to update (start or stop) and query run-level information for system services. Keep in mind that Chkconfig does not immediately automatically disable or activate a service, it simply changes the symbolic

[Linux programming] Module_param () function Learning notes

In the read TCP cubic source code, encountered the Module_param (), the information found on the Internet as follows: Programming in the user state can pass command-line arguments through main (), while writing a kernel module can pass command-

Install the web development environment in linux and the linuxweb Development Environment

Install the web development environment in linux and the linuxweb Development Environment The following uses the linux centos System I. JDK Installation 1ddownload jdk-8u111-linux-x64.tar.gz 2. decompress the file and copy the extracted file to

Use shell scripts to ping the name of the corresponding IP address, shellping

Use shell scripts to ping the name of the corresponding IP address, shellping #! /Bin/basha = (Zhang San, Li Si, Wang Wu, Zhao Liu) for I in {0 .. 3} doif ping-c 1 192.168.1. $ ($ {I} + 1)> dev/null 2> & 1; then echo $ ($ {I} + 1 )) "No." $ {a [$

After Centos7 is installed, the network cannot be connected. After centos7 is installed

After Centos7 is installed, the network cannot be connected. After centos7 is installed /Etc/sysconfig/network-scripts/ Use the ls command to view the NIC configuration file name (in CENTOS7, the NIC name appears to be a random number, so the NIC

Total Pages: 5467 1 .... 4954 4955 4956 4957 4958 .... 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.