If you need to operate files in Windows in Linux, you may frequently encounter file encoding conversion problems. In Windows, the default file format is GBK (gb2312), while Linux is generally a UTF-8. The following describes how to view the file
# Include
Int BIND (INT socket, const struct sockaddr * ADDR, socklen_t Len );
Int getsockname (INT sockfd, struct sockaddr * restrict ADDR, socklen_t * restrict alenp );
Find the address bound to a socket
If the socket is already connected
RPM package: rpm-IVH...Bz2 package: tar-xvf...Go to the directory after DistCC Decompression./Configure & make installMkdir/usr/lib/DistCC/binCD/usr/lib/DistCC/binLn-S/usr/local/bin/DistCC gccLn-S/usr/local/bin/DistCC CCLn-S/usr/local/bin/DistCC g ++
This part should be the most important and hard to understand!First, you must understand thatSource codeThe kernel is started from head. S (ARC/i386/boot/head. s) Until main. C (init/main. c) start_kernel () in, this is a rough journey!Don't be
POSIX standard-defined header files directory item file control file name matching type path name pattern matching type group file Network Database Operations Password File Regular Expression tar archive Value terminal I/O symbolic constant file
Become proficientLinux ProgramThe Design of senior programmers has always been the goal of many friends. According to statistics from chinacache, the monthly salary of Linux programmers in Beijing is 1.8 times that of Windows programmers, 2.6 times
I finally completed Ubuntu and successfully installed the Linux little penguin Chinese input method.
A Brief Introduction:
First, configure the network link.
Then open the terminal
Enter the command
Sudo apt-Get install im-switch fcitx
I think many of my friends are using securecrt as the client software for SSH, but they seldom use its RSA/DSA encryption function. Why don't you know what RSA is?Ssh, especially OpenSSH, is a client similar to telnet or rsh. Program It can also be
This article includes the following content:
SVN Server Installation
SVN permission management
SVN uses SASL Encryption
Synchronize other directories during SVN upload
Requirement
Based on online web version managementCodeAfter
Install Samba 1. RPM Installation Package 1. First, verify that samba ==================== has been installed on your machine. ============== rpm-Qa | grep samba, if the following prompt appears, Samba has been installed with the samba-client-2.2.8a-
---------------------------------------------------
Quick Start:
PS aux | grep programname 'view process ID (PID)
GDB programname
Attach PID
B A. cpp: 120 'sets the breakpoint
C' letProgramContinue running
(GDB) Shell 'Switch to the
Source: http://www.vpsee.com/2009/11/linux-system-performance-monitoring-io/
A disk is usually the slowest subsystem of a computer, and it is also the most prone to performance bottlenecks, because the disk is the farthest from the CPU and the
1. view the number of physical CPUs# Cat/proc/cpuinfo | grep "physical ID" | sort | uniq | WC-l2. view the number of logical CPUs# Cat/proc/cpuinfo | grep "processor" | WC-l3. Check the CPU Cores# Cat/proc/cpuinfo | grep "cores" | uniq 4. view the
Dozen Enable computer power Source, Open Start Read Fetch Bios Go ahead Row master Machine Self Test ;
use BIOS to obtain the first device that can be turned on, read the Main Boot zone (MBR) to obtain the boot management program;
1. Import other file content
: The R file name imports the file content at the cursor position.
2. Use the Linux Command without exiting vi
:! Command example :! Ls-L/test press enter and return to VI
Note: You can import the
Tip 1: view the interpreter installed
CAT/etc/shells
Note: Bash is used by default.
Tip 2: You can use the tab key to complete the command, including the file name.
NOTE: If only one prefix result exists, the results will be listed if
Command 1: Write to send a private message
Write User Name
Private Message Content
Note: Only the recipient can view the private message online.
Command 2: Wall Broadcast
Write broadcast content
Note: All online users can receive
Command 1: Modify file permissions
Method 1: direct authorization
U-owner
G-owner group O-others + add permissions-Reduce permissions = example of granting permissions: "chmod U + wx XXX" adds executable write permissions to the owner of file
First 9 tips:
1. Everything in Linux is a file
2. Linux case sensitive
3. Enter "PWD" to know the current path.
4. "Su" switch user name "user," sudo passwd password "Change User Password
5. Add users:
Useradd Username
Use nm to view symbols in the file.Example code:Cat sub1.c-----------------------------------------------# Include
IntPrn1(Char * Str){Printf ("this is in sub1.d !! ");Printf ("% s \ n", STR );}-----------------------------------------------Compile
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