Linux Sub-volume compression command1. Using Tar to split the volume compressionFormat Tar Cvzf-filedir | Split-d-B 50m-filenameExamples:Tar cvzf-./picture | Split-d-B 10m-picture pack./picture and cut to 10mThe output files are filename00, filename0
The philosophical thought of Linux
All documents
Almost all resource systems are abstracted into file form: including hardware devices, even communication interfaces, etc.
Consists of a number of single-function programs:
The first step: Download the jdk1.8 file in the Linux environmentMy Linux is 32-bit, so I downloaded the jdk-8u144-linux-i586.tar.gz file. Download link address: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html as
1: Interrupt processing is a few points to note(1) in an interrupt context, you cannot interact with user spatial data, that is, you cannot use Copy_to_user () and Copy_from_user (). (2) Interrupt context, cannot hand over the CPU (cannot hibernate,
Process state transition DiagramPROCESS STATE CODES R running or runnable (on run queue) D uninterruptible sleep (usually IO) S interruptible sleep (waiting for an event to complete) Z defunct/zombie, terminated but not reaped by its
1. Enter/ETC/RC.D/INIT.D, create a new file Tomcat, and make it executable chmod 755 Tomcat.[Email protected]/]# cd/etc/rc.d/Init.d[[email protected]-3C46 init.d]#VItomcat#!/bin/bash##/etc/rc.d/init.d/tomcat# init script forTomcat precesses##
1. Please write a script for the purpose of the read instruction, he can let the user input: 1. First name with 2. Last name, finally and on the screen: "Your full name is:" Content: #!/bin/bash#program:# use input his first name and last name.
1, using the Find command can be resolved, the find syntax is as follows:Find command options-name: Finds files by file name.-perm: Finds files according to file permissions.-prune: Use this option to make the Find command not found in the currently
Introductiongrep is a powerful text search tool that uses regular expressions to search for text and print matching lines. The grep full name is global Regular expression Print, which represents the globally regular expression version, and its use
1, temporarily modify the network card DNS addresssudo vim/etc/resolv.confChange to the following content:NameServer 8.8.8.8 #修改成你的主DNSnameserver 8.8.4.4 #修改成你的备用DNSsearch localhost #你的域名I used the Google DNS resolution server, Modified: Wq exit,
Add userUseradd or AddUser. Actually AddUser is a soft connection of useradd. Take Useradd as an example, with the usage of useradd [option] USERNAME1 [[email protected] ~]# ll 'which adduser '217 May 26 £/usr/sbin/adduser -Useradd-u Specifies
1 tab command completion or directory path completion2 Control+c terminate the current task or program3 Control+d exiting the current user environment is equivalent to exit logout4 control+l Clear screen, equivalent to clear command5 control+shift+c
In high-level language, such as C language to write a factorial very easy, it is now familiar with the Linux use at/T assembly format to write a program to calculate the factorial barThe first is to use the jump command to implement. The second is
A bash script written under Windows dragged into the coding problem of scripting errors in the Linux environmentScripts are often written under windows and dragged into the Linux environment to run. But in the process of running, there are often
Microsoft's first chat robot, Tay, was put off because of foul language and racist rhetoric, and then the company quietly launched its Zo. But earlier this month, Zo inevitably sparked some controversy. Although it avoided political rhetoric this
Establish lnmp in linux and lnmp in linux[Original] compile and install lnmp environment preparation software: nginx1.10.3 + php-5.5.12 + mariadb10.0.8 (the database is installed using yum here)
If you need to compile and install it, please leave a
Mysql-5.6.20 installed in rpm Mode Under CentOS6.5 and RedHat6.5, centos7mysql5. 6rpm
1. Check whether MySQL has been installed in linux.
Rpm-qa | grep-I mysql # uninstall the old version yum-y remove mysql first...
2. download the required
Install mysql and change the initial password.
We can use a method similar to the security mode to change the initial password.Run the mysqld_safe -- skip-grant-tables command First (set to security mode)&, Indicating that it is running in the
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