Fast creation of large files under Linux fallocate

Previously created files I usually use DD to create, for example, create a 512M file:The DD command can be easily implemented to create a file of the specified size, such asDD If=/dev/zero of=test bs=1m count=1000Generates a 1000M test file with a

Use the specified user to execute commands under Linux

When we have time, we need to execute some specific programs or scripts at boot time, because it involves the problem of security main plane, so we don't want to do it with root.After viewing Su's help tips,

"Linux" Learning 6

Brother Bird, Chapter 13.Shell script is slow, suitable for system administration, but not suitable for handling large numbers of numerical operationsvar=$ (OP content) can be used to do the subtraction of variablestotal=$ (($firstnum *

Linux Modify file permissions

1, from the type of file can be divided into three kinds,With the ls-l query, the "one" begins with the file, the letter "D" begins with the directory (commonly known as a folder), the letter "L" is the beginning of the connection.2. The remaining 9

A Linux system-based, TC flow control

#! /bin/bashTC Qdisc del Dev $lan root &>/dev/nullTC Qdisc Add dev $lan root handle 1:HTB default 10TC class Add dev $lan parent 1:classid 1:1 HTB rate 100MbitTC class Add Dev $lan parent 1:1 classid 1:10 HTB rate 10Mbit ceil 15Mbit burst 20kbitTC

Linux JDK Installation

1 Downloading programsOracle website downloads the corresponding version of the JDK, such as Jdk-6u45-linux-x64.bin or jdk-6u45-linux-x64-rpm.bin;1.7 directly with the tar.gz package;2 installationNote whether the file has Execute Permissions ls-l

Installation of OpenOffice and swftools environments under Linux

First, install the required libraries and componentsYum install gcc* automake zlib-devel libjpeg-devel giflib-devel freetype-develSecond, installation OpenOffice1, installation package Download:Download latest RPM installation package: xxx_zh_CN.tar.

Install RZ, SZ package on Linux

In the SSH login software such as SECURECRT, upload/Download the file by entering the Rz/sz command in the Linux interface. For RHEL5, Rz/sz is not installed by default so it needs to be installed manually.SZ: Sends the selected file (send) to the

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 install JDK, build tomact environment

The Linux system is the JDK, Tomact:http://download.csdn.net/detail/u012750578/8177367First step to installing the JDKSu-root Switch to root userSudo-i does not require a password to switch directly to root1. Enter the USR directoryCd/usr2. Create

Linux Automake Cross-compiling

. ├──aclocal.m4├──autoscan.log├──config.log├──config.status├──configure├──configure.in├──makefile├── MAKEFILE.AM├──MAKEFILE.IN└──SRC ├──face │├──face.cpp │├──face.h │├──face.o │├──LIBF Ace.a │├──makefile │├──makefile.am

Linux Signal Table

Signal Take value Default action Meaning (the cause of the signal) SIGHUP 1 Term Terminal hangs or process death SIGINT 2 Term Interrupt signal from the keyboard

[Linux] nginx tomcat performs load balancing, nginxtomcat

[Linux] nginx tomcat performs load balancing, nginxtomcat I used nginx as a web reverse proxy and did not perform load balancing. Today I have a student who needs to perform Load Balancing for tomcat. I have also studied it. There are two

Linux yum command details, Linuxyum command details

Linux yum command details, Linuxyum command details1. Brief Introduction Yum = Yellow dog Updater. The main function of Modified is to conveniently Add/delete/update RPM packages. it automatically solves the dependency problem of the package.

Common Linux commands (9)-cat

Common Linux commands (9)-cat The cat command is used to connect files or standard input and print. This command is often used to display the file content, connect several files, or read and display the content from the standard input. It is often

LinuxShell parameter extension (ParameterExpansion)

LinuxShell parameter extension (ParameterExpansion)   The parameter extension format is $ {expression }. Expression contains various characters until matching'}'. When the following situations occur:'}' Will not be checked for matching: 1) after the

Deploy the VNC Server in CentOS6.6

Deploy the VNC Server in CentOS6.6 VNC (Virtual Network Computer) is short for Virtual Network Computer. VNC is a free open-source software based on UNIX and Linux operating systems. It has powerful remote control capabilities and is highly

Redhat configure yum source using centos

Redhat configure yum source using centos Red Hat products include RedHat Linux (such as Redhat8, 9) and Red Hat Enterprise Linux for enterprises. CentOS is short for Community ENTerprise Operating System. Many of us call it a Community ENTerprise

Common Linux commands (10)-nl

Common Linux commands (10)-nl The nl command is used in linux to calculate the row number in the file. Nl can automatically add the row number to the output file content! The default result is a little different from cat-n. nl can compare multiple

Install Centos6.4 in unattended PXE

Install Centos6.4 in unattended PXE To use pex, kickstart, (ftp, HTTP, nfs), tftp, DHCP, and Centos6.4 are required. 1) ks. cfg file creation1 [root@wwwshare] #yuminstall-ysystem-config-kickstart Kickstart creates ks. cfg Based

Total Pages: 5467 1 .... 3247 3248 3249 3250 3251 .... 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.