Script Programming Knowledge points1. Get the length of the character in the variable${#VARNAME}650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/45/2D/wKiom1PkLOTis54CAAA75Oqn3L4169.jpg "title=" A.png " alt= "Wkiom1pklotis54caaa75oqn3l4169.
Previously wrote a shell automatic decompression program, http://gzinfo.blog.51cto.com/2492370/1416508, in the actual operation found that not all the compressed file appended to the end of the file is just a line, So the previous script is only
Linux's LVM is flexible and powerful, but the more powerful it is, the harder it is to understand. The approximate relationship between LVM and hard disk should be as follows, if you are wrong, please testify. The snapshots in LVM are powerful
When you get a binary file under Unix and don't know what it is, you can get a hint in the following ways1, the first should try to strings command, such as get a binary file called CR1, you can:$ Strings CR1 | MoreThere may be some description of
Prerequisites: Hadoop is written in Java, so install Java first. Installing the JDK on Ubuntu see: http://blog.csdn.net/microfhu/article/details/7667393The Hadoop version I downloaded is 2.4.1, which requires at least JDK 6 to be installed. Linux is
1. InstallationThe web-based article on the installation of Jenkins requires the installation of the JDK and Tomcat, and then the war package in the run. But the official introduction did not say to use Tomcat.It turns out that Tomcat is not
The new cloud server with SECURECRT does not support the upload and download, did not find the RZ command. Record how to install the Rz/sz command.I. Description of the toolIn the SSH login software such as SECURECRT, upload/Download the file by
Linux command Kill and SignalThe KILL command terminates the specified process (terminate a process) and is a common command for process management under Unix/linux. In general, we use tools such as ps/pidof/pstree/top to get the process PID when we
As a multi-user, multi-tasking operating system, the files under Linux are hard to recover once they are deleted. Although the delete command only deletes the file nodes, it does not really erase the contents of the file, but other users and some
Linux terminal prompts Information Format modification/etc/bashrc, etcbashrc
Gedit/etc/bashrc
The default special symbols in the shell environment mean:\ D: represents the date, in the format of weekday month date, for example: "Sun Sep 18"\ H:
Installation of Linuxsvn
Orzdba is developed by taobao and is a good tool. To download the orzdba tool, you must use svn to download it. First, install the svn tool. However, installing svn is also troublesome and requires support from various
Linux Command (1): mkdir, linux Command mkdir
Function Description:
Mkdir is used to create a new directory or folder with the specified name. An existing directory or folder with the same name cannot be created.
Command Format:
Mkdir [Option]
Find the path and startup command of the Process in CentOS
Ps-def or pid can be used to view the relative path of the process id and startup command. To view the details, find the Directory
/Proc/$ {pid}
For example:
[Plain] view plaincopyprint?
Chattr (set file hiding attribute) command in CentOS[Root @ linux ~] # Chattr [+-=] [ASacdistu] file or directory nameParameters:+: Add a special parameter. Other existing parameters do not change.-: Remove a special parameter. Other existing
Compile your first Linux kernel module (1)
Kernel programming often looks like black magic, but in the eyes of Arthur C Clarke, it's just a success. The Linux kernel is very different from its user space: You must be careful when you leave it alone,
Linux special symbols (1)
Linux special symbols
Common special symbols in shell are listed as follows:
#;.,/\ 'String' |! $ {}$? $ * "String "***? : ^ $ # $ @ 'COMMAND '{} [] [[] () | & {xx, yy, zz ,...}~ ~ + ~ -& \ +-% =! =
# Comments)
This is
Set the network card to DHCP in CentOS to dynamically obtain the IP address.
1) edit the NIC configuration file: vi/etc/sysconfig/network-scripts/ifcfg-eth0, where eth0 is the NIC device alias, representing the first Nic, if you want to edit the
Latest graphical Linux server performance monitoring tool
Monitoring the performance of LINUX Hosts is a complex operation, which depends on command line tools and centralized data. Analysis may be very difficult, and a large amount of data is
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