Compile the. A library file used by LinuxThe first is the source file that needs to be compiled into. Ahello.h :#ifndef __include_hello_h__#define __include_hello_h__void HELLO (const char *name); #endif//End __include_hello_h__hello.c#include
http://apps.hi.baidu.com/share/detail/37384818Download ADT linkHttp://dl.google.com/android/ADT-0.9.6.zipDownload SDK linkhttp://dl.google.com/android/android-sdk_r11-linux_x86.tgz (Can get detailed file name through FQ, and then download via
Linux as a free software, with the support of the vast number of enthusiasts, the kernel version is constantly updated. The new kernel has revised the kernel bugs and added many new features. If users need to use these new features or tailor a more
The program can access the kernel structure only through the interface (interface) of the system call. In recent years, micro-kernel structure has become popular, known as the main operating system trend.In a microkernel structure, the kernel of the
Tomcat Catelina.out if not configured by date, generates a large number of output logs in a file. Clear Log if you delete catelina.out directly, you will not be able to output the log. You can only restart Tomcat if you want to output the log. The
[Email protected] ~]# More/proc/cpuinfoYou can see the detailed content or:[[email protected] ~]# cat/proc/cpuinfo |grep "model name" && cat/proc/cpuinfo |grep "Physical ID"Description: Detailed information about each CPU can be seen in/proc/cpuinfo
Original address: Http://blog.163.com/[email protected]/blog/static/173612348201202114212933/installation steps are as follows:1. Yum Install Subversion2. Enter RPM-QL subversion to view the installation location, such as: we know that SVN generated
1 Modifying folder permissionssudo chmod-r ugo+rw /data/shareUsing the command above still cannot modify the file under the folder, use the following command in the window to use root identity, thereby changing the properties through the window
Often use VMware virtual machine to do experiments, each operation is essential to the virtual machine operation, this is not very convenient, so to others learn to use remote login software to operate, more convenient!! But use SECURRCT will
Disk partitions are: Primary partition, extended partition, logical partitionA hard disk can have up to 4 partitions, and a hard disk must have only one extended partition (cannot be used)Multiple logical partitions must be partitioned and formatted
Linux server time synchronization in LAN1. Use an Internet-capable server as a time server:#/usr/bin/rdate-s time-b.timefreq.bldrdoc.gov//Synchronize the time server with the Internet time server#/ETC/INIT.D/NTPD Start//Start time server#
CPU LOADIn layman's words, the number of tasks that the current system is executing and waiting to perform. A detailed explanation of load on Wikipedia:
Each of the process using or waiting for CPUs (the ready queue or run queue) increments
Directory of Linux System account information:Account information:/etc/passwdPersonal Password:/etc/shadowAll group name:/etc/groupD: Catalogue-: ArchiveL: Connection FileB: can be random storage deviceC: Disposable reading Device (mouse,
In linux, check the cpu cores of the machine.
Several CPUs
More/proc/cpuinfo | grep "physical id" | uniq | wc-l
The number of cores per cpu (assuming the cpu configuration is the same)
More/proc/cpuinfo | grep "physical id" | grep "0" |
CentOS command for viewing TCP connections netstat
The netstat command displays network connection, route table, and network interface information, allowing you to know which network connections are in operation. In our daily work, we usually use
Bind gateway ARP under CentOS1. view the current Gateway
Arp-
Run the preceding commands in SSH to check the gateway host name, gateway IP address, Gateway MAC address, and corresponding Nic, as shown in figure
2. Bind a gateway MAC
1) Bind
After ubuntu Desktop is installed, switch to the root user and set the root password.
Solution 1,
After ubuntu Desktop is installed, switch to the root user:
:~ $ Sudo-s-H
Use the above command to switch to the root user
Run the following
Uploading files from VPS to Baidu network disk, and uploading files from vps to Baidu Network
See:
$ Easy_install requests
Go to bypy's official website https://github.com/houtianze/bypyto download the code and install it as instructed.
Bypy
Some useful but unknown Unix Commands
Many Linux commands come to mind, some of which are unknown and others are common, as follows:
Xargs or parallel: runs some programs in parallel and has many options for commands.
Sed and awk: widely known
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