In Linux, the command for modifying system services is chkconfig (check config). The command is described as follows:
Chkconfig Function Description: Check and set various services of the system. Syntax: chkconfig [--Add] [--Del] [--LIST] [System
Count the number of file lines (single file ):
WC-l file
For example:
Homer @ Ubuntu :~ /Workspace/Android/Game $WC-l lgameandroid2dactivity. Java906Lgameandroid2dactivity. Java
Count the number of rows of all files in the directory (all
Xargs is a filter for passing parameters to commands and a tool for combining multiple commands. It divides a data stream into small enough blocks to facilitate processing by filters and commands. In general, xargs reads data from an MPS queue or
Let's first understand what glibc is: Glibc is the libc library released by GNU, that is, the C Runtime Library. Glibc is the most underlying API in Linux, and almost any other Runtime Library depends on glibc. Glibc not only encapsulates the system
If you have an optical drive and you have the permission to access the bios, please do not continue reading this article.
Article Now, you can find a Windows xp cd. What should you do.
The question I want to talk about here is for the company's
Copy files from local machine to remote machine:
SCP jdk-6u37-linux-x64-rpm.bin:/root
Copy and paste a line in VI:
1) move the cursor to the row to be copied2) Press YY3) move the cursor to the position to be copied4) Press P
MySQL backup
Open TerminalCD/Java/tomcat# ExecutionBin/startup. Sh # start TomcatBin/shutdown. Sh # Stop TomcatTail-F logs/Catalina. Out # view Tomcat console output;
# Check whether Tomcat is runningPS-Ef | grep Tomcat# If yes, use kill;Kill-9 pid # PID is the
Collect common Apache status statements in Linux:
1. view the number of concurrent Apache requests and their TCP connection status:
Netstat-N | awk '/^ TCP/{++ s [$ NF]} end {for (a in S) print a, s [a]}'
The returned results are generally as
When a foreground process needs to be interrupted, the key combination is usually used. However, a background process may not be able to solve the problem, in this case, you must turn to the kill command. This command can terminate background
Link: http://hi.baidu.com/tjuer/item/a3452480db2aa92b100ef38b
Today, we found a "baby", which is the Linux screen command. For remote logon, it not only provides nohup functions, it also provides my favorite "multiple desktops" feature.
Usually
RedHat is installed. enterprise. after linux.5.2, the yum that comes with the system cannot be used due to authentication issues, which makes it too difficult to install or update the RPM package, especially when it comes to RPM package dependencies.
Understanding the system's thread resource restrictions is to make the applicationProgramThe key to managing them properly. We have discussed examples of using system resources. When the thread stack size is set to small, the minimum value is
Pipe: use the term pipe (PIPE) when a process connects data streams to another process ).
# Include Int pipe (INT filedes [2]); // create a pipePipe () Description:Returned value: 0 success,-1 error.If the call is successful, the process now has
Due to work requirements, we have configured jogl in Ubuntu over the past few days. We know that if we use some jar packages in Java, we will put them in classpath, but jogl needs to call the native library, in addition to classpath, you also need
1. Cat connection file
(1) Syntax: CAT [Option] File List(2) parameters:File List: this is the list of options for connecting files. If no file or hyphen (-) is specified, it is read from the standard input.-B: Calculate all non-Null Output rows.
Before installing Linux on a hardware system, you need to consider many performance issues that will help optimize the operating system and the applications running on it in the future. These problems include:
Select partition location
Use
The installation and uninstallation of Linux software has been a problem for many new users. In Windows, we can use the installation and uninstallation programs that come with the software or "Add/delete programs" in the control panel. Similarly, in
. TarUnpack: tar xvf FileName.tarPackage: tar cvf FileName.tar DirName(Note: tar is packed, not compressed !)---------------------------------------------. GzDecompress 1: gunzip FileName.gzDecompress 2: gzip-d FileName.gzCompression: gzip
Introduction:The Linux kernel is the core of a large and complex operating system. However, although it is large, it is well organized by the concept of subsystems and layers. In this article, you will explore the overall structure of the Linux
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