My OS is fedora9
Date [Options] [+ format] [date]
$ Date-s 02/01/2009Modify date (monthly, daily, and yearly format)
$ Date-s 13:56:00Modification time (in the format of hour, minute, and second)
$ Clock-RQuery the CMOS time
$ Clock-WWrite
1 suffix
In Linux, the extension name of a file may be unrelated to the file attributes,
It is often used to characterize the naming conventions of file authors,
Or reflect the content of the file.
However, many suffixes are commonly used
We know that in Linux systems, the startup script of system services is generally stored in the/etc/init. d directory. Different boot modes correspond to the/etc/rcX. d directory respectively. In fact, files on/etc/rcX. D are generally linked to
Getopt
(Analyze command parameters)
Related functions
Header file # include
Define the function int getopt (INT argc, char * const argv [], const char * optstring );
Function Description getopt () is used to analyze command line
By MACOThis article Reprinted from the network base camp: http://xrss.cn/Info/13420.Html
InAfter the Linux cutting of the embedded application was completed last time, it still takes about 7 s to start Linux. Although barely acceptable, it still did
1. List of the most common commands
The following lists the ten commands that are frequently used in Linux. Here is a brief introduction. For detailed usage, refer to the following content.
Cat: displays the file content.
CD to change the
1. What is modules?
The literal meaning of modules is the module, which refers to the kernel modules. Simply put, a module provides a function, such as isofs, minix, NFS, and LP. Traditionally, there are two ways to solve modularization: the
Tar
-C: Create a compressed file-X: Extract-T: View content-R: append an object to the end of the compressed archive object-U: update files in the original compressed package
These five are independent commands, one of which must be used for
In Linux, The Write function is used when we use a device.
Send data to the device as a file. Why can I write data to a device using the write function?
How is this process implemented?
The mystery lies in the write Implementation of the device
There is a statistical http://www.remword.com/kps_result/china.php
Click Connect. You can see:
Total patch sets of this kernel release: 1572365337 person contrispontheir works to this kernel release.Averagely, every person committed 29 patch
In Linux, you can enter the free command to obtain the current {Tagshow (Event)} "> System memory usage.# Busybox freeTotal used free shared BuffersMem: 55636 52808 2828 0 3132Swap: 0 0 0Total: 55636 52808 2828When I typed the above command with joy,
/*
* OK, we have completed the initial bootup, and
* We're essential up and running. Get rid of
* Initmem segments and start the user-mode stuff ..
*/
Init_post ();
Return 0;
}
Ramdisk_execute_command: used when the kernel parses the boot parameter.
I have been porting linux recently, and I have to get familiar with it from uboot. Now I have recorded my understanding and hope I can help my friends who have encountered the same problem!
In terms of software, an embedded system can be divided
Linux lib description
I. Lib type:And static library in Windows (. lib) and dynamic library (. DLL), Linux also has a static library (the static library file suffix is. a) and shared library (shared library file suffix. so). the/usr/lib directory
I recently read the mounting of the file system when Linux is started. I think this article is very good. I just went here and added some file paths for ease of understanding !!
I. Preface
Some time ago, when compiling the kernel, we found that
UClinux is started in two phases:Part 1 bootloader startup phasePart 2 Linux kernel initialization and startupSection 1: start_kernelSection 2: Start In user_mode and end in start_kernelSection 3: After loading the Linux kernel, transfer it to the
Ptrace is short for process and trace. It is a system calling interface (API) provided by the operating system to the application Debugger for GDB and strace ).
The specific process is as follows: the parent process first calls fork, executes the
Article Source: http://blog.csdn.net/estate66/article/details/5985746
Ptrace is short for process and trace. It is a system call interface (API) provided by the operating system to application debugger such as GDB and strace ).
The specific process
Two years ago, I posted my post to record my post. --------------------------------------------- Production of TCP connect scanner in Linux
(Author: mikespook | Release Date: | views: 111)
Keywords: Linux, network, scan, connect ()
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