linux-System Management Related commands--AT;LP

Source: Internet
Author: User

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

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.