For the last reason, I began to become obsessed with Linux. I went to the library every day and went crazy to practice it on the "Love Machine" with the Virtual Machine Ram equal to MB.
During the day, I went to the library to read books about this.
The steps are as follows, but they are not unique:1. Temporary modification:1. Enter the following commands in sequence:/Sbin/ifconfig eth0 down/Sbin/ifconfig eth0 HW ether 00: 0C: 29: 36: 97: 20/Sbin/ifconfig eth0 upService Network restart
2.
Recently, I was working on a project in Linux to remotely control embedded devices using Bluetooth on my mobile phone. I am working on a project. the Bluetooth communication problem has been basically solved, and the rest of the task is to parse the
The current Bluetooth project will run a server on ARM-Linux to listen to requests. To be more automated, I want the Board to start and automatically load the initialization
ProgramAnd the server program.
After searching for half a day,
1)./etc/sysconfig/Network is mainly used to set the Host Name and whether the network can be started. After changing this file, you must restart Linux to make it take effect. 2 ). /etc/sysconfig/network-scrips/ifcfg-eth0 set Nic parameters, such
1. Install gcc
Sudo apt-Get update
Sudo apt-Get install build-essential
2. Install sun-java6-jdk
Sudo VI/etc/APT/sources. List
Add Deb http://archive.canonical.com/ubuntu lucid partner save exit
You can directly copy the previously
In Linux, touch command parameters are not commonly used. They may be used when you use make to modify the file timestamp or create a new file that does not exist, the following describes how to use the touch command parameters in Linux:
Touch
1. server side:
/** Server. c ** created on: Nov 20,201 2 * Author: Gentoo */# include # include # include # include # include # include # include # include # include # include # define server_port 8999 # define buffer 1024int main
About Linux's spinlock
The selection of mutex means is not based on the size of the critical section, but based on the nature of the critical section and
Which part of the code is competing for the kernel execution path.
Strictly speaking, semaphore
To shut down a Linux instance, you must use the following methods:
[Root @ localhost/] # shutdown [-T seconds] [-arkhcncff] [time] [prompt information] [root @ localhost/] # shutdown-H 10' I will shutdown after 10 mins' -T sec: -T plus the second,
Superblock, inode, data block, directory block, and indirection block.
The superblock:It contains information about the filesystem as a whole, such as its size (the exact information here depends on the filesystem ).
An inode:It contains all
Editor's note: The following small commands may be something that these Linux giants are playing on the rise, however, this also proves the phrase "Programmer are just like children no matter how old he is" (well, it is roughly like this, that is:
Linux is a variant of the UNIX operating system. The principle and idea of writing a driver in Linux is similar to that in other UNIX systems, however, the drivers in the DoS or window environment differ greatly. In a Linux environment, the driver
Recently, I was studying asynchronous message processing and suddenly remembered the Interrupt Processing of the Linux kernel. The kernel runs through the asynchronous processing idea of "doing important things right away and pushing unimportant
Vfork is used to create a new process. The purpose of the new process is to Exec a new process. Both vfork and fork create a sub-process, but it does not completely copy the address space of the parent process to the child process, and does not copy
What can GDB do for us:
Previous articles introduced the working principle of debug tool-GDB. We may have some knowledge about how GDB works. When we can ask what GDB can do for us, most people may not have a specific answer except to debug the
Author: Wuhan huayin embedded training center technology department
We will share with you the following two multi-thread programming methods for Qt on Linux:
1. Use the thread functions on the Linux platform. The following is the code snippet:
//
Printer support: printer supportX Window System: X Window SystemGnome: Desktop Manager gnomeKDE: Table manager KDEMail/www/news tools: common tools for sending and receiving mail, Web browsing, and news readingDOS/Windows Connectivity: compatible
With the gradual popularization of Linux, many people are familiar with the installation and setting of Linux. It is compatible with the vigorous development of Linux, and more users want to know more about Linux. To gain a better understanding of
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