On the internet to find some of the LVM set up the article, combined with their work experience, some commonly used commands and parameters to summarize the record down, on the one hand, lest they forget later, on the other hand can also share to
one, Dead lock
Four conditions that produce a deadlock(1) Mutually exclusive condition: A resource can only be used by one process at a time.(2) Request and retention conditions: a process that is blocked by requesting resources, retains the
You wrote a command-line program called NB, and you want the tab to automatically list the prompts you want after bash enters NB spaces.
Or you want to be able to list all the names of the machines you have permission to connect to by the Space
The concept of DTS, here is not much to say,
My example here is OpenWrt DTS; the CPU is 7620;
Here's Power_led's Gpio 44
First look at the right picture:
There's a structural body called Gpio2,
Gpio-base:gpio number of heads, base site
The
When you are working on Linux commands, the following words appear frequently
1
You have mail in/var/spool/mail/root
This is a hint to have the latest mail, you can use mail command to read
1 2 3 4 5 6 7
The following learning notes are collated from "Docker Development Practice" http://www.ituring.com.cn/book/1631
Ubuntu Install Docker Fedora Install Docker Redhat install Docker verify Docker is installed successfully
Ubuntu installation
I want to view man gcc in window
I'm using the SECURECRT input command.
Man gcc > Mygcc.txt
More Mygcc.txt #查看正常, Q quitVI mygcc.txt #会出现大量的^h , I found that I first press ' CTRL ' + ' V ' will appear ^ then press ' back space ' will appear H
CRC is the cyclic redundancy check code: It is the most commonly used in the field of data communication error check code, which is characterized by the information field and check the length of the field can be arbitrarily selected.CRC Verification
There was a problem today, the Tomcat restart on Linux failed, because it was a bit of a surprise to have to reboot the server and not do any extra commands.
Later ready to upgrade Tomcat, upload installation package when found that the storage
1 Linux Dynamic Static library is what.
Some code is born into a code package for other programs to call, that is, dynamic static library. Static and dynamic libraries are not executable files, but are compiled from source files.
Linux, the static
Linux GCC pre-compilationCommand: GCC-E test.c-o test.i
Precompiling mainly completes the following functions:1. Delete all comments "//" and "/**/";2. Delete all the "#define" and expand all the macro definitions;3. Handle all conditional
Original: http://hi.baidu.com/tim_bi/blog/item/63728b8b613f33dcfd1f10dd.html
The 3.11 section of Advanced Programming in UNIX environments describes atomic operations, one of which is adding data at the end of a file. The article said that if
The Linux software vendor Novell has alerted its SuSE users that a major security vulnerability was found in Linux kernel 2.6 that could cause the system to crash.
As we all know, the Linux kernel 2.6 was completed at the end of last year. The new
CD Switch Directory
Dir Display directory contents
LS Display directory content
Cat displays file contents, suitable for small files
Less display the contents of the file, can be read back and forth
More split screen display file content, not to
The first step: Change port = 8080 to port =80 in the configuration file/etc/tomcat7/server.xml
Reboot TOMCAT7, still unable to access localhost in browser
Open the log file/var/log/tomcat7/catalina.out and you will see the following
After using SECURECRT to link a virtual machine, there is a very useful function, that is, the left key to select can be copied, click the right button can be pasted, and then reinstall the system, after reinstalling the software found that the
Summary of permissions: for ordinary files:r:read 可读,表示具有读取、阅读文件内容的权限w:write可写,表示具有新增、修改文件内容的权限(是否可以删除看上级目录的权限)1) 如果没有r,那么vim会提示无法编辑(可强制编辑,echo可以重定向编辑或追加)2) 如果没有r,那么执行他也会提示权限不足3) 删除文件(修改文件名等)的权限是受父目录的权限限制的,和目录本身权限无关x:execute 执行权限,For the
Linux 7th DayTime: 20180723Bash featuresCurly braces unfold{001..20..2}Command completionTag option completion (CENT7 support Bash-complement)Command line HistoryHistroy ~/bash_history!! Repeat the previous command!-1 repeat the previous commandCtrl+
5th Day of Linux LearningTime: 20180720Order of execution of commandsAlias internal Command Hash PASHWhen the alias and command are the same, you can add \ or ' CMD ' in front of the command to use the command itselfCancel and End command execution:
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