Shell script Learning Guide-text processing tools 1. sort usage www.2cto.com sort-t:-k1, 1/etc/passwd --- sort by user name sort-t:-k3nr/etc/passwd --- sort by Reverse UID-k3nr, 3 ---- start from Field 3, reverse sort by value type, and end with
Ubuntu character encoding settings Ubuntu system by default only supports Chinese UTF-8 encoding, But we write some documents, as well as java code compilation using gbk encoding. So you need to modify it. Step 1: www.2cto.com: gedit/var/lib/locales/
To enable nginx to support PATH_INFO, you must first know what pathinfo is and why do you need pathinfo? Pathinfo is not a function of nginx, and pathinfo is a function of php. There are two pathinfo in php, one is the environment variable $ _
Install scons in linux is an automated building tool written in Python. It can run only after python and scons are installed. Its integration function is similar to autoconf/automake and is a simple and reliable tool. Many systems now have python,
FreeBSD: http://mirrors.163.com/FreeBSD/ISO-IMAGES-amd64/8.3/FreeBSD-8.3-RELEASE-amd64-dvd1.iso with thunder download can,Virtual Machine hard disk is set to 20 GB, memory 512 MB, the partition is as follows:/2048 MSwap 1024 M/Usr 17401 MThe
A file descriptor is a simple integer used to indicate the files and sockets opened by each process. The first open file is 0, the second is 1, and so on. A Unix operating system usually imposes a limit on the number of files that can be opened by
The nproc limit of ulimit in RHEL6 is used to limit the resources occupied by shell startup processes. The following restrictions are supported: the size of the created Kernel File, the size of the process data block, the size of the file created by
Linux Process Priority 1. How to query the PID and pri value of the crond program [root @ localhost ~] # Ps-lfC crondF s uid pid ppid c pri ni addr sz wchan stime tty time CMD1 S root 3847 1 0 78 0-1621? 00:00:00 crond [root @ localhost ~] # Run www.
Some common shutdown/restart commands in linux include shutdown, halt, reboot, and init.The system can be restarted, but the internal working process of each command is different.We hope you can use various shutdown commands more flexibly.1.
CentOS 5.6 is installed under the virtual machine. Use the NAT mode to share the Internet with the host pc!Of course, you can build lamp by compiling the source code. This section describes how to quickly build a php development framework. In fact,
Customer Feedback today: the cgi program compiled by perl cannot run and an error is reported. view the log:[Mon Aug 22 16:12:57 2011] [error] [client 59.57.251.34] Premature end of script headers: aaa. cgi[Mon Aug 22 16:12:58 2011] [error] [client 5
When deploying applications in Linux, sometimes the Socket/File: Can't open so many files problem occurs, for example, Squid acts as a proxy, when the number of files opened to 900 is large, the speed will be very fast, and the web page may not be
All of the following commands are valid in Linux/unix shell. bash is the main command here. In case of any discrepancy, your own server shall prevail. Linux mentioned in this article mainly refers to RHEL/CentOS, and unix refers to FreeBSD, which is
Svn (subversion) is a version management tool that has emerged in recent years and is the successor of cvs. Currently, most open-source software uses svn as the code version management software.Svn servers can run in two ways: independent servers
A well-known architecture in linux is lamp: linux + apache + mysql + php.
Apache has always been the most popular Web server on the Internet.Background process: httpdScript:/etc/rc. d/init. d/httpdPort: 80 (http), 443 (https)Required RPM package:
Query the number of digits in a Linux SystemWe often encounter situations where we need to query the number of digits in the linux system. The following are two methods that I usually judge for reference only.1. check whether there is a/lib64
NFS (Network File System) Server ConfigurationPurpose: share folders. It is developed by sun.1: Check whether the NFS server is installed. The Red Hat Enterprise Linux5 system is installed by default. How can I check it and execute the following
Linux chmod permission management requires careful permission management and simplicity of local archives, such as chmod 775/tmp/test. sh also uses chmod + w/tmp/test. sh adds editable permissions to the owner, group, and other persons of the
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