How to Make DNS changes take effect quickly
OSX, chrome, and DNS
During development, some IP addresses are often bound to the domain name and need to be switched frequently. in Linux, how can I quickly modify the DNS information?
1. Use the dig
I used Linux as a server and found some information on the Internet. In general, it was quite messy. Each of them had high praise and negative feedback. I ranked the most used rankings as follows (for reference only, the data is not necessarily
Before analyzing and describing the LINUX partition recommendations, you must master the file structure of Linux, and then give a full description of the LINUX partition recommendations, linux is a complete software package consisting of development
1. Connect to the FTP server
Format: ftp [hostname | IP-address]A) in the Linux Command Line, enter: FTP 192.168.1.1
B) The server will ask you the user name and password, and enter the user name and the corresponding password respectively.
Original article link
Pmap
LDD
Stace
IPCS
Several familiar Debugging commands!
Observe that the address space distribution of the specified process in the system shows the size of each segment of the target file in a target file or
Reference
4.1 accton: enable or disable process Statistics
4.2 lastcomm: displays commands used previously
4.3 SA: Reports, cleans up, and maintains process Statistics
Locate command
51cto
Original article link
Part 1: Use locate Manual$ Man locateLocate (1) locate (1)NameLocate-find files by nameSynopsisLocate [Option]... pattern...Part 2: locate Search Mechanism
Specifically, whereis is
Original article link
Here we will use some instances to learn the Netcat command. 1. Use Netcat in the server-client architecture
The Netcat tool runs in server mode and listens to specified ports.
$ Nc-l 2389
Then you can connect to port 238
View
Linux
Server System Information
Several new servers are claimed Linux
Server ,
The first step is to understand the hardware and software configurations of these servers. .
Now, write some commands I used this time. .
First of
CAT/etc/passwd view Linux Users
Root permission is required for CAT/etc/shadow to view user passwords
CAT/etc/sysconfig/network-scripts/ifcfg-ethn n indicates the network card number to view the IP address of the network card.
Ifconfig
CAT/
Strace and gdb are two common debugging tools in Linux. Here is a summary of the common parameters of these two tools during use, which will be used for future reference.
Strace debugging toolThe strace tool is used to track system calls during
In Linux, we usually use gcc to compile C code into executable files. The following is a simple example:
Code File: hello. c
# Include# Include
Void main (void){Printf ("hello world! \ R \ n ");}
You can use the following command to compile an
Technorati label: windows, linux, command
Like command line tools on Linux, such as grep and tail. If you want to use them on Windows, you can use cygwin and mingw to fulfill your wishes. But sometimes I think they are a little heavy, it is better
1. View host Nic traffic
Copy codeThe Code is as follows :#! /Bin/bash
# Network
# Mike. Xu
While:; do
Time = 'date + % m "-" % d "" % k ":" % m'
Day = 'date + % m "-" % d'
Rx_before = 'ifconfig eth0 | sed-n "8" p | awk '{print $2}' | cut-c7
1. install and configure the NFS server
1> to enable the NFS server to provide services, you must start inet, portmap, nfs, and mount.These four daemon processes are maintained in the background.2> plan the partitions or directories to be shared.3>
Access the vi command
Vi filename: open or create a file and place the cursor at the beginning of the first line
Vi + n filename: open the file and place the cursor at the beginning of line n
Vi + filename: open the file and place the cursor at the
Disable ping command in LINUX
Enter the Linux system as root, and then edit the file icmp_echo_ignore_all.Vi/proc/sys/net/ipv4/icmp_echo_ignore_allChange the value to 1 to disable PING.Change the value to 0 to disable PING.
An error is prompted when
. Proftpd creates a hostuser/hostuser account. All users are mapped to this account.
The owner of the htdocs/hosts directory is also hostuser.
In this way, the property of the File Uploaded using FTP is hostuser (644 755 ).
Lock the FTP user in 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