Linux the Getting Started#1. Linux Understand? The core prototype of Linux was written by Torvalds (Linus Torvalds) in 1991;? Linux is the operating system of open source.#2. Shell the Understanding? Shell commonly known as shell (used to
Help information for the date command[Email protected] source]# date--helpUsage: date [options] ... [+ format]Or: Date [-u|--utc|--universal] [MMDDHHMM[[CC]YY][.SS]]Displays the current time in the given format, or sets the system date.-D,--date=
Help information for the date command[root@localhost source]# date--helpusage: date [options] ... [+ format]or: Date [-u|--utc|--universal] [MMDDHHMM[[CC]YY][.SS]]Displays the current time in the given format, or sets the system date. -D,--date=
I. Linux common commands There are a lot of today we'll summarize the common entry commands:1.linux Shimonoseki command: Poweroff, init 0, Halt, Shutdown-h now2.linux Restart command: Reboot, init 6, Shutdown-r now3.shutdown command:Format: Shutdown
The Linux clock is divided into the system clock and the hardware clock (Real time clock, referred to as RTC). The system clock is the clock in the current Linux kernel, while the hardware clock is the battery-powered clock on the motherboard and
I picked the address:http://www.cnblogs.com/tk091/p/3671160.htmlI'm having an error accessing an HTTPS Web site using requestsError:14090086:ssl routines:SSL3_GET_SERVER_CERTIFICATE:certificate Verify failedFind this article
In the test process, in order to better expand the unit test, mock some data and objects are unavoidable, the following is the simple use of Python mock.About Python mock, there are a lot of information on the Internet, here will not speak
#!/bin/bash#文件全备脚本#删除7天以前的文件#调用方法#yxy#www. sql8.net#[email protected]#2014-08-20#请主意所有路径都为全整目录#sh filebak.sh The number of days to keep files for the destination directory backup file to be backed up#sh Filebak.sh/home/wd/wd/wd/home/wd/wd/bakup 7#sh
There is a requirement that the JSON format data be displayed in the standard output of Python, and if the indentation display looks good on the data, there are many things to do with the JSON package
Import JSON
date = {u ' versions ':
Recently encountered a situation, is to generate and send server usage reports on a regular basis, according to the different dimension statistics, involving the operation of the Python Excel, Internet, most of the same, and not too much to meet the
For large systems such as clustering and distributed, time and its synchronization are very important issues. The study of Redhat Linux and JRE (including Oracle JRE,IBM JRE) is summarized below.
1, the view of the time
The usual time can be
Array: "Focus 1" implode (delimited, arr) concatenate the array value data by the specified character For example: $arr =array (' 1 ', ' 2 ', ' 3 ', ' 4 '); $str =implode ('-', $arr); Explode ([delimited],arr) splits a string by the specified
Linux Delete Folder commandLinux Delete directory is very simple, many people are still accustomed to using rmdir, but once the directory is not empty, into deep distress, now use the RM-RF command.Direct RM is OK, but add two parameters-rf namely:
Classic Cycle Examples
Classic Cycle Example
?
for ($counter = 1; $counter {
Print ("counter is $counter \n"); Print 6 times
}
?>
For advanced application
Advanced application of for
?
/*
* * Print the necessary explanatory
First, how does Perl get
Copy Code code as follows:
#!/usr/bin/perl-w
Use POSIX QW (strftime);
My $day = strftime ("%y%m%d", LocalTime (time-24*3600)); #获取昨天的日期
Second, in Linux on the man date-d parameters of the
1, year-month-dayecho Date (' y-m-j ');
2007-02-6
echo Date (' y-n-j ');
07-2-6
Capital Y represents a four-digit year, while lowercase y represents a two-digit number for the year;
Lowercase m represents the number of months (with leading), while
Tips | For advanced application of tutorials
Advanced application of for
?
/*
* * Print the necessary explanatory text
*/
Print (" a few days from Monday?" \n ");
Print ("\n");
for ($currentDate = Date ("U");//define $currentdate time
Program | Essence article Source: PHP century Net
According to the needs of many netizens, specially put my station this analog OICQ online chat things to everyone!
1 users must register to login, in the database UserInfo to save the following
Program | Essence article Source: PHP Century Net
5 Chat message Send, read and reply program-shortalk.php
?
Require ("require.php"); Public programs that determine whether a user is legally online
?>
SMS
?
if ($action = = "View")
{
$tmp =
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.