Linux Common Command LearningThe role of PWD: To see what directory Users are currently in II, CD role: Into a directory 1, into the root directory: CD/2, return to the parent directory: CD. LS function: View the current directory of files 1,
1. DMESG: Used to view kernel's spit out some info. It seems that the master will use this command to install force;2. Udevadm Monitor: Root kernel about, kernel see all Io in and out3. Lsof: Sometimes umount a path will encounter device busy error,
Linux Create modify Delete user and group introductionIn the daily maintenance process to create user actions relatively more, but in this process involved in the knowledge point is not just useradd, next to learn more about account management
Basic operations for files and directories1 mkdir command: Create a directory1.1 Mkdir-p \data\jxm\-P Create a recursive directory2 Touch command: Create a file2.1 Touch 1.txt means to create a file.3 CP : Copy command3.1 cp-r/data/jxm/./-R is
2.1. Linux kernel, release versionLinux itself refers to an operating system kernel that cannot be used directly by the kernel. What we need, the operating system that can be used is a combination of the kernel and a number of useful applications,
View system Load conditions1, W (Use the W command to view load conditions)View load average line to see the 1-minute loading situation 5 minutes load situation 15 minute load situation, if the number exceeds the CPU core, then the CPU is now in use
Java Installation:Installation steps for Java in Linux:1, download jdk1.6.0Link: wget http://down1.chinaunix.net/distfiles/jdk-6u18-dlj-linux-i586.bin2. Install the JDK:Download the JDK to the relevant directory, such as: usr/local/To perform the
Of all connections:Netstat-na|wc-lNumber of valid connections:Netstat-nat|grep established|wc-lThe middle parameter established represents the number of valid connections!Groups the number of connections in various states of the server and queries
1. Which runlevel does the graphical interface start with? And what is the operating level of the command line mode we usually use? What does the other runlevel mean, in addition to the two common levels of graphics and command-line mode? How do I
1. Embedded Linux logo Display principleEmbedded Linux is directly based on the framebuffer. Direct display of a PPM format image. It kernel/drivers/video/fbcon.c in the Fbcon_show_logo () to complete, the maximum color support 224 colors
Read the Linux source when you see a bunch of these macro:#define FOO (x) does {f (x); g (x);} while (0)I've been trying not to understand why not use it directly#define FOO (x) f (x); g (x);Or:#define FOO (x) {f (x); g (x);}Search for a moment to
Linux system startup process and scripting (3)1. Special variable values${variable argument #* character} means left to right, with "character" as the delimiter, taking all strings after the first delimiter${variable argument ##* character} means
。Git was originally distributed version control software created by Linus Benedict Torvalds for more efficient management of Linux kernel development, unlike common version control tools such as CVS and subversion, which do not need server-side
Detailed planning tasks under Linux1. Perform a task at some point in the future; there are at and batch two commandsThe at format is as follows:At timeat> commandAt> Ctrl+d #提交的意思Specify time:Absolute time: hh:mm or DD. Mm. YY or Mm/dd/yyRelative
1. Introduction to Commands Free The (free) command can display idle, used physical memory and swap memory in the Linux system, and buffer used by the kernel.2. Usage Free [-B |-k |-m |-G |-h] [-O] [-S delay] [-C Count] [-A] [-T] [-l] [-V]3. Options-
Use options:Find [Paths] [actions]1. Name option, find by nameFind the manage.py file in the current directory: Find. -name ' manage.py '2, Atime/ctime/mtime option, based on time (24 hours) to findNote: A means that access,c represents create,m
Linux SVN useBlog Category:
Linux
SubversionsvncentoslinuxSVN is a version management system, formerly known as CVS, which is the cornerstone of open source software. Even in the case of sufficient communication, many people maintain
$# 是传给脚本的参数个数$0是脚本本身的名字$1 是传递给该shell脚本的第一个参数$2是传递给该shell脚本的第二个参数[email protected] 是传给脚本的所有参数的列表$* 是以一个单字符串显示所有向脚本传递的参数,与位置变量不同,参数可超过9个$$ 是脚本运行的当前进程ID号$? 是显示最后命令的退出状态,0表示没有错误,其他表示有错误
Difference:@">@@*
Same point: All parameters are
Linux Kernel Learning SummaryLiu Hao + Original works reproduced please specify the source + "Linux kernel analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000Foreword: The conclusion is divided into three parts, the first part
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