1, Foreword ---- preface I have been operating Linux in the office and understand a lot, but it is not a system, and many basic things are still unfamiliar, therefore, I wrote the Article in this series to make a system review and memo.
The system has been reinstalled recently, and many software has to be reinstalled, which is very troublesome. I decided to record the installation process and hope to help you. If you have any questions, please leave me a message.
1 download
The GCC/g ++ comes with the gcov tool to automatically generate an executionCodeGcda. You only need to compile the macro-fprofile-arcs-ftest-coverage to generate the gcno file.
Specific information is visible
Http://gcc.gnu.org/onlinedocs/gcc-3.3
Install vmtools (HOST: Windows, Guest: Linux)
========================================
1. Start Linux on the guest computer2. Select VMware WorkstationProgramChoose VM> install VMware Tools...3. Execute the following commands in
A few days ago, Comrade Wang open-source, a company colleague, turned his laptop system into a liunx system. It looks good and there should be some applications. Such as document processing software, table processing software, and eclipse
Sendmail is the most important Email transmission proxy.Program. Understanding the working mode of email is very important. Generally, the email program is divided into user agents, transmission agents, and delivery agents. The specific command to
In Linux, the ISO image file can be directly mounted to a directory using the mount command, and then browsed without specialized virtual software.Assume that your ISO file is stored in/home/yangyang/music. ISO1. Create a directory as a mount point (
Root User
[Root @ localhost/] # cd/dev
View your optical drive type
[Root @ localhost Dev] # ls CDROM-lLrwxrwxrwx 1 Root 3 2009-05-25 CDROM-> HDC
[Root @ localhost ~] # Cd/Media/CDROM[Root @ localhost CDROM] # ls
Nothing to see
Now that you
1. DaemonProgramWrite it as a daemon and fork twice.
2. System LogsCall openlog, syslog, closelogUse the syslog or rsyslog service to configure/etc/syslog. conf or/etc/rsyslog. conf.Example:Local2 .* /Var/log/APP. LogRestart syslog To take
This is an after-school exercise for advanced programming in UNIX environments. You are not allowed to use fcntl. You can't think of a more efficient method. Here, I will post my own practices, I hope some heroes can tell me an efficient way of
After completing the soft examination, I recently began to learn digital image processing. I first used MATLAB to learn the theoretical knowledge. I am going to learn more about opencv. Today, when performing histogram equalization, I encountered a
Linux dynamic library search path
As we all know, the default search paths for Linux dynamic libraries are/lib and/usr/lib. After a dynamic library is created, it is generally copied to these
Usetime(NULL)The result is from January 1, 1970 to the current second. This precision is often not enough. Usegettimeofday:
Directly run the Code:
#include #include #include #include // Return 1 if the difference is negative, otherwise 0. int
1. Do not be a "missionary"
Many people are constantly discussing "Linux vs. Windows" in the discussion area, and even have a red ear. This is not necessary.
Such arguments are time-consuming and useless. Yes, you spent the afternoon defending the "
Although it was a start-up, but "Hello word", we won't be able to run it anymore. in Linux, you can run C with your mark.
We started from it.
Click a program to print the previous login name, computer name, system time, and IP address.
# Include
#
My embedded hardware platform: huaheng 2440 Development Board, software platform: linux.2.4.20 kernel, PC, Red Hat 9
Camera: z0c301p of xingwei, which has a large market share and is said to account for 70%
Procedure:
1. Download the driver from
3. Condition Variables
The previous section describes how to use mutex to share and communicate data between threads. One obvious drawback of mutex is that it has only two States: Lock and non-lock. Conditional variables make up for the lack of
Linux input drivers V1.0
(C) 1999-2001 vojtech Pavlik
Sorted sored by SuSE
----------------------------------------------------------------------------
0. Copyright description
~~~~~~~~~~~~~
This program is free software; you can redistribute it
Standard C specifies that the fflush () function is used to refresh the output (stdout) cache. It is not defined for input (stdin. However, some compilers also define the implementation of fflush (stdin), such as Microsoft's VC. Whether other
Both functions are implemented by setting the startup script. The general storage path of the startup script is/etc/init. d/RFM (the RCS is a script file). Self-Starting applications are generally stored in/etc/rc. d/init. d directory.
We need to
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