If you often use Linux Command lines, using the history (history) command can effectively improve your efficiency. This article describes the 15 Use Cases of the history command.
Display timestamp with HISTTIMEFORMAT
After you execute the
Locate files and directories
Format: locate file and directory
We can see that we searched for test5 and output the result to us. We created a new file named newfile1. However, we did not find it when using locate. We may find that we use locate to
The DNS service is a complex service on the Linux platform. A simple DNS Service is now configured. For details, see the following.
1. Install DNS Components
1. rpm-ivh bind *
2, rpm-ivh caching-nameserver-9.3.3-10.el5
2. Copy the
In ubuntu, E420 cannot access the Internet wirelessly. What is the problem? The wireless Nic seems to be driving, but the listed wireless signals cannot be seen in the network management tool.
I have re-installed the wireless NIC Driver
When mounting other linux (utf8 File System encoding, samba's unix charset is also set to UTF-8), it is the same as mounting the shared ntfs partition above:
Mount // neighbor/nvidir/media/mountpoint-t samfs-o codepage = cp936, iocharset =
Duplicate rows are often deleted during text processing. The following are three methods:
First, use sort + uniq. Note that uniq alone cannot be used.
Sort-n test.txt | uniq
Second, use the sort + awk command. Note that awk alone does
System Optimization and Security Settings
Last time I talked about the basic software installation and configuration of FreeBSD, next I will talk about the detailed configuration and security settings of the system.
I. System Optimization
Apparently, we saved the data prepared for the INQUIRY command to a struct we defined, that is, structdata_ptr [36], but we were responding to a SCSI command, the answer is the SCSI core layer. They passed a scsi_cmnd struct, namely, the Server
Our development environment uses 64-bit suse 10.
Today, I used the iostat tool and found that the sysstat package was not installed. So he found the sysstat-6.0.2-16.4.x86_64.rpm package from the disc,
Then run the rpm-ivh sysstat-6.0.2-16.4.x86
Files edited in WINDOWS are often transferred to LINUX with a ^ M symbol at the end of each line, which leads to shell script running errors.
This is because the DOS editor and the Linux editor are inconsistent with the carriage return at the
Download netfilter-layer7-v2.22.tar.gzand linux-2.6.28.8tar.bz2 to the Internet
1. decompress and release the netfilter-layer7 and Linux kernel source code, and use patches to merge patch files
Root # tar zxvf
Combine the previous http://www.bkjia.com/ OS /201511/112841.html, and continue the resources of the separation site to go to different sites
If a java site uses a tomcat server, the css, images, and js of the site must be separated. If you use
I. Operating System Optimization
For operating system optimization, it is to increase the available memory capacity as much as possible, increase the CPU frequency, and ensure the read/write rate of the file system. Stress tests show that the CPU
Multi-process scheduling is essential for the operating system.
Some people say that process scheduling is the most important part of the operating system. I think this is an absolute saying, just as many people say, "a function is XX times more
Today I installed a real linux host (red hat. The ftp and ssh services have been installed, but it seems that you still need a Windows software that can share folders with linux samba. Fortunately, when installing linux, we started using smaba, if
Local debuggingStart with ParametersGdb -- args./program arg1 arg2 arg3 Breakpoint at main ()Break main Set parameters for running after startupRun arg1 arg2 arg3 Cancel the parameter and start runningSet argsRun Set parametersSet args arg1 arg2 arg3
Cacti Construction Cacti is a set of network traffic detection Graphics analysis tools developed based on PHP, Mysql, SNMP and RRDTool. cacti acquires data through snmpget and uses RRDtool to draw images, in addition, you do not need to understand
For the call of the mount System Involved in the installation of the preceding root directory file system, we consider that a file system will be installed on an installed file system, that is, call the mount System Call implementation. The mount
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