Open SourceCommunityLupa provides a lab for Linux beginners to remotely connect to the lab.lupa.cn server through SSH, and then learn some basic Linux commands.
Server InformationLogon address: lab.lupa.cnUser name: LabPassword: LabRecommended
I installed it once before. This time the system was reinstalled and I forgot to save the dictionary. Because the address of the original project has been stopped and the dictionary is not easy to find, it is now sorted as follows for your reference.
DF command is Linux The system views the file system by disk partition. You can add parameters to view the remaining disk space. Command Format:DF-Hl Display format: File System capacity used available % mount pointFilesystem size used avail use %
IfconfigView the IP configuration of the Local Machine
Ifconfig eth0 (Note: Corresponding Nic name) new IP netmask 255.255.255.0/Etc/rc. d/init. d/network restart Restart serviceMethod 1 for modifying the IP address of the Local Machine
Directly
Linux Kernel System Call
1. ApplicationProgramProgramming through APIS rather than directly calling system calls;
2. getpid () System Call example:
Asmlinkage long sys_getpid (void)
{
Return Current-> tgid;
}
The asmlinkage
Obtain the PID of the process:PS-Ef | grep process_name | grep-V "grep" | awk '{print $2 }'
View All threads of a process# Ps MP 6648-O thread, tidUSER % CPU pri SCNT wchan user system tidRoot 0.0 ------Root 0.0 24--6648Root 0.0 21--6650Root 1.0 24
Linux uses part of the hard disk as the swap partition for process scheduling-the process is running.Program-- Change unused processes to 'wait (standby') 'or even 'sleep (sleep)', and then 'Active )', sleep processes lie down in the SWAp partition
I. Introduction to the NFS service
NFS is short for network file system, that is, Network File System. An agreement for the use of distributed file systems, developed by Sun, was published on April 9, 1984. The function is to allow different
Address: http://javaangle.blog.163.com/blog/static/1079330652010111374551387/
1. Test EnvironmentUbuntu10.10/jdk1.6u212. Installation Process2.1 Download the JDK Installation File. Download the bin format here.2.2 copy the installation file to/home/
MakefileFileMakeCommand execution.This file contains a compilation rule for the project. Compile the file first.IDEYou can do this by yourself. Here is a brief introduction. Details:Http://www.chinaunix.net/old_jh/23/408225.html
Rule: Target:
Blue file ---------- directory
White file ---------- general files, such as text files, configuration files, source code files, etc.
Light blue file ---------- link file, mainly the file created by using the ln command
Green file ----------
ArticleDirectory
What is a PID file?
Nginx default PID File
Modify the PID in the configuration file
Stop nginx with PID File
Reload the configuration file with the PID File
The following command is generally used to
Author: Charles Yang
Linux Dist: Ubuntu 8.04 hard
1. Preparation
1.1 download source code with apporiate version
Usually, the Linux release distribution have no full kernel source code tree. So you shoshould get a copy of kernel source
---- Linux restart command ----
1. Shutdown2. poweroff3. init4. Reboot5. Halt
* --- Description ---
ShutdownRebootIn Linux, some common shutdown/restart Commands include shutdown, halt, reboot, and init, which can be used to restart the system.
Description of TOP command parameters in Linux
The top command is a common performance analysis tool in Linux. It can display the resource usage of various processes in the system in real time, similar to the Windows Task Manager. The following
Linux Shell script
I recently learned about Linux shell scripts, found a basic document, and transferred it for later use.1. Linux script compiling Basics1.1 Basic syntax IntroductionStart with 1.1.1The program must
Clear free cache by modifying drop_caches of Proc System$ Echo 3>/proc/sys/Vm/drop_caches
Drop_caches detailed documentation is as follows:Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that
In Linux, everything is a file, so that data and devices can be operated through the same system call interface.
The running status of the processor can be divided:
Running in the kernel state and in the process context indicates that a process
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