The file execution process when logging on to Linux is as follows:When logging on to Linux, start the/etc/profile file first, and then start ~ /. Bash_profile ,~ /. Bash_login or ~ /One Of The. profile files,
The execution sequence is :~ /.
On Linux, you can run the lsof command to view the files currently used by the system, or view the network socket communication.
$ Lsof view all system I/O operations
$ Lsof/etc/passwd
$ Lsof-P to view the IO used by the specified process.
The chkconfig command is used to update (start or stop) and query the running level information of the system service. Remember that chkconfig does not automatically disable or activate a service immediately, but simply changes the symbolic
In Linux, we recommend that you use goldendict as a dictionary tool. You can use the stardict and Babylon dictionaries. Of course, pay attention to copyright issues.
You can install it directly from the source in Ubuntu/Debian, and then ~ /. The
Cron:
System-level and backend execution daemon of scheduled tasks on liunxProgram; One of the most basic liunx Services !!!
It checks configuration file changes every minute.
It checks the execution of tasks based on configuration
Download and install Python
Download and install BitTorrent
Start the BitTorrent tracker service, which is used to track and distribute all downloads.Bttrack -- port 6969 -- dfile/tmp/BT. Log>/dev/null 2> & 1 &You can enter http: // ip: 6969/in
Run */5 * every five minutes ****
0 *** per hour ****
Execute 0 0 every day ***
Execute 0 0 every week ** 0
0 0 1 per month **
Execute 0 0 1 1 * every year *
For detailed usage, refer to the blog http://yangqijun.iteye.com/blog/1173016
Http://www.ibm.com/developerworks/cn/linux/l-ipc/part5/index1.html from
Introduction:Shared memory is the most useful communication method between processes and the fastest IPC format. The shared memory of two different processes A and B means
Iii. PCI driver Program Implementation1. Key Data StructureThere are three address spaces on the PCI device: pci I/O space, PCI storage space, and PCI configuration space. The CPU can access all the address spaces on the PCI device. The I/O space
And handle the contention ( ※Please refer to the following link for more information: )1) cause of birthSMP has already been used when reading, and has been used when there are too many threads on the website. When there are too many concurrent
System
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
#
Uname-A # view kernel/operating system/CPU Information
#
Head-N 1/etc/issue # view the operating system version
#
View TCP status: netstat-N | awk '/^ TCP/{++ s [$ NF]} end {for (a in S) print a, s [a]}'View socket status: CAT/proc/NET/sockstatTime_wait status socket generally needs to wait for 2msl time before the socket will be recycled.Modify (ADD) The
System 1:# Uname-A # view kernel/operating system/CPU Information# Cat/etc/issue# Cat/etc/RedHat-release # view the operating system version# Cat/proc/cpuinfo # view CPU Information# Hostname # view the computer name# Lspci-TV # list all PCI devices#
The Board finds that framebuffer Initialization is very late. Just modify it as follows:
// Late_initcall (dovefb_init );Module_init (dovefb_init );
Mainly refer to the followingArticle:
Bytes ---------------------------------------------------
After installing Linux (Red Hat 5), no NIC Driver is found. The NIC is attansic L2. Find an articleArticleThe driver installation process is described in detail:
--------------------------------------
Original article:
Related functionsFork, execve, waitpid, popenHeader file# Include Define functionsINT system (const char * string );Function DescriptionSystem ()Fork () is called to generate sub-processes,The sub-process calls/bin/sh-C.String to execute the command
Unix/Linux Command reference
FILE command -------- ls-list directories ls-al-list hidden files by formatting Cd Dir-change directories to Dir Cd-change to home directory pwd-show current directory mkdir Dir-create directory dir RM
Operating System: Redhat Linux (Fedora Core 2)
JDK: j2sdk-1_4_2_01-linux-i586.bin
TOMCAT: jakarta-tomcat-5.0.19.tar.gz
Installation steps:
JDK:
1) copy the installer to the/usr/local directory.
2) run the following command:
/J2sdk-1_4_2_01-linux-
Linux Assembly introduction:
I. Advantages and Disadvantages of assembly language:
Since Linux is written in C, C naturally becomes the standard programming language of Linux. Most people ignore the compilation, and it is very difficult to find
The installation and uninstallation of Linux software has been a problem for many new users. In Windows, we can use the installation and uninstallation programs that come with the software or "Add/delete programs" in the control panel. Similarly, in
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