shell programming file creation date; server configuration for Web Server on virtual machines

shell programming file creation date

1. Please write a script named sh01.sh, which is:

Keyboard input file name (requires the use of spelling the name as the file name).

Automatically create three files.

A system for the current date (CCYYMMDD).

A date is one day before the system.

A date for the former system of the two. 

image

Server configuration for Web Server on virtual machines

1.rpm –qa | grep httpd

wps31

2.命令:yum install  httpd –y

wps32

wps33

wps34

3. wps35

4. wps36

5. wps37

wps38

Guess you like

Origin www.cnblogs.com/gdf456/p/12010537.html