First, the file system
1. Introduction to Linux File system:
The Linux file system is a hierarchical tree-like structure with the root directory "/" at the top of the directory structure, and the rest of the directories are created in this directory.
Recently led a task, system tuning. I have seen this article in the past, now reprinted it for future reference.
Article formerly known as
Use the/proc file system to control the system see
First, download Libcurl http://curl.haxx.se/download/curl-7.21.1.tar.gz II, installation specified installation directory/usr/local/curl Note: It is best to use the default path command 1:./confi Gure--prefix=/usr/local/curl This is the
Experimental environment: Virtual machine: VirtualBox 5.0.24 r108355 operating system: rhel-server-6.5-x86_64
Saw the Liu Xiang soldier Big:
use Udev on Linux 6 to troubleshoot RAC ASM storage device name ProblemsI operated a, previously in the
Eclipse Helios 3.6.2 website download address 2011-06-02 11:05
From top to bottom: Windows 32bit Windows 64bit Linux 32bit Linux 64bit Eclipse IDE for Java developers
Multithreading is a special form of multitasking that allows a computer to run two or more programs at the same time. In general, two types of multitasking: process based and thread based.
Process-based multitasking is the concurrent execution of a
process data structure (process descriptor)
Direct view of the source code (here is the 0.11 version of the kernel) in the file/include/linux/sched.h,linux Process Control block for a structure task_struct defined by the data structure, the
"Cause"Hope for various types of
ArrayInitialize to avoid wild values
"Function header file" Hint: You can enter "man memset" to query in Linux in terminal
#include void *memset (void *s, int c, size_t N);
"Instructions for use" The memset ()
First, preliminary preparation:
1. Create SSH Key
In the user's home directory, see if there is an. SSH directory, and if so, look at this directory there are no Id_rsa and id_rsa.pub these two files, if already have, can jump directly to the next
1. ls command
The LS command is the meaning of listing directory contents (list directory Contents). Running it is to list the contents of a folder, possibly a file or a folder.
1 2 3 4 5 6 7
root@tecmint:~ # ls android-games &
Function Description: Remove the file system.Syntax:umount [-ahnrvv][-t ][file system]Supplemental Note: Umount can dismount the file system currently attached to the Linux directory.Parameters-A dismount all file systems recorded in the/etc/mtab.-h
The safest way to kill a process in a Linux operating system is simply to use the KILL command, with no modifiers, no flags.
First use the PS-EF command to determine the PID to kill the process, and then enter the following command:
# Kill-pid
Note:
What directory is the default module.h in #include ? I didn't find the file under the/usr/include/linux.
Also want to ask, different kernel version of Linux header file is not the same. For example: I am on the 2.6.20 kernel system, use 2.6.10
Which view the location of the executable file
Whereis View the location of the file
Locate view file location with database
Find actual search hard disk query file name
1, which
Which is looking for executables through the PATH environment variable,
Recently began to learn embedded Linux development, for embedded I was completely novice, but I still want to write something, to the later people to make a reference, so that some people less take detours.
1. Install the basic development
Embedded system product development often encounter performance bottlenecks, then need to use external forces, that is, a variety of tools to find out the problem point and timely solution. Some of the tools provided by the system are listed below:
1
Basic concepts:
TTY (general designation of terminal equipment):The word TTY originated from teletypes, originally refers to the telex, is through the serial line with the printer keyboard to read and send information, and later this thing was
Typically, initial Linux may not have the GCC compiler installed. For software enthusiasts who need to install GCC, they will need to install the GCC compilers themselves. Here is a REDHAT5 virtual machine Linux to describe how to install the GCC
1. The meaning of the permission setting : The system's lowest level security setting method, the guarantee file can be used by the user to do the corresponding operation.2. View of file Permissions (alias)Command: LSLs-l File # # View Files
1,which in the current environment variable pathTypically used to find the path of a command/executable file2,whereis returns binary files that match the name, source files, Help files,You can use the UPDATADB command to update the database before
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