1. Introduction
Lsof (list open files) is a tool that lists the current system open file. In a Linux environment, everything exists as a file, and access to network connections and hardware can be accessed through files, not just regular data.
2.
We should first know the basic situation of the computer. A computer is a heap of metal, the combined semiconductor and plastic products, if powered, can start, but you can't do anything, because the computer is just a bunch of hardware, if you are
Call the Errorlog function to write the custom struct error_message type of data to the specified logfile file
#include #include #include #include #include #include struct Error_message{time_t occur_time;//when the error occurredconst char *
1. Init process
The init process, a user-level process initiated by the kernel, completes the boot process by launching Init when the kernel starts itself. Therefore, Init is always the first process (its process number is always 1). The INIT
There must be a partition in Linux that works, and that is, the swap partition is also needed, but if the physical memory is large enough, the swap partition is not necessary.
Now we're going to boot up the specified partition automatically. How to
Share a simple about Linux under the Cat and VI command Introduction article, the need for friends can refer to.
Introduction to CAT CommandsThe original meaning of the cat command is a connection (concatenate) that connects multiple file contents
This is a very important Linux command, please be sure to be familiar with. Its function is for a file in another location to establish a link, the most common parameter is-s, the specific use is: Ln-s source file Destination file.
When we need to
Implementation of Bluetooth protocol stack under Linux. Linux open Bluetooth protocol stack mainly includes IBM's Bluedrekar,nokia company's affix, axis company OPENBT and the official protocol stack BlueZ. We mainly face the BlueZ to discuss.
The
Move the file (excluding directories) below the current directory to/opt/shell
Find. -type f-exec mv {}/opt/shell \;
Find. -type F | Xargs-i ' {} ' mv {}/opt/shell
Below from http://weiruoyu.blog.51cto.com/951650/832497
Find how many days ago
Original address: http://community.linuxmint.com/tutorial/view/486
Installing LAMP (Linux, Apache, MySQL and PHP) on Linux Mint
Through this tutorial, you'll learn how to Install Apache, MySQL and PHP.
If you ' re a webpage designer or developer
Hi there! I ' Philip (@bluesmoon), the CTO of Lognormal. We ' re a performance company, and performance and scalability go hand in hand. Better scalability results in the more consistent performance and at Lognormal, we like pushing we hardware as
After the rsync server configuration is over, the next step is to issue an rsync command on the client to enable the server-side files to be backed up to the client. Rsync is a very powerful tool, and its commands have many feature options, and
The Linux error number EINTR EINTR is the error number that produces it for 2 reasons: interrupted by a signal, timeout may not be intentional to generate a signal: Process debug Console Switch task switch pseudo terminal disconnect asynchronous IO
Copy a mkimage tool from u-boot-2012.10 to the/usr/bin directory and find the load address and entry when make UimagePoint is 0x50008000. Results u-boot after BOOTM command stopped at starting kernel ...Manually modified entry point=0x50008040 can
Restart TeamViewer every two hours to prevent the outside of the console execution: CRONTAB-E//Enter the Timer edit page, add the following command, Control+c!wq save 0 */2 * * * TeamViewer Deamon
0 */2 * * * echo "Have a break now." >>/tmp/test.txt
Linux VI Replacement string
1. Basic replacement: s/vivian/sky/replaces current line first Vivian for Sky: S/vivian/sky/g replaces current line all Vivian for Sky: N, $s/vivian/sky/replaces the first n line to the top Vivian for each line in the
Core dump refers to the mechanism by which kernel writes the current memory of a process to a file when the process has an exception and exits execution. The core dump mechanism is very important in the process of program development, and the core
Prior to the WebSphere MQ 7.1 release, there was only one instance of the installation of the product, on UNIX and Linux systems,Some soft connections are added to the/usr/lib,/usr/bin and/usr/include directories, which also point to the only
Tag: Accept the DDR firewall policy save to run the font via ESSIptables is a command-line tool that Linux administrators use to set IPV4 packet filtering conditions and NAT. The Iptables tool runs in the user state and is mainly set up with various
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