Today learned the first day of the course, understand the history of Linux, the system core operating mode, more thorough understanding of the underlying work mode. Listen to the outline of the Marco, more and more looking forward to the course, it
Under Linux, remove all. SVN directory methods toFind. -type d-name ". SVN" |xargs RM-RFOrFind. -type d-iname ". SVN"-exec rm-rf {} \; The exam is very warm tip: This content is from the network, only representative personal views, and the position
See two macro functions when looking at the code: likely () unlikely ()#define LIKELY (x) __builtin_expect (!! (x), 1) #define unlikely (x) __builtin_expect (!! (x), 0)__builtin_expect () is about processing branch predictions, allowing the compiler
First, Linux file system structure: . Span style= "Color:rgb (0,176,80);" >l The file directory under the tree structure is the root directory of the file: Whichever version of linux system, all these directories, These directories
Vim ~/.VIMRC writes the set NU and automatically displays line numbers after using Vim.
Shift + V Row Select x Delete
U Undo Ctrl + R anti-undo
File test.c to view files of type
Du./-sh View disk space
Clear = Ctrl + L Quick
OSI model (theory) TCP/IP model (reality)Application layer (application) application layer (application): Smtp,ftp,telnetPresentation Layer (Pressention) Transport Layer (transport): Interpreting dataSession Layer Network layer (IP): Locate the IP
1. There are two main categories of data: directory, archive2. There are three main categories of file users: Owner, Group, others3. File properties: R (Readable 4), W (writable 2), X (executable 1)4. Permission format: example [-][rwx][r-x][r--] a
Method One: Temporarily modify the machine name: hostname www.2cto.com with the hostname command can temporarily modify the machine name, but after the machine restarts, the original value will be restored. #hostname//view machine name
(1) Lsb_release command view a command for the LSB (Linux standard Base) standards developed by FSG (Free Standards Group) to view distribution information for Linux compatibility[Email protected] oracle]# lsb_release-hFSG Lsb_release v2.0 Prints
A few days ago in windows8.1 installed ubuntu14.04, in the Windows deep sleep, open and enter the option to enter the system, then did not pay attention, chose to enter the Linux system, but entered one after the discovery can not enter the Windows
Linux _ familiar with common Linux commands and linux commandsMan: at any time, if you are not sure about a command line, you can enter "man + command" to understand what this command can do. Ls: List Directory content. Pwd: display the full path of
Temporarily disabling a user in CentOSHow to temporarily disable a user in CentOS is to temporarily prevent the user from using the Linux system, rather than deleting it.You can achieve this through the following two methods:1. only remove the
Red Hat/CentOSext4 cannot format large partitions
The RedHat/CentOS 6.5 e2fsprogs version is earlier than 1.41.12, so you cannot create a file system larger than 16 TB.
Download the latest e2fsprogs, compile and install
Sqlite: multi-threaded database operation "database is locked" solution (2), sqlitelocked
In the previous blog "sqlite: multi-threaded database operation" database is locked "solution", we registered a latency function to solve the database lock
Install Ubuntu 12.04 and win712.04 in Windows
1. Download Ubuntu12.04 (ubuntu-12.04-desktop-amd64.iso)
2. Download easyBCD (EasyBCD2.2)
3. Set the startup Item:
1) Place the ubuntu image file in the C root directory, and extract vmlinuz and initrd.
CentOS7 + Tomcat production system deployment1. Prepare an OS account
To ensure security, the production system cannot use the root account to run tomcat based on the minimum permission principle. Create a new account tomcat and set the logon
Solution to shutdown tomcat process failure in linux
1. Problem
In linux, I found that the./shutdown. sh that comes with tomcat6.0.41 often cannot stop the process, resulting in various problems, which makes me quite disgusted!
2. solution 1:
View CPU and memory load in linux
$ Vmstatprocs ----------- memory ---------- --- swap -- ----- io ---- system -- ----- cpu ------ r B swpd free buff cache si so bi bo in cs us sy id wa st 1 4 329796 26040 4528 1 50 160 36 17 2 10 85 3 0 results are
Linux Knowledge Point CollectionFile Name
In Linux, the file name of each file or directory can contain a maximum of 255 characters, and a full path can contain a maximum of 4096 characters;
Since Linux has some command operation relationships under
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