Special Character Processing for Shell in Linux: in non-regular expressions, matching is not greedy: * match any string in the file name, including null string? Match any single character in the file name [a-z] to match any single character in [! A]
Set the kernel parameters of shared memory in Linux. in Linux, shared memory involves three kernel parameters: SHMMAX, SHMMNI, and SHMALL. Besides the default value, we can also make temporary or permanent changes to the environment and application
Linux Command Line dictionary I used ubuntu12.04, used for downloading offline can be used normally. 1, install sdcvC Code # sudo apt-get install sdcv 2, install dictionary http://dl.iteye.com/topics/download/2863e5a5-f730-362e-b413-3169f4a8e24c to
In Linux, USB-based writing uImage kernel 1. start the Development Board and enter u-boot: (if the Development Board does not have a system, you can use the SD card to start the development board.) U-Boot 2011.06 (Mar 19 2012-08:45:34) for MINI6410
Linux/Windows System UTF-8 Encoding Problems from Windows to Linux copy files, sometimes appear Chinese file name garbled phenomenon, this problem occurs because, windows file name Chinese encoding is GBK by default, in Linux, the default file name
After creating a user and adding it to the Management Group, start it in recovery mode and enter command line mode. The prompt should be #1. Enter the user management command to create a user (take test as an example ): useradd test: passwd test 2.
How to increase file descriptors max limit on Linuxposted on February 27,200 8 in hacks, howto, linux with 7 comments Today my DBA reported that the server she was working on was spitting out "too open files" errors and no new processes cocould be
In ubuntu, the/etc/environment file is modified to cause the login failure. To solve this problem, set PATH = "/usr/local // sbin:/usr/local/bin in the/etc/environment file: /usr/bin:/sbin:/bin:/usr/games "is deleted. Result: I was unable to log on
In linux, when Google SMTP is used to send mail to maintain the server, a server error warning system is often required, and mail is a good way. In linux, mail is generally used to write emails, and the sendmail service is used by default for
Shell knowledge record Shell automatic variables: [plain] $ # number of parameters passed to the script $ * display all parameters passed to the script in a single string. Different from the location variable, this option parameter can contain more
The shell script updates or adds the host script. You can change/etc/hosts or add the host according to the input parameters, for example, execute sudo. /changeHost. sh blog.duplicatedcode.com 192.168.1.222 domain name is fixed, and the Internet ip
In ubuntu 12.04, how does one bring up the ibus Input Method? Click the icon in the upper-right corner of the home screen, select "System Settings" and select "Language Support" at the bottom of the "Language" attribute box. Select "ibus" in the
Deploy two Tomcat 7.0.40 in Linux6 and register it as a service [root @ Tomcat conf] # cd/opt/[root @ Tomcat opt] # lltotal 16drwxr-xr-x. 8 500 500 4096 Apr 4 jdk1.7.0 _ 21drwxr-xr-x. 2 root 4096 May 10 2012 rhdrwxr-xr-x. 9 root 4096 May 31
Statistics on the number of connections in linux connection status: netstat has poor performance when the number of connections exceeds 4 W. First look at the ss Command: ss-t-a # Count all TCP connections ss-u-a # Count all UDP connectionsSs also
The linux Process memory usage sorting command checks the linux server today. To view the usage of each process, use [qhkf @ 116 share ~]. $ Top pid user pr ni virt res shr s % CPU % mem time + COMMAND29613 build 15 0 158 m 7136 3720 S 2.0 0.1 0: 00.
Bash implements the 10-in-and 16-in conversion between each other in the linux bash to directly implement the 10-in-, 16-in-, and 2-in conversion: 1. echo 'obase = 10; 10' | bc10echo 'obase = 2; 10' | bc1010 2. echo "10" | awk '{printf "% x \ n", $0}
The establishment of an NFS Network File System is dependent on the RPC service. RPC acts as a proxy for other services to establish network connections and implement network transmission, working on TCP/UDP port 111, RPC is provided by portmap.
The vim tab technique is used to modify the actual code. Various alignment problems may occur when the generated diff files are browsed on different tools. It looks ugly. Therefore. in vimrc, the "set expandtab" option is specified to replace the
Putty remote login to linux all kinds of problems putty remote login to linux convenience, presumably everyone has felt, about this tutorial Baidu a basket, here will not go into detail, it is mainly to summarize the problems encountered during the
Vim vimdiff Shell: Ctrl + R (reverse lookup history command) vim: vim added the multi-tag switching function from vim7, which is equivalent to multiple windows. although the previous version also has multiple file editing functions, it is not as
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