At
1. Role
The at command is used to execute the specified sequence of commands at a specified time.
2. Format
At [-v] [-Q x] [-F file] [-m] time
3. Main parameters
-V: Displays the standard error output.
-Q: Many queue outputs.
-F: Reads the job from the file.
-M: Sends an e-mail message to the user after the job has finished executing.
Time: Sets when the job executes. The time format has strict requirements, consisting of an offset of hours, minutes, dates, and times, where the format of the date is mm.dd.yy,mm minutes, DD is the date, and YY refers to the year. The offset is formatted as a time + offset, in minutes, hours, and days.
4. Application examples
#at-f data 15:30 +2 days
The above command indicates that the system is allowed to execute the job specified in the file data in 17:30 after two days.
LP
1. Role
LP is a command to print files, and the use of permissions is for all users.
2. Format
LP [-c][-d][-m][-number][-title][-p]
3. Main parameters
-C: Copy the file before printing.
-D: Print the queue file.
-M: Send e-mail to the user after printing ends.
-number: Number of copies printed.
-title: Prints the title.
- P: Sets the priority level for printing up to 100.
4. Application examples
(1) Print multiple files using LP command
#lp 2 3 4
Request ID is one (3 file (s))
where 2, 3, and 4 are filenames; "Request ID is one (3 file (s))" means this is the 11th Print command, which prints the three files in turn.
(2) Set the print priority level
#lp lp-d laserjet-p 90/etc/aliases
by adding "-P 90", the priority of the print job is 90. It will print before a print job with a priority lower than 90, including jobs with no priority, and the default priority is
This article is from the "--" blog, please be sure to keep this source http://57388.blog.51cto.com/47388/1544743
linux-System Management Related commands--AT;LP