Linux?????3????????С????
???????????? ???????[ 2015/6/18 11:13:22 ] ??????????????
????Linux??????????????????????????????????????????????????????????ЩС????????????????????????????????????????3??С???ɡ?
????1. ?????????Cron?????????Linux?μ?????
??????Linux?£????????????/????????Cron?????????????????????????????????Cron???????????????????Cron???????????????????????????е?????????????????????????……
?????5???????????????date????????д??????????data.txt???????????????????????????????????????????μ????????
????$ while true; do date ?? date.txt ; sleep 5 ; done &
?????????????????
????while true ???y???????????????????????У???????????????????????????????????????С?
????do ??do??while????е???????????????????У??????????????????????????
????date ?? date.txt ??????date?????????????д??data.txt????С??????????á?????????>??
?????? ?????????date.txt?????????д???????????????????????????????????????С???????>?????????????????????????
????sleep 5 ???y??????5????????????????????????????????????λ?????????????????????????6??????????Σ?????????sleep 360??
????done ??while???????????????
????& ????????????????????С?
??????????????????????????κν?????±?????????100????????????script_name.sh??????
?????????????????????????????????????????У???????????????·????/home/$USER/…/script_name.sh?????????????????н?????£?
????$ while true; do /bin/sh script_name.sh ; sleep 100 ; done &
???????????????н????????Cron???????????Cron??????????????????????????????????????????????????Щ?????????I/O????????????н??????á?
??????????ο???Linux ?? 11 ?????????????????
????2. ??β????clear???????????????
???????????????????????????????????????????e????????????????clear?????????????ctrl + l????????????????????????
????Ctrl + l??????Ч????clear??????????????????????????ctrl + l????????????????
??????????ctrl + l????????????????????????????á??????????????????????????????????????????clear??????????????????????????ctrl + l????????Ч??
????3. ?????????????????????????????????????
???????????????????????????????????ɡ?????????????????????κ?????????????????????????????????????????????????????????????
????????????????????
????avi@deb:~$ ??cd /home/avi/Downloads/??
????????????
????avi@deb:~
???????????cd??Downloads??????????????????????????????????????????????У?????????????????????????????????????κα仯??????????????????????
????avi@deb:~$ ??cd /home/avi/Downloads/ && ls -l??
????????????
????-rw-r----- 1 avi avi 54272 May 3 18:37 text1.txt -rw-r----- 1 avi avi 54272 May 3 18:37 text2.txt -rw-r----- 1 avi avi 54272 May 3 18:37 text3.txt avi@deb:~$
???????????????У??????????Downloads????????г??????????????????????????????????????????????????????????а????κ???????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11