Linux OS Timer task system Cron get startedWrite your notes first:Crontab-u//Set a user's Cron service, which is usually required by the root user when executing this commandCRONTAB-L//list details of a user cron serviceCrontab-r//Delete a cron
Simple and versatile makefile templates:################################################ Single directory Universal makefile# target file can be set by itself # Start debugging program, modify CFLAGS variable to-wall-g## wuyq 20140825################
Time programming functions in the Linux environment:More commonly used are ctime and localtime.char *ctime(const time_t *TIMEP);Char *ctime_r (const time_t *TIMEP, char *buf);struct TM *localtime(const time_t *TIMEP);struct TM *localtime_r (const
method One, update the project periodically with Shell script 1. Enter the root directory of the site, assuming the project location is placed in/var/www/testcd/var/www/test 2, the establishment of script file update.sh, in two steps. First created
RPM is a package management tool and is a very common commandRpm-i/Path/package: Installation-H: Displays the installation progress with the # key-V: Show more informationCommonly used together with RPM-IVHRPM-Q Package Name: Query whether the
Tomcat self-boot configuration:method One:XML code
Vi/etc/rc.local
Add the following lineXML code
/opt/apache-tomcat-7.0.29/bin/startup.sh
(Absolute script path)Note: To add the top of exit 0, reboot try.Method Two:1,
"Copyright Notice: respect for the original, reproduced please retain the source: blog.csdn.net/shallnet or .../gentleliu, the article is for learning communication only, do not use for commercial purposes"When the operating system into the multi-
/** * Fls-find last (most-significant) bit set * @x:the Word to search * * This is defined the same as a FFS. * Not E FLs (0) = 0, FLS (1) = 1, FLS (0x80000000) = 32. */Static__always_inlineintFLsintx) { intR = +; if(!x)return 0; if(! (X &0xffff00
★ Background: The program automatically generate log files, one day to generate a directory, directory for the hourly generated directory, that is, 24 directories, the hours directory for the file. Because of the large file size, the configuration
Linux Delete directory is very simple, many people are still accustomed to use rmdir, but once the directory is not empty, it fell into deep distress, now use the RM-RF command. Direct RM is available, but add two parameters-rf that is: RM-RF
Transferred from: http://dawndiy.com/archives/155/ Since the acquisition of Sun from Oracle for nearly three years, there have been many changes. As early as August, Oracle terminated the "Operating System distributor License for Java" license,
Sometimes we often encounter such problems: there is a page of telephone numbers, the above in order to write the rules of the name, home address, telephone, notes, etc., at this time we just want to take out all the names and their corresponding
/etc--this directory is a Linux system configuration file1. View account/ETC/PASSWD--FILE--command: vim/etc/passwd to view native account 2. Configure DNS/etc/resolv.conf--FILE--command: vim/etc/resolv.conf Add the appropriate DNS here 3. Network
"SVN is almost out."#安装subversionYum-YInstallsubversion# Creating the SVN repository base pathmkdir/home/svn# Creating an SVN repository Svnadmin create/home/svn/repos# Configuring the Developer directorymkdir/home/svn/repos/dev# Configuration Svncd/
Now we have a difficult problem, learn new knowledge, and forget the knowledge in front. It's a tangle.application and practice of disk quotas (Quota)general use of Quota:For network services There is WWW server: Everyone's web space capacity
File file path: View the file type, as well as special permissions, and some other information. Common types include,ASCII text(plain text),executable(executable file),data (file), and so on.
which [-a] command: To search for the absolute path
How to view environment variables under Linux and WindowsFirst, view the names and values of all environment variables:Under Linux: ExportUnder Windows: SetSecond, according to the name of the environment variable to check the value:Linux under:
CentOS 6.1 system image and text installation tutorials
I. Description:
The installation image file of CentOS 6.1 has two DVDs. The installation system only uses the first image file, DVD1, And the other image file is an attached software
Cross-compilation and configure configuration in Linux, linuxconfigure
In the past two days, we need to port a CDVS project code from the Linux platform to the ARM platform. It took us two days to get it done. The blog we applied for very early has
Forcibly change the MySQL password in CentOS
1. stop mysql service: service mysqld stop;
2. mysqld_safe -- skip-grant-tables
3. Repeat an SSH connection (that is, repeat a new black window );
4. Enter the following command:[Root @ localhost ~
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