Transferred from: http://os.chinaunix.net/a2008/0526/981/000000981211.shtmlThese two days have been doing an i²c device driven understanding, so rarely updated articles.Because the RTC hardware clock is very important for the meter, and its
Experiment 1 The programming of the command interpreter one, the experimental purpose(1) Master the Principle of command interpretation procedure;(2) Master the simple Dos call method;(3) Master C language programming preliminary.Second, the
Nginx is a very lightweight Web server, small size, high performance, fast, and many other advantages. But shortcomings are also shortcomings, such as the resulting access log file has been one, will not be automatically cut, if the traffic is very
Experiment one, the writing Experiment of command explanation programFirst, the purpose of the experiment(1) Master the Principle of command interpretation procedure;(2) Master the simple Dos call method;(3) Master C language programming preliminary.
After installing centos debugging, you need to browse the web page. at that time, because the installation was minimal in the English version, the text in the web page was garbled. I first searched the internet for the following two articles, but
Easy independent, secure, and distributed network backup
Level: Intermediate
Carlos justiniano (Carlos.Justiniano@ecuityinc.com)Software Designer, ecuity Inc.
The loss of important data may cause fatal damage. Despite this, countless professionals
AliasNote: Set aliases and display aliases for commands.
Syntax: alias [alias] = [command name] % is an alias starting with [command name.
Alias [alias] % displays the command corresponding to [alias.
Alias % displays all alias settings.
Bg Note:
In shell scripts, you often need to obtain the system time to process an operation. Today, the system learns how to obtain the system time. The record is as follows:
Linux system time can directly call system variables in shell, for example:Get the
Imagine that my server has a database, and the data in the database is different every day. So when I back up the database, I want to back up the data every day to a different file name, in this way, the old data can be saved and not overwritten.
Is UNIX used in daily office environments? Not necessarily very clumsy. Using the powerful functions and available system tools of Unix shell can greatly improve your work efficiency in the office.
Introduction
UNIX? The command line language is
Change the system time of the US vps to Beijing time.When using vps outside China, you may feel that the time on vps is not Beijing time and it is awkward. Today we will change it back to Beijing time. First, log on to your vps, use the date command
[Linux] application of reverse quotation marks (') in shellThe quotation mark (') is located at the top of the Tab key of the keyboard and the left side of the key 1. Note the difference between it and the single quotation mark (') on the left side
Linux -- watch command use 1. watch command introduction www.2cto.com watch [options] commandThe watch program executes a given command at regular inter-vals; the default is every two seconds. the command is passed to the shell (so be sure to quote
System modification time in Linux
Linux system modification time
Two steps
(1) date 042612492005
(2) hwclock-w
The first step is to set the time. After the time is set, you can run the date command to check whether it is correct... note that it is a
It is accidentally found that access. log is 21 GB big, so it is cut.
Nginx is a lightweight Web server with many advantages such as small size, high performance, and fast speed. However, there are also shortcomings. For example, the access log
6.shell function6.1. Defining functionsBrief introduction:The shell allows a set of command sets or statements to form an available block that becomes a shell functionDefining the format of a functionMethod OneFunction name (){Command 1......}Method
4 System Administration commands
Shutdown graceful shutdown &NBSP
Reboot Restart computer PS &NBSP ; Show transient process status, view current program execution ps-aux
Command Description: View the full path command for the current directory: PWD650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/9D/52/wKioL1l-hTGQk1XEAAASnJ7lPnA750.png-wh_500x0-wm_ 3-wmp_4-s_610637099.png "title=" 1.png "alt="
1, modify the Linux time can try the date commandThe function of the date command is to display and set the system time and date.Enter date to view the current system time:2. Date of modification:The order of the time set to September 6, 2015 is as
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.