Reproduced from: http://my.oschina.net/renhc/blog/53580
LinuxTry to avoid using system. Once, it was tortured by the system () function because the system () function was not well understood. Simply knowing how to execute a system command with
Order to enter VI
VI FileName: Open or create a new 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 nth
VI + FileName: Open the file and place the cursor at the end
Problem Description:
The Chinese in a Java application that is deployed under Linux becomes a "mouth" word, which is garbled
Problem Analysis:
The following implementation methods are used in the code:
New Java.awt.Font ("XXFarEastFont-Arial",
1 Preface
By default, the Ubuntu system is not installed kernel source (only header files). This can be verified by looking at the /usr/src directory, as shown in the following illustration:
This is not easy to write drivers, so it is best to
The Wait_on_buffer and Wait_on_inode functions in the Linux0.11 kernel are very representative of the delay function processing, and the discussion on the two functions on the net
Also a lot of, the most important one question is why in Judge B_lock
Turn from: http://www.iteye.com/topic/240578
GNU Compiler setThe GNU Compiler set (formerly the GNU C compiler) was born in 1987. At that time, Richard Stallman (founder of the GNU Project) wanted to create a compiler that would meet his defined
Reprint of the http://hi.baidu.com/imlidapeng/item/56d3b620e903303a94f62b8e
How to view all running processes in Linux.
You can use the PS command. It displays information about processes currently running, including the PID of the process. Both
LNMP is Linux, Nginx, MySQL, PHP shorthand, LNMP and lamp environment is used to do Web site backstage, Nginx is lightweight, the process of communication between the use of PHP-FPM independent use; Apache is rather bloated, Call PHP's module to
Under Linux There are many classic operations, especially the classic is the combination of commands, whether as a parameter, or the coordination between the order, have done more perfect. Let's take a look at some of the commonly used commands.
1,
Basic concepts:Most students know the concept of thread synchronization and process synchronization,Thread synchronization: Solving the problem of conflict of shared resources in multithreaded programmingProcess synchronization: Solving the problem
In the previous article, "Linux x86 kernel terminates the D state process," I showed how to encode a 32-bit x86 system to kill the D process. In this article I'll show you a method on a 64-bit x86 system.
To be honest, it's hard to do such a thing
Centos7 Use the Firewall-cmd command to configure the firewall. Firewall-cmd has the concept of "domain" (zones). The default zone is public. The Firewall-cmd command basically takes a zone parameter and specifies which domain to operate on. We
Two types of ports
VSFTPD has two types of ports, one is 21 port, which listens for client connection requests. This is generally fixed and uses 21 ports all the time.
The other is that once the request is fetched, the port that transmits the data
When you started installing a Linux virtual machine, think about giving a 10G enough. The result is to write the code to install an eclipse, but also to download a large code file, so sad to rush. The internet has a way of sorting it out and writing
1.top Description
The top command enables real-time monitoring of the system's state of operation and can be sorted by CPU, memory, and execution time, while the top command can be set by an interactive command, with the top command to view the
Time () provides the precision of the second level.
1. header File 2. Function prototypetime_t Time (time_t * timer)function returns the number of seconds from the Tc1970-1-1 0:0:0 start to the presentUse the time () function to combine other
We have described in the previous blog How to install the virtual machine: Virtualbox. It is convenient to use after installation, especially in file sharing. Next I'll share with you how to share files between a host and a virtual machine.
There
First go to the Oracle Web download JDK, I downloaded the jdk-8u51-linux-x64.tar.gz this version, the official web also has an RPM file, this is a Red Hat company installation version, I downloaded this version, and then in Ubuntu also installed rpm
sudo says "Superuser do". It allows authenticated users to run commands as other users. Other users can be ordinary users or superuser. However, most of the time we use it to run commands with elevated privileges. --Pradeep Kumar
Useful text Links
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