This article explains the linux at command and provides an example to illustrate the usage of the linux at command.
How to Use the linux at command: at-V [-q queue] [-f file] [-mldbv] TIME & #160;
Note: The linux at command allows users to execute a program or command at a specific TIME point. The TIME format is HH: MM, where HH is hour and MM is minute, you can even specify spoken words such as am, pm, midnight, noon, and teatime (four o'clock P.M. workshop.
If you want to specify a time later than one day, you can use the MMDDYY or MM/DD/YY format. MM indicates the minute, DD indicates the day, and YY indicates the year. In addition, users can even use now + time interval to elastically specify the time. The time interval can be minutes, hours, days, and weeks. & #160;
In addition, you can specify today or tomorrow to indicate today or tomorrow. After you specify the time and press enter, the linux at command enters the conversation mode and requires the input of commands or programs. After you input the command, press ctrl + D to complete all the actions, the execution result will be sent back to your account. & #160;
Parameter: & #160;
-V: print the version number & #160;
-Q: The specified Queue is used for storage. The information of the linux at command is stored in the so-called queue. You can use multiple queues at the same time, the number of queue is a, B, c... z and A, B ,... A total of 52 Z & #160;
-M: Send a mail to the user even if no result is output after the execution of the Program/command is completed. & #160;
-F file: Read the pre-written command file. The user does not have to use the conversation mode for input. You can first write all specified data into the file and then read it again & #160;
-L: list all the specified values (users can also use atq instead of at-l) & #160;
-D: delete a specified object (you can also directly use atrm instead of at-d) & #160;
-V: lists all completed but not deleted items & #160;
Linux at command example: & #160;
Execute/bin/ls at five o'clock P.M. three days later: & #160;
At 5 pm + 3 days/bin/ls & #160;
Execute/bin/ls at five o'clock P.M. after three weeks: & #160;
At 5 pm + 2 weeks/bin/ls & #160;
Run/bin/date at tomorrow: & #160;
At tomorrow/bin/date & #160;
The end of world is printed at the last minute of the last day of March! & #160;
At 23:59 12/31/1999 echo the end of world!
The above is the use of the linux at command, hope to help you.
- Detailed description of the find command for searching files in the directory structure
- Linux find command format and find command details
- Linux documentation-find command