In Linux, the upper and lower keys cannot be used, and the backspace keys cannot be used.
Today, I found this rlwrap good thing, which is recorded in this article.Because of the time, you can download the installation package from here.After
1. Use […] It can be used to match any character in square brackets []. For example, ls [Mr] * can be used to list files or folders starting with M or R. Rm T [1-6] * indicates that the file is deleted. 1-6 indicates any number ranging from 1 to 6.
10. Find pathname-options [-print-Exec-OK]1) to search for all '*. txt' files in the current directory and subdirectory, you can use: find.-Name "*. txt"-print 2), to the current directory and subdirectory to find the file name starting with an
1. Use LS-L to view the file type.D directory.L Symbolic Link (pointing to another file ).S socket file.Block B device files.C character device file.P name the MPs queue file.-Common files, or more accurately, do not belong to the above types of
The difference between environment variables and local variables is whether they are inherited. The following is an example of environment variables:
Exportfather parent process:
#! /Bin/sh # Father scriptecho "this is the father" file = "A Good
Configure grub2: Grub2 configuration does not directly edit/boot/GRUB/grub. cfg, (1) files in the/etc/grub. d directory (2)/etc/default/GRUB After these files are modified, run Update-grub to automatically generate/boot/GRUB/grub. cfg.
When using VMware to install RedHat 5, the Chinese package is not installed. Therefore, all Chinese characters are Mahjong blocks. How can we solve the problem that Chinese characters and Chinese characters cannot be displayed in English, next,
1. Install1> install libaio1 and libstd ++ 5 with xinlide.2> decompress the package and run the db2setup installation script.
To solve the garbled problem, you have to change the system language to English and then install it.
Select the third
1. share files on Windows
First, share a folder on Windows, such as E: \ impo.
Create a directory/mnt/win145 on centos6.1 and mount the shared file to this directory.
# Mount-O username = administrator //
I. Server scene: Alibaba Cloud server, Linux version-centos
Client scene: Mac OSX Terminal
When using the SSH number command to log on to the terminal server, you must enter the password. You can copy or paste the password, but do not manipulate the
# Delete existing rules in iptablesIptables-FIptables-x
# Discard all data packets that do not comply with the three chain rulesIptables-P input dropIptables-P output dropIptables-P forward drop
Iptables-A input-I lo-J acceptIptables-A output-O
Author: Li Zhimin, Shanghai Center lecturer of Huaqing vision embedded College.
From the Linux kernel, a new driver management and registration mechanism is introduced: platform_device and platform_driver. Most device drivers in Linux can use this
Recently, I tested programs on the new platform. Some issues that have not been noticed before have become performance bottlenecks. Some problems can be solved by setting some TCP/IP options, of course, the fundamental solution is to refactor the
1. Command Execution sequence control:For example, cat leeboy.txt & Echo "open the file success", "&" run the following command after a successful command. Otherwise, the following command is not run.Cat leeboy.txt | echo "open the file failed", "|"
I. The awk script applet calculates the file size and size in a folder.
#! /Bin/awk-F # Name: file_tot.awk # function: Calculate the file size in the current folder and # usage: ls-L |. /file_tot.awk # print a header firstbegin {print "this is the
The socket buffer size provided by the system is 8 K. You can set it to 64 K, especially when transmitting real-time videos.
When the socket sends data, it first sends the data to the socket buffer, and then receives the function to retrieve the
Sed reads data from a text line of a file or from several standard input formats, copies the data to an editing buffer, and then reads the First Command of the command line or script, and use these commands to find the mode or locate the row number
TR is used to convert characters from standard input through replacement or deletion. Instance details:
1. tr-s "[0-9], [A-Z]"
2. Cat trtext | tr-s "[\ 012]": deletes empty rows. \ 012 indicates the number of octal bytes.
Cat trtext | tr-s '\ N':
11. During each Linux Startup, The. bashrc file under the user's home directory will be executed. You can add some content to this file so that the corresponding content will be executed during each Linux Startup.If you remotely log on to Linux
After learning about Django, I want to build a framework. After a few days, I can finally access hello and world in Django. I am so excited that I will share with you my building process, and I may not take any detours in the future.
1. Installation
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