Linux Source command:Usual usage: source filepath or. FilePathFunction: Enables the current shell to read into a shell file with a path of FilePath and executes all the statements in the file in turn, typically to re-execute the newly modified
To create a cron service for the current user1. Type CRONTAB-E edit crontab service fileFor example, the contents of the file are:*/2 * * * */bin/sh/home/admin/jiaoben/buy/deletefile.shSave the file and exit*/2 * * *
The file name of each hardware device in Linux"In a Linux system, each device is treated as a file" for example, the name of the hard disk of the SATA interface is/dev/sd[a-d], where the letters in parentheses are any of the a-d,
Introduction to the use of Ldconfig in LinuxLdconfig is a dynamic link Library management command designed to allow dynamic link libraries to be shared by the system.Main uses of Ldconfig:The default searches for/lilb and/usr/lib, as well as the
Linux kernel parameter tuning (for large concurrent Web servers)cat > /etc/sysctl.conf This article is from the "XWB" blog, make sure to keep this source http://xiewb.blog.51cto.com/11091636/1792542Linux System kernel Optimization (i)
Set to promiscuous modeIfconfig eth2 PromiscCancel SettingsIfconfig Eth2-promisc------------------------------------------The following is a reference: http://blog.chinaunix.net/uid-23849526-id-146675.htmlIn the swap environment, the network card is
Preface :The company has more than 150 servers, on each server deployed script, and then this script has been running, there are some problems, now to remote batch to kill these processes, tossing for half a day, the following script can be
The standard computer system is 1024, but the hard disk storage factory is 1000, and the memory is 1024. The units stored are in bytes.1. View Linux hard disk partitionsTo view the partition of the hard disk under Linux:[Email protected] notepad]#
1 for complex Linux drivers and libraries such as HAL, it is necessary to debug them using a variety of methods. Examples include setting breakpoints, stepping through code, outputting debugging information, and so on. 2 Print kernel debug
Linux Installation Introductioninstalling Linux is not complicated, there are a few steps:1, the use of CD-ROM installation system, the general need to enter the Bois system, select the CD-ROM drive, and the required system disk into the optical
1. functionLess is the same as the more command to view the contents of a file.2. UsageLess [parameter] file3. Command parameters:-B Set buffer size-e When the file display is finished, automatically leave-F forcing special files to be opened, such
Tree-aProc virtual file system, the system started there, a close there is no.Ctrl + Shift Change font sizeTree-a%s/globalmem/leddev/g Full-text replacement (the last-G means that a few of the rows appear replaced)Cat/etc/issue See the Ubuntu
CentOS in the installation of lamp or LNMP environment, often there are some problems, suggesting that some dependent files are missing, the solution is as follows:#!/bin/bash#install_packagesyum install-y epel-release wget vim-enhancedyum install-y
Translation: Hank (http://blog.csdn.net/fireroll)All rights reserved, respect other people's labor results, please indicate the author and original source and this statement when reproduced.The original name: "Linux Performance and Tuning guidelines"
In Linux, all files haveThree kinds of permissions: User, Group,otherThree files:/ETC/PASSWD: Includes all system accounts, general user identity and root information/etc/shadow: Save Personal password/etc/group: Save All Group namesThree parameters:
When doing network service, it is necessary to write concurrent service-side programs. The stability of the front-end client application is partly dependent on the client itself, and more depends on whether the server is fast enough and stable
Dynamic Link process, dynamic link
I recently learned the elf File Format and focused on the section used in the dynamic link process.
When a program is loaded, the interpreter program is added to the. interp segment. It can load dynamic libraries
Assembly, assemble
Processor operations mostly involve processing data. this data can be stored in memory and accessed from thereon. however, reading data from and storing data into memory slows down the processor, as it involves complicated
Build a Python HTTP service
We often need to build HTTP Services, but do not want to engage in complicated Apache, IIS servers, etc. In this case, we can use python to help us build servers. For example, I have previously mentioned how to use python
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