About vi
VI editor Learning
The VI editor has three modes: Command mode, input mode, and last line mode. In any mode, you can press [ESC] to return to the command mode.
1. vi
Enter VI directly to view the VI version information.
2. VI
Make is a very important compilation command in both Linux and UNIX environments. Make or make install is often used for project development and application software installation. With the make tool, we can break down large development projects into
This article discusses the implementation of the logging function module design, and how to implement information hiding for other module encapsulation details. Because some aspects (such as project requirements must use C and be compatible with
LinuxProcess-related notes
Zhou yinhui
I ran to engage in medical CT, and I came into contact with Linux. During this time, I learned some Linux processes and inter-process communication (IPC) and sorted them out. There were more than 40 pages,
Http://blog.csdn.net/shanglihong/article/details/6562869
Long sys_clock_gettime (clockid_t which_clock, struct timespec * TP );
Which_clock parameter description
Clock_realtimeClock_monotonic: Timing starts from the moment when the system
Because Linux tar commands do not support batch decompression, many netizens have compiled a lot of shell commands that support batch decompression and collected them for your sharing.
First:
For tar in * .tar.gz; do tar xvf $ tar;
Follow these steps:
1. Linux BasicsInstall linuxLinux File SystemCommon Linux commandsLinux Startup Process detailsFamiliar with Linux services, able to install Linux operating systems independentlyFamiliar with basic Linux commandsUnderstand
1. Time type.There are four common time types in Linux: time_t, struct timeb, struct timeval, struct timespec, clock_t, and struct TM.
(1)Time_t is a long integer. It is generally used to indicate the number of seconds since January 1, 1970.
4. semaphores
Semaphores in Linux are sleep locks. If a task tries to obtain an occupied semaphore, the semaphore will push it into a waiting queue and then let it sleep. In this case, the processor can regain freedom to execute otherCode. When
Work Executed in the lower half and after the push
1. Lower half
In the lower half, the task is executed, which is closely related to the interrupt processing, but the interrupt processing.ProgramFor jobs that are not executed by themselves,
Process Management
1. Process Descriptor and Task Structure
Processes are stored in a two-way cyclic linked list called a task list. Each item in the linked list contains all the information of a specific process. Its type is task_struct, known
I. fcitx, slightly unstable and intelligent
1. Installation: to prevent scim conflicts with fcitx, if you have installed scim, you 'd better uninstall scim.
SudoApt-Get purge scimSudoApt-GetInstallFcitx-config-GTK
Part 1:
Recently, I learned a Single-Chip Microcomputer Development Board from my senior student. The development tools and drivers he gave me are all under windwos, and I have been using Linux ...... It took a weekend and finally found a suitable
The/proc directory contains all system information. If necessary, you can use the following ls:
CAT/proc/cpuinfo # view CPU information. The content is full! CAT/proc/meminfo # view memory information. CAT/proc/ioports # view IO port
To obtain process information in Linux, you need to read the files in/proc/process ID/. If you want to read only one process, if you want to read many processes, in other words, it is a bit difficult to obtain information about all processes like
Basic concepts of one I/O
Character Device: The device that is accessed in sequence by means of a forward stream. Such as serial port and keyboard.
Block Device: Devices in the system that cannot randomly (do not need to access chunk blocks) of
Virtual File System
Virtual File System: the kernel subsystem VFS, which is the abstraction layer of the file system in the kernel and provides file system interfaces for the user space;
Through a virtual file system,ProgramYou can use standard
Document directory
Parameters
Option
Example
Tips
Terminate a process by name
Killall [Option] Name-list
Killall sends a signal to one or more processes to terminate it. Except for the Super User, only the process owner can execute
Document directory
Parameters
Option
Example
Tips
Displays information about system users.
W [Options] [Username]
W is used to display the name of the user currently logged on to the system, as well as their terminal device number, Logon
Document directory
Example
Used to display user information
Finger [Options] [User-list]
Finger is used to display user name, user full name, terminal device number, Logon Time, and other information
Options is used to control the display
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