#!/bin/bash forFileNameinch* Do Echo $filenamey=$ (date-r$filename+%y)Echo $y if["$y"==" the"] Then Echo ' rm-r $filename 'Rm- F $filename fi Done According to time filter delete file,
Cp-af newadmin/movie/. uploadfile/mallvideo/How do I copy a directory under Linux? It seems to be a simple question.For example, to copy/home/usera to/mnt/temp, the first thing to think about isCp-r/home/usera/*/mnt/tempHowever, there is a problem,
/* In the following program, two constructors are set in the named class, and strings are received as string and char*, and when the setting shown in n is constructed as a string, the constructor of the string argument is invoked, and the string is
Sometimes the name of the network card that is added in the installation server is not in order, the following is the name of the network card defined by the manual method;/ETC/UDEV/RULES.D / 70-persistent-net.rules Here you can modify MAC the
Linux Kernel Learning Summary20125101 Song YumengThrough this period of time on the Linux learning, I have a relatively simple knowledge of Linux, and a lot of gains. From the outset, the assembly knowledge and data structure knowledge can not be
How to view multi-core load on Linux?# top # Press the number 1 . to display multiple cputop - 18:05:48 up 1 day after the 2:05, 1 user, load average: 0.00, 0.00, 0.00tasks: 174 total, 1 running, 173 sleeping, 0 stopped , 0 zombiecpu0
The root account of the Linux system is a very important account, but also the most privileged account, but sometimes forget the root password to do? Can not re-install the system, this is the next worst, in fact, Linux system, if you forget the
Linux Shutdown restart commandToday we introduce the shutdown Restart commands commonly used in Linux systems-shutdown, Halt, reboot, Poweroff, and init.Shutdown commandShut down the system in a secure manner or restart the system. It prompts a
IP: Change or display information such as routing, IP, protocol ip link: interface Management show [device]: Display NIC interface information set [DEVICE] [up | down]: Turn network interface on or
First, the simple operation of the file system1, DF: Disk and directory capacity DF [-ahikhtm] directory or file name-H: Display in GB, MB, KB and other formats that are easier for people to read-I: No hard disk capacity, and the number of Inode is
1 re-installed after the Ubuntu Restore boot menu is very simple. To update grub directly, you can:sudo update-grub2 It's a bit cumbersome to reload windows. Use the U disk to write the Ubuntu image restart to start the computer from the U disk, and
Linux ps command, linuxps
The ps command in Linux is short for Process Status. The ps command is used to list the processes currently running in the system. The ps command lists the snapshots of the current processes, that is, those processes that
Linux entry-user operation interface and linux entry-level user operation
The Linux system provides two basic interfaces for users to perform operations: Command Line and desktop.
I. Command Line
The command line in Linux usually refers to Shell.
Use the linuxps command
The ps command in Linux is short for Process Status. The ps command is used to list the processes currently running in the system. The ps command lists the snapshots of the current processes, that is, those processes that run
(1) Linux environment deployment (Centos + Nginx + Tomcat + Mysql)-FTP Installation
In my local testing practice, the following is a complete operating document for Centos + Nginx + Tomcat + Mysql on Linux. The record is as follows, we hope to give
Ubuntu system update-rc.d commands, ubuntuupdate-rc.d
Update-rc.d commands in Ubuntu or Debian systems are scripts used to update system startup items. The links of these scripts are located in the/etc/rcN. d/directory, and the corresponding
Use yum to install mysql in centos7
By default, mysql does not exist in the yum source of CentOS7. To solve this problem, we need to download the mysql repo source first.
1. Download the mysql repo
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