A signal-related structure in Linux struct sigaction is used primarily in sigaction signal installation and sigqueue signal deliveryThe structure is located in/usr/include/bits/sigaction.hIn which the description of the structure can be found
/*
I've tried the Mount U disk.When the boot mount the first U disk, the general equipment named SDA, and then Umount, and then insert another USB disk, and then mount, found that the device name became SDB.This test has been done several times, found
A Cygwin
Cygwin is a class UNIX® environment for microsoft®windows® operating systems. It contains a real Unix shell, a portable operating System Interface (POSIX) emulation library, and thousands of UNIX utilities.
Role:
1 as a beginner of
1.windows and Linux file system differences Windows file System 98 and before Fat NTFS, while Linux is ext2 ext3 ext4
2.EXT2 File System Analysis:
(1) schematic diagram
(2) Interpretation of each block
1.Data block, area where block is
In contact with the SCM before the interruption of this noun, simple understanding, in the CPU normal running program A, suddenly inserted program B, program B can be understood as an interruption. An interrupt mechanism is also provided in the
1.ls View all files under this folder
2. Move a file under file A to the B folder: Enter a folder, open the command line, enter Cp-r a ~/b (if B is in the root directory)
3. Delete the file command: folder-rm-rf name; file-rm-f name
4. About VI
"Only. O,. A and. So" under Linux
. O,. A,. So files are all program libraries under Linux, that is, code and data that are compiled for use by other programs
Advantages: Program modularization, easy to recompile, easy to upgrade.
Categories: static
I. Principles of implementation
progress bar is the computer in the processing of tasks, real-time, in the form of pictures to display the speed of processing tasks, completion, the amount of remaining unfinished tasks, and may require processing
Preparation: new vim tt.c file
#include
#include
#define NONE "\e[0m"
#define BLUE "\e[0;34m"
# Define RED "\e[0;31m"
int main ()
{
char buf[102];
int i = 0;
Const char* label = "-|\\";
memset (buf, ' the ", sizeof (BUF));
while
It should be noted that the use of Pthread_detach after the thread can not use pthread_join, or there will be invalid argument error
#include
#include
#include
void *th_run (void *arg)
{
int n = 3;
while (n--)
{
printf ("Thread run\n");
Because the git version that Centos6.5 uses yum-y install git to install is
Git--versiongit version 1.7.x
Want to upgrade to 2.10.0:
When you upgrade to install Git, it is best to install dependencies at once.Yum install-y tk zlib-devel
Linux system startup, refers to the system from the power to the system console display "Login:" Login prompt to the operating stage, and the most closely related to this part of the code is: four assembler: Bootsect. S Setup. S head. S entry.
In Linux, Cron is used to schedule repetitive tasks, and the Linux at command is used to schedule one-time tasks within a specified time.
To use the Linux at command, you must have the at RPM package installed, and the ATD service must be
DubuntuDubuntu is an enhanced version created on the basis of Ubuntu Gnu/linux,It mainly provides the good support of culture and software development tools by default.Most of its packages come from Ubuntu's official software warehouse, which is
Ubuntu12.04 using the latest Linux kernel methods
First, the environment:
1. Virtual machine installation Ubuntu12.04 64 bits
2, use the system Linux version for Linux-3.13 (Intermediate upgrade once system)
3, the latest Linux kernel Linux-4.5.0
23. Time Synchronization
The synchronization time can be accomplished using the root command as follows:
Rdate-s time.nist.govIf automatic synchronization is required, the crontab can be automatically scheduled and executed once per hour:
Edit
Install wine
Enter the following command on the terminal:
sudo apt-get install wine
Install Source Insight with wine
Enter the following command in the terminal:
Wine ~/sourceinsight/insightsetup.exe
Note: The Sourceinsight installation package
Mans Page
The man page is the most commonly used reference manual for Linux development, consisting of a number of pages, each describing a theme that is organized into several section pages. The FHS (filesystem hierarchy Standard) standard
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