There are 5 states of processes on Linux:1. Running (running or waiting in the running queue)2. Interrupt (dormant, blocked, waiting for a condition to form or receive a signal)3. Non-interruptible (receive signal does not wake up and not run,
Interrupt processing process is as follows:1, when the interrupt occurs, the CPU executes the exception vector VECTOR_IRQ code.2, in the VECTOR_IRQ, will eventually call the interrupt processing of the total entry function Asm_do_irq.3. ASM_DO_IRQ
Today, help our classmates to deal with the Chinese display garbled problem. This is a problem of domestic Linux users, because most of the Linux distribution is based on English, and English in the universality and stability is better than Chinese,
problems that novice may encounter when adding users and deleting users in Linux1. switch to a new user after creating a new User: No directory, logging in with home=/Add User #sudo useradd-m-s/bin/bash-g Group LoginName -M Create HOME
1 displays a list of last logged-in user information, including (logon time, exit time, login IP): [Email protected] ~]$ lastRoot pts/1 192.168.1.3 Wed 22:08 still logged in Sywu pts/0 192.168.1.3 Wed 21:52 still
File Directory related Operationsbasename Print File base nameCat read-out file to standard outputTAC Reverse Output fileChgrp changing file groupschmod change the mode bit of the fileChown changing the owner of a fileCP CopyCpio copy or copy from
V4L (Video4linux is the basis of some video systems, video software, audio software, often in the need to capture images of the occasion, such as video surveillance, webcam, videophone, oftenUsing the system interface that is often used in Linux
1. ACL Permissions Introduction: Professional to solve the problem of insufficient identity (similar to Windows Rights Assignment) View partition ACL permissions open: Dumpe2fs-h/dev/sda3 options:-H Show only information in
under the use of Linux/unix, often using the text interface to set up the system or operating system, the author himself in the process of work is also in constant contact with this command, so for This special brewing, preparation, began the
For example a directory has 1,2,3,4,5 these five files, now I need to delete all except 2 files, then I can useFind. ! -name 2-exec rm-f {} \;Of course, you can also cooperate with the-maxdepth to more accurately delete.The following surface shows
First on the code:#include #include #include #include static char* whom = "World"; static int howmany = 1;module_param (howmany, int, s_irugo); Module_param (WH OM, Charp, s_irugo); static int hello_init (void) { int i; PRINTK (Kern_
Linux commands (5) mkdirmkdir is a command to create a directory, after the general input Midir, followed by the directory name, or after the path to add a directory name, you can create a new directory under Linux.?Command format:Mkdir [-p]
Mount a USB flash disk in linux and solve the garbled problem.
1. Switch to the root user first;
2. Run the fdisk-l command to view the disk information and find the USB flash disk (you can determine the disk Size Based on the displayed size)
3.
Configure Remote Desktop in CentOS
Environment:
CentOS 6.3 Final. All components except KDE are installed on the desktop.
1. Install the service
[Plain] view plaincopy
Yuminstalltigervnc-server
The name is a bit strange. CentOS5 is called
Install and configure a ProFTPD instance in KaliLinux
1. Install ProFTPD
In
Root @ kali :~ # Wget ftp://ftp.proftpd.org/historic/source/proftpd-1.3.0a.tar.gz
Root @ kali :~ # Tar-xf proftpd-1.3.0a.tar.bz2 (or tar zxvf proftpd-1.3.0a.tar.gz)
Root @
Python process Programming
1. There are two ways to achieve concurrency, one is to let each "task" or "process" work in a separate internal space, each with its own working memory area. However, although processes can be executed in a separate
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