instruction for use: Test the string append function using the Libphenom library,efficiency is more than 60 times the strcat. So when you're doing a lot of string accumulation, consider using the Libphenom library. Dependent libraries:ck-0.4. 5 .
Command function: move or rename the name of a file or folderCommand syntax: MV [-parameters] [source file or directory or destination file or directory]Parameters:
-B or –backup overwrite the file, overwriting the previous backup.
-F
A block device is a data table device that can have a fixed size of random access devices. such as a hard disk; character devices (such as serial ports and keyboards) that are entered in order by the flow of characters. The difference is whether
Linux executes a process directly. After the current instruction has ended. Or shut down the shell formation process will end.How to perform processing in the backgroundMethod 1With the Nohup command, the nohup command itself means no hung up and he
To view the system kernel version, you can see how many bits the system is: uname-aMake VIM permanent display line number: Vim ~/.vimrc--> add set Nu-->:wqView system hardware Clock: Hwclock--show | | Clock--showSet hardware time: Hwclock--set--date=
First, the root directory detailedSecond, the file command usesLS/Enter the root directory/boot system startup related filessuch as kernel, INITRD, and Grub (bootloader) boot loader/dev Device filesLight blue link File, * * * for special filesThe
Describe:[Email protected]/]# mkdir-p/u01/oracle[Email protected]/]# useradd-g oinstall-g dba-d/u01/oracle/oracleUseradd:warning:the home directory already exists.Not copying any file from the Skel directory into it.And there are no files in the/u01/
Used to generate all integers from one number to anotherExample one:# seq 1 10The result is 1 2 3 4 5 6 7 8 9 10Example two:#!/bin/bashFor i in ' seq 1 10 ';Doecho $i;Doneor withFor I in $ (SEQ 1 10)can alsoseq-F,--format=format use printf style
Installation of memcached1) First download libevent-1.4.14b-stable.tar.gz and memcached-1.4.7.tar.gz source package, the former is the latter's dependency package, is an event-driven package.2) The installation is very smooth, or the classic few
1.Install a third-party packageHttp://www.zeroc.com/download/Ice/3.3/ThirdParty-Sources-3.3.0.tar.gzExtractThirdparty-sources-3.3.0.tar.gz# CD thirdparty-sources-3.3.01) mcppis a C + + preprocessor------ExtractMcpp-2.7.2.tar.gz# CD
Top
1 o'clock, see if each CPU is balanced, see if the usage distribution of each CPU is reasonable
See load average (average of 1 minutes, 5 minutes, 15 minutes ago to present)
Look at the use of memory
See number of processes
The grep command in a Linux system is a powerful text search tool that uses regular expressions to search for text and print matching lines. The grep full name is the global Regular Expr ession Print, which represents the universal regular
1. IDE HDD/dev/hd[a-d] IDE1 master/dev/hda from/dev/hdb IDE2 main/DEV/HDC from/DEV/HD D2, STAT, USB device/dev/sd[a-p]3, each sector 512byte, the first sector of the disk 446byte records mbr,64byte record partition table;4, only 64byte record
The PS (Process Status) command in Linux is used to list those processes that are currently running on the system.There are 5 states of processes on Linux:1. Running (running or waiting in the running queue)2. Interrupt (dormant, blocked, waiting
We all know, under Windows, can be directly inside Baidu to find out the IP address of the network, but the Linux command line how to operate.The following tests were done at the command line, with the following results:[Email
1. fdisk creating a disk partition does not restart the system PartprobeUsing the Fdisk tool only writes partition information to disk, and if a MKFS disk partition is required to be able to read to/dev/sda*, the use of partprobe allows kernel to
Small Q: If there is no love in this world, what meaning does he have in our hearts! It's like a light without lightThe Merry. ----GoetheHere I did not go into the thin to dissect, and in this record, I feel this kind of thing, for my present
Newly bought a Lenovo notebook, pre-installed WIN8, boot mode is no longer a few years ago Mbr-bois boot, is uefi boot, so, the previous grub4dos boot dual system mode is useless.Now take my Linux process record, for forgetting.
1. Download MINT-17
Zorin OS: the most suitable personal desktop system for Linux beginners
Zorin OS is a Ubuntu-based Linux release, especially designed for new Linux users. It has a graphical user interface similar to Windows and many applications similar to Windows.
Linux shell script to adjust the task plan
There are 2 scripts to run the task plan every day
Dts_rsync.sh downloads online backup SQL files
Dts_input.sh is responsible for importing the downloaded backup file to the local Mysql
One problem is that
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