Which of the following can be used to execute a series of Linux commands at a specified time?
A) which
B) run
C) time
D) at
when
PC Expertise help on linux commands?
at
for example:
at -m 0930 tomorrow %26lt;%26lt;EOT
df -k %26gt; /root/disk-usage.txt
ps -ef %26gt; /root/processes.txt
EOT
This will dump disk usage report (df) and process list (ps) into text files at 9:30am tomorrow
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment