Required: Delete the specified file 2 days before LinuxFind FileProblem: There are a large number of temporary files containing picture_* in the TMP directory, which cleans up files a day before 2:00 every night. Before running the following script
Simply put, a channel accepts the output of a tool software and then inputs that output to other tool software. Using Unix/linux's vocabulary, this channel accepts the standard output of a process and uses the standard output as the standard input
Due to data requirements, the need to frequently crawl and filter filtering data, used about 7 8 months, the machine changed the data, restart, found "No space left on device"Workaround:Delete log directly (simple Brute):Delete all logs:
See if Samba is installed under the systemRpm-qa |grep Samba
Installing SambaYum-y Install Samba
Configure SambaCreate directory SambaMkdir-p/home/samba
Modify Samba Permissionschmod 777/home/samba
Shutting down the firewallService
View system disk device and partition informationFdisk–lUse for unpartitioned disk partitions: FDISK/DEV/SDBEnter N to create a partitionEnter p to create the primary partitionEnter 1 To specify the number of the partitionTo set the capacity input
Haven't written a blog for a long time, write an environment to build it.Do Java, and sometimes contact the Linux environment, you can build a, easy to do their own experiments and learning.1. Download VM11.Download and follow Vm:http://rj.baidu.com/
Linux System Scheduled Tasks/etc/crontab Cron master configuration file, you can define pathThe cron format is as follows:#.----------------minutes (0-59)# | .-------------hours (0-23)# | | .----------Day (1-31)# | | | .-------Month (1-12)# | |
Source: http://www.cnblogs.com/stli/archive/2010/11/10/1873212.htmlHard Links:1: The filename has a unique i-node representation, as the file name is a pointer variable, I-node is the object of the pointer refers to the content, which mainly
See the bird's-brother Linux private Dish*-wildcard character, which represents random characters (0 for many)? -Wildcard, which represents a character#-Gaze/-Jump symbol to restore special characters or wildcards to a general symbol| -demarcation
In multi-threading, in the properties of mutexes and read-write locks, there is an attribute called process sharing.For mutexes, the method for querying and setting this property is:Pthread_mutexattr_getpsharedPthread_mutexattr_setpsharedAt first I
Common Linux commands-permission management commands chmod and Common commands chmod
Command name: chmodCommand: change the permissions mode of a fileCommand path:/bin/chmodSyntax: chmod [{ugoa} {+-=}{ rwx}] [file or directory][Mode = 777] [file
Set the port range for Linux/Windows.
Recently, the program failed to start because the port occupied the listening port.Therefore, I checked some information and saw where to set it.
Linux (CentOS ):The default value is 32768-61000.
Modification
Configure the firewall for CentOS
Yesterday, I helped my friend configure the CentOS server. At the beginning, I shut down the firewall for convenience of testing. Then I needed to configure the firewall. I found several firewall rules on the
Common Linux Network Tools: nmap for batch host service Scanning
In Linux, there are many powerful network scanning tools, including host scanning, host service scanning, and route scanning.
You have previously written common host scanning and
Configure JMX in ActiveMQ5.10.2
One of the features of ActiveMQ is that JMX is well supported. Through JMX MBeans, you can easily monitor and control the ActiveMQ broker.
In view of the JMX features provided by the official website, the
Linux regular expression-character Span
Metacharacters allow you to specify repeated characters. Consider the following expression:11*0It will match each of the following rows:101101111101111111111111111111111111110These metacharacters make the
Configure bridging network in CentOS 6 system kvm Virtual MachineConfigure bridging network in CentOS 6 system kvm Virtual MachineFirst, disable and uninstall the NetworkManager tool to enable the built-in network service.Chkconfig NetworkManager
Naming rules for CentOS disks and partitions
In Linux, there is no drive letter concept. The device name is used to access the device, and the device name is stored in the/dev directory.
The SSD, SAS, and SATA hard disks mentioned above are all
How to build an ftp server in Linux
Build an ftp server in Linux.
Ftp will start two channels:Control Channel, Data ChannelIn the ftp protocol, the control connection is initiated by the client, and the data connection has two modes: port mode
Experience 54-Build a linux virtual machine environment
I haven't written a blog for a long time. Write an environment.
If you are a java developer, you may have access to the linux environment. You can set up one for your own experiment and study.
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