The common vim configuration file address is/etc/vimrc, or you can create it in the Home folder. vimrc set number indicates the line number. set autoindent indicates the line number. The line number is automatically indented after set autoindent is
Linux LVM partition view dm device in linux iostat-d view disk status, there are some entries for the following dm-0, dm-1. device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn sda 0.19 0.57 2.92 341228 1753052 0.27 dm-0 0.56 2.88 334673 dm-1 1729848 0.00
Detailed description of linux sort commands: sorts the content of text files. sort can sort the content of text files by behavior units. Syntax: sort [-bcdfimMnr] [-o ] [-t ] [+ -] [-- help] [-- verison] [file] parameters: -B ignores the leading
Linux server network configuration details 1. use the basic commands for Linux network configuration (1) Use the ifconfia command to configure and view the network connection n. on the Linux console, enter/bin/ifconfig. the displayed price
Two methods for creating Quick Start for ubuntu: The starter bar or the desktop startup mode (take eclipse as an example): Create under/usr/share/applications. shell code of the desktop file cd/usr/share/applications sudo touch eclipse. desktop
Bash preliminary discussion and PATH explanation 1. Understand bash. The shell records the shell provided by the local machine in/etc/shells. These shells are binary executable files. In contrast,/etc/passwd can be used to find the shell started by
Summary of Linux technical knowledge 1. the system of the existing computing node has crashed and all hard disk partitions cannot be deleted. At this time, you can use any system installation disk to delete the hard disk partition and reformat it,
In Linux, the scheduled execution script in Linux is mainly executed by adding a custom plan to the crontab file, mainly by remembering the/var/spool/cron directory. Next let's take a look at the specific usage: first check the/etc/crontab file: $
What should I do if I cannot find libexpat. so.0 and ImportError libexpat. so.0 appear. In Linux, the file is moved to the lib directory instead of/usr/lib, and The name has been changed to libexpat. so.1. This is also a link. View its properties.
Run the # uname-ncsdba # hostnamecsdba1 command to modify the linux host name and view the host name. Run the hostname command. Command Format: hostname newhostname this command is used to temporarily modify the linux host name. Its survival time is
Tomcat and jdk are packaged and deployed in linux. 1. Find an installed linux version of jdk and package the installed directory. 2. decompress the packaged jdk In the tomcat root directory and change it to jdk 1.6linux. 3. Modify % tomcat
For beginners, there is only one source file for Linux compression commands. This means that before compression, You Have To package all the files to be compressed into one package, and then compress the package, to Compress multiple files.
The plug-in Drawit For vim to draw a text graph in vim, you can use the drawit plug-in [plain] + ------------------------- ++ ----------- + | + ------------- + | IDT table | | io apic | + ------------- + many open-source documents are plain text,
In linux SCP, we often upload files from server A to server B. However, when you use PUTTY to execute A command, the PUTTY terminal is closed after A part of the file is passed, at this time, the file is not complete. Here is a solution to let the
In Shell programming, you can use the Shift command to shift the value left. For example, shift 3 indicates that the original $4 is changed to $1, and the original $5 is changed to $2. The original $1, $2, and $3 are discarded, and $0 is not moved.
Daemon shell -- tipserver 1: You can directly turn off the terminal and run it in the background. 2. You can query the service status. 3. You can regularly start the program to run. (example: Start) 4: You can avoid repeated tipserver startup at
Linux cannot resolve the DNS solution. Today, you need to call the Weibo interface to add a website to the server, but it cannot be implemented in any way. At the beginning, the solution was to dig the interface IP address and add the hosts
SUSE Linux HA dual-host Setup 1. Preparations 1. server network planning l the host must have at least two NICs available (one Nic is used as the heartbeat Nic ); l connect the two hosts directly with a network cable (note that the location of the
Deep understanding of Linux kernel-skbuff 1, skb-> users and skb-> dataref differences skb-> users: when the number of references increases, this value and skb-> dataref both add skb-> dataref: When skb is cloned, only skb-> dataref is added, 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.