PackagedThe list of files to be packaged is put into c_list.txt, and if it is a database file, you can use show tables; commands to list the table names.#!/bin/bash# Bulk Package for I in ' cat c_list.txt ' do tar-jcvf $i. tar.bz2 $i. frm $i. MYD $i.
ctrl+z/bg/nohup/setsid/&In Linux, if you want the process to run in the background, in general, we'll add & after the command, in fact, this is putting the command into a job queue:./rsync.sh JobsHowever, if the process is executed above the
What is the lsof command? You can list information about the files that are opened by the process. The files that are opened can be1. Common files, 2. Directory 3. File of the network file system, 4. Character device file 5. (function) shared
Linux-controlled USB binding/Unbindinghttp://www.jianshu.com/p/57293f9be558
Today's work encountered a problem, to use the code to achieve the USB enable and disable. Google a little, finally find the ideal answer, I am here to do a short
Original(1) Copy Local files to remoteSCP filename User name @ computer IP or computer name: remote pathLocal 192.168.1.8 Clientscp/root/install.* [email protected]:/USR/LOCAL/SRC(2) Copy files back to local from remoteSCP User name @ computer IP or
When using Xshell root to display the SSH server rejected the password, should be the setting of the sshd does not allow the root user to log in with a passwordModify the/etc/ssh/sshd_config file, note that the installation of OpenSSH will have this
Su:swith User switch users, switch to root userCat:concatenate SeriesUname:unix Name Name SystemDf:disk free HDDDu:disk Usage HDD UsageChown:change owner Change OwnersChgrp:change Group change user groupsPs:process Status Process stateTar:tape
What isEpollWhat is Epoll? According to the man manual, it is an improved poll for handling large batches of handles . Of course, this is not the 2.6 kernel, it is introduced in the 2.5.44 kernel (Epoll (4) is a new API introduced in Linux kernel 2.5
Linux defaults to allow anyone to restart the system by pressing Ctrl+alt+del . However, in a production environment, the ability to restart the system by pressing Ctrl-alt-del should be deactivated. The previous CentOS version is configured in/etc/
1. Download UltraISOFILE--Open, check centos.iso image; Start-to-write HDD image--Hard drive (select U disk) write mode (USB-HDD+V2)--write;2. Delete into the ASUS motherboardSelect the U-disk start selection Test & CentOS Install3. Install the
to find convenience, move forward from all the way.We need to compile the code that runs on the arm platform,UseThe Cross compiler forARM-LINUX-GCC。 Below willARM-LINUX-GCCSome common command parameters of the compile tool are introduced to everyone.
Tag: CP RM MV1. cp and inode when the file does not exist, assign a new inode number and create a new file;When a file exists, the inode number takes the inode number of the target file before it is overwritten650) this.width=650; "src="
The use of the VI command on Linux to modify a file content, found unable to save, each time after the use of ": q!" command can exit normally but use ": wq!" command to save the file and exit when the message appears:E212:can ' t open file for
Recently mounted n many file systems, roughly the corresponding characteristics of different file systems and mount mode, but still the Linux file system is not from the source to understand. Superficial understanding really not good.So learn from
Method One: Use the Set password commandFirst, log in to MySQL?
1
mysql -u root -p
Then execute the Set password command?
1
setpassword for[email protected] = password(‘654321‘);
In the
Brief introductionFREERDP is an open source Remote Desktop system that supports a variety of platforms, and the use of FREERDP in Ubuntu makes it easy to log in to Windwos Remote Desktop.Installationsudo apt-get install freerdpUsexfreerdp -f
Kickstart and kickstart
There are many options for kickstart to automatically respond to files. The following only describes several common options that may be used in CentOS 6. In addition, the options of CentOS 6 and CentOS 7 are quite different,
Linux networking notes, linux networking
I always thought that what I said about linux was not enough in fact to keep up with the ever-changing needs of applications.
There are too many errors in the existing documents. After all, however, after
Build LAMP wordpress quickly in CentOS 7
LAMP is the standard for the classic and quick deployment of Internet applications. It is short for Linux + Apache + Mysql + PHP. Previously, I wrote about LAMP build based on CentOS6 and yum. This article
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