UNIX is the best server in the world. Currently, the lowest chance of server startup in one year is openserver,
UNIX generally crashes after 40% more time than Linux does.
The probability is only 1/3 of that of Linux, but it is very
Common commands:1. ls only lists file names (equivalent to Dir, Dir can also be used)-A: lists all objects, including hidden objects.-L: a list that contains most attributes of a file.-R: recursive display.-- Help: the help of this command.
Ii.
I. Why should I use library files?We will certainly encounter this situation in actual programming: There are several projects with the same function modules,The implementation code is also the same, which is what we call repeated code. For example,
The makefile for generating static/dynamic link libraries is as follows:
#CC:=arm-linux-gccCFLAGS := -I..LDFLAGS := -lpthread -lrtSRCS := $(wildcard *.c)ifdef ARCHlibclient := libclient-$(ARCH).aelselibclient := libclient.aendifall: $(libclient)
Literacy first:
Introduction
Windows: http://baike.baidu.com/view/126772.htm
Ubuntu: http://baike.baidu.com/view/4236.htm
VMware: http://baike.baidu.com/view/301083.htm
Let's talk a few things:
The IT world is divided into several chefs: Windows,
Understanding Shell
Alias displays all current command aliases alias LM = "ls-Al" command aliases unalias lm cancelling command aliases
Type is similar to which
Exprot to set or display environment variables
Exprot Path = "$ path":/sbin Add/sbin
Q: When I open Microsoft Windows files in Linux, I find the following problems occur in the files:
This is a ^ m
Used for testing ^ m
File ^ m
How can I remove ^ m?
A: There are many ways to solve this problem. Here are some of them:
1. Run
How to add a static route entry in Windows
1. Add a route tableRoute add 60.232.142.40 mask merge route 248 192.168.100.250 metric 3 if 2Add a route record. All data packets destined for the 60.232.142.40/29 CIDR block go through the gateway of 192.1
Disk I/O performance is an important indicator to measure the overall performance of computers. Linux provides the iostat command to obtain disk input/output (I/O) statistics, while Windows provides the WMI interface, you can write a simple script
Solemnly declare: This article is reproduced on the Internet by the author, and the ownership belongs to the original author!
Address: http://blog.chinaunix.net/uid-20648944-id-3190395.html
View the current Login User$ WhoLoongson tty7 2012-04-27
Asmlinkage long sys_socketcall (INT call, unsigned long _ User * ARGs );
{Unsigned long a [6];/* Obtain information from the user space. This function is SMP secure */If (copy_from_user (A, argS, nargs [Call])Return-efault;
Switch (CALL ){Case
1. view all hardware information of the machine:
Dmidecode | more
Dmesg | more
The two commands have a lot of information, so we recommend that you use "| more" for ease of viewing.
2. View CPU Information
Method 1:CPU-related parameters in Linux
How to decompress commands in Linux
. 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
The following command can be used to obtain more information through -- help.
1. query the list of files in the current directory: lsBy default, the LS command will list all the content in your current folder in ascending order of the first letter,
1. Install texlive
1. Download The texlive2011 image file (. ISO)
2. Install the perl-TK package
Sudo apt-Get install Perl-TK
3. Mount the ISO file
Sudo Mount-o loop texlive2011.iso/mnt
4. Switch to the Mount directory and use the graphical
First, you need to understand that in Linux, the kernel assigns an inode (index node) to each newly created file, and each file has a unique inode number. The file attributes are stored in the index node. when accessing the file, the index node is
As we all know, in a virtual machine, Linux and the host machine cannot directly interact with the file system (such as simple file copy and paste functions). The simplest way is to use vmtools In the VM:
Step 1: Go to Ubuntu and click "Install
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