tailieunhanh - SAMS Teach Yourself Unix in 10 Minutes phần 7

Trong ví dụ này, người sử dụng gửi một công việc mà sẽ chạy vào buổi trưa cùng ngày nếu được nộp vào buổi sáng, hoặc buổi trưa ngày hôm sau nếu được nộp vào buổi chiều. Đồng thời, sẽ tạo ra một tarball / người dùng / cướp / thư mục lưu trữ và gọi nó . | 104 So now that we know how to open it up and get it ready let s look at the at command in action. at noon at tar -cf users rob storage at Ctrl-d In this example the user submitted a job that will run at noon the same day if submitted in the morning or noon the next day if submitted in the afternoon. As well at will create a tarball of users rob storage directory and call it . You can use Ctrl d to break out of the at process and return to your shell prompt. Who s the Man There is a lot more to learn about all the commands we have covered. Continue to use your man pages as often as you can and keep your memorization of these commands to a premium level if you want speed and accuracy every time you come to the console. Unix is intimidating but as you can see it s not hard to use and to learn about. Continue to check the man pages when you need help. Some helpful man pages related to the content of this lesson include man crontab man cron man at and man batch. Summary We ve covered a lot of ground in this lesson but at the same time we ve only scratched the surface. Unfortunately there is too much to know about cron and at to fit into this 10-minute lesson. For more information consult your local man pages. Understanding processes can be a bit difficult at first but depending on your use of the system you might never need to do much more than put a process into the background. If you use KDE exclusively you ll find that processes work exactly as you might expect on any desktop operating system. In addition you can easily open a shell prompt and use all of these commands and reference their man pages. You can also use your current X Window System help system. The following is a quick review of what was discussed in this lesson The ampersand can be used to put a process into the background. Use this if you are running something that takes a long time to complete and that requires little or no user interaction. bg fg The bg and fg commands can be

TỪ KHÓA LIÊN QUAN