Linux Scripts Bulk Tar package multiple files, batch unzip multiple files

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.

Several ways to run the Linux process in the background (screen)

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

Linux command-lsof View process open those files or view files for that process using

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/Unbinding

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

Copy remote Linux server files to local command (ZZ) under SSH connection

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

Xshell connection to Linux (deepin) prompts the SSH server to reject the password, please try the workaround again

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

Linux command shorthand and full name

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

Linux Epoll Summary

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 CENTOS7/RHEL7 off Ctrl+alt+delete function keys

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/

HDD Mechanical HDD Installation Linux (CENTOS7)

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

ARM-LINUX-GCC common parameters Explain how GCC compilers are used

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.

The relationship between CP, RM, MV, and Inode in Linux

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="

Linux operation Tip: "Can ' t open file for writing" or "Operation not permitted" workaround

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

The source and introduction of the file system of the VFS file system in Linux

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

Linux forgot password/change password

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

Using FREERDP to connect Windows Remote Desktop under Linux

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

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,

Keepalived + lvs configuration and installation, and keepalivedlvs Configuration

Keepalived + lvs configuration and installation, and keepalivedlvs Configuration Installation: Tar-zxvf keepalived-1.2.2.tar.gz Yum list all | grep "ipvsadm" Yum-y install kernel-devel openssl-develpopt-devel ipvsadm libnl-devel Service iptables

Linux networking notes, linux networking

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

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

Total Pages: 5467 1 .... 808 809 810 811 812 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.