I. SIGNAL INSTALLATION
If a process needs to process a signal, it must be installed in the process. The installation signal is mainly used to determine the ing between the signal value and the action of the process against the signal value, that is,
I will debug the program in Ubuntu next week, so I will take the time to configure the Myeclipse environment today.
Preparation:
JDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
MyEclipse:
Configure the tftp service in Ubuntu
1. Install TFTP Software
Release permission: (for the server directory, set the permission to 777 and chomd 777)
3. Configure the TFTP Server
Set the original content:
#/Etc/default/tftpd-hpa
TFTP_USERNAME = "
Obtain time from system clock
Time Function introduction:
Time. hIs the date and time header file in C/C ++.Sample Code
# Include
# Include
Int main (void)
{
Time_t timer = time (NULL );
Printf ("ctime is % s \ n", ctime (& timer); //
Objectives of this section:1. File Sharing
Open the file kernel data structure
A process opens the same file twice
Two processes open the same file
2. copy the file descriptor (dup, dup2, fcntl)
1. File Sharing
1. A process opens two file
The first operation on the linux server, although I used to play with linux, is basically on the client. I have not been operating in the production environment. I am working on a project using linux, but the installed version is old, so you are
Configure software source$ Sudo gedit/etc/apt/sources. listAdd the following content:# Ustc sourcesDeb http://mirrors.ustc.edu.cn/ubuntu/ raring main restricted universe multiverseDeb http://mirrors.ustc.edu.cn/ubuntu/ raring-security main
I. Common commands in Linux: file and directory operationsBasename: remove the path and extension from the file nameCd: Switch the current working directory to the specified directoryChgrp: Change the group to which the file belongs.Chmod: Change
The first time I came into contact with shell programming in the past two days, the so-called shell programming is actually to combine various basic commands with certain syntaxes to let shell programs explain and execute. If you have an
1. Delete 0-byte filesFind-type f-size 0-exec rm-rf {}\;2. View ProcessesSort by memory from large to smallPs-e-o "% C: % p: % z: % a" | sort-k5-nr3. sort by cpu utilization from large to smallPs-e-o "% C: % p: % z: % a" | sort-nr4. Print the URL in
Timerfd is a timer interface provided by Linux for user programs. Based on the file descriptor, this interface sends timeout notifications through the readable event of the file descriptor, so it can be used in select/poll application scenarios.1.
As needed, the backup should be set up as follows:
1. 1. Install rsync
Run the command: yum-y install rsync to install the server.
2. Second: Configure rsync
The main three configuration files need to be filled
A. touch/etc/rsyncd.
Mysql conflicts with mysql-4.1.20-2 error occurred while installing MySQL todayCheck whether mysql has been installed
Rpm-qa mysql
Old mysql versions installed
Error occurred when uninstalling with rpm-e mysql-4.1.20-2.RHEL4.1.i386
Use the
1. Check whether the vnc Server is installed:
Rpm-q tigervnc-server
By default, it is not installed. You need to find the vnc installation package in the Packages folder of the Linux System File (which contains two tigervnc-server software
Linus released Linux kernel 3.11. New features worth attention in this version include: Lustre Distributed File System, transparent ARM architecture Big Data Page Support; Xen and KVM virtualization on ARM64; O_TMPFILE opening identifier; dynamic
1. CodeEcho-en cat abc.txt | ssh-oConnectTimeout =@
2. Run
3. Summary
From the code, we can see that,
When there are ssh and scp in the loop body, add
, That is, when it encounters a space, it starts to execute the loop body. Therefore,
When installing terminator and other software, I encountered such problems.
Leo @ leo :~ $ Apt-get] password-support (>= .---
Leo @ leo :~ $ Apt-get-common (=:.-1ubuntu3.) :.-
Leo @ leo :~ $ Apt-get g ++: Dependency: g ++-(>=. -- (>= .-
So
1. First, take a look at the simplest C file // hello. c file # include void main () {printf ("hello world \ n");} is hello. c. Compile the makefile file, which is compiled using gcc.
$ Vi makefile
Hello: hello. c
Gcc-o hello. c
We can see
Compression: zip-r. zip. zip
Package: tar-cvf. tar. tar
Method 1: Use the tar file that has been packaged earlier to directly use the compression command.
Compression: gzip .tar.gz
Package and compress: tar-zcvf .tar.gz
Method 1: Use
Author: instructor Li,Hua Qing vision embedded college lecturer.
[PURPOSE]
The Yaffs2 file system is a commonly used File System in embedded systems and is required for porting Android. By porting the Yaffs File System to the FS_S5PC100 platform,
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