Linux Common commands: If, for, which, PS, grep, Netstat, lsof, head, tail, sed, awk, cut, Sort, uniq, Dos2unix, find, Xargs, kill)First, Linux view memory/cpu the highest process situation (note: You can use the command to check the memory of the
Linux system has 7 runlevel (runlevel)RunLevel 0: System down state, system default RunLevel cannot be set to 0, otherwise it will not start normallyRunLevel 1: Single User working status, root privilege, for system maintenance, remote login
Transferred from: http://blog.csdn.net/nanjingligong/article/details/8624739Method One: Pstack pidNAMEPstack-print a stack trace of a running processSynopsisPstack PIDDESCRIPTIONPstack attaches to the active process named by the PID on the command
Linux kernel on the official website can choose the version of the kernel downloadOfficial website: https://www.kernel.org/Download long-term support version 3.18.24wget HTTPS://CDN.KERNEL.ORG/PUB/LINUX/KERNEL/V3.X/LINUX-3.18.24.TAR.XZExtractTAR-XVF
1, VI of the basic conceptBasically VI can be divided into three kinds of States, namely:Command modeInsertion modes (insert mode)Bottom-row mode (last line mode)The functions of each mode are differentiated as follows:1) command-line modeControls
There are nine basic permissions on the Linux file, each of which has its own Read/write/execute authority, owner/group/others three different identities.Example: The file's permission character is-rwxrwxrwx this nine permission is three three a
1. View the catalog File command:View files starting with F: ll f*View files under the/usr/local directory: ll/usr/localIn chronological order of last modification, list: ll-t */f* time reversed: Ll-tr */f*The files are displayed in the order of
commands for viewing tomcat and JDK version numbers under Linux:This needs to go to the bin directory and execute the "./version.sh" command[Email protected] bin]#./version.shYou can then see the following output:Using
Install Java JDK in Linux (Centos) and precautions: centosjdk1. Preparations
A. Because Java JDK distinguishes between 32-bit and 64-bit systems, you must first determine the number of the following Centos systems before installation. The command is
Check the number of physical CPUs, cores, and logical CPUs in linux.1. First, define the concept of the number of physical CPUs, number of cores, and number of logical CPUs. 1. number of physical CPUs: the number of CPUs actually inserted on the
Linux new user ssh remote login display-bash-4.1 $ solution, ssh-bash-4.1
For users created in linux, use ssh for remote logon.-bash-4.1 $ is displayed, and the user name path is not displayed.
There are many solutions on the network. Most of them
As a linux O & M engineer, you must master the following tools:
For linux systems, you can choose redhat or centos for learning. In particular, centos is the most used in enterprises. Of course there will be other versions, but learners can still
Add SSH for Github
This is just a Linux cainiao diary, which is concise and realistic. It records the process of adding ssh to Github in OSX for code blindness.
Clone the source code from Github to the local machine and find that there is no ssh
How to mount a Remote File System Using SSHfs on Linux
Have you ever thought about using a secure shell to mount a remote file system to a local device? If so, SSHfs may be what you need. It uses SSH and Fuse (LCTT: Filesystem in Userspace, a
How can I solve the problem of time synchronization between Ubuntu and Windows?
I don't know if any of my friends are like me in Ubuntu and Windows? Today, a friend asked me that when He restarted Ubuntu to Windows, he would find that the time in
VirtualBox-Linux system installation enhancementsBefore installation, We must install the dependent packages required by it. Otherwise, the installation process will be wrong! 1. install the dependency Package 1 # yum install kernel-headers2 # yum
Heartbeat cluster component Overview
Heartbeat is a Linux-based open-source high-availability cluster system. It mainly includes two high-availability cluster components: Heartbeat service and resource manager. The heartbeat monitoring service can
AFNetworking + Nginx + HTTPS Server Communication
This article describes how to use AFNetworking for secure communication with HTTPS backend interfaces on iOS. 2. describes how to create a self-signed certificate in the background. 3. And the Web
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