挑戰Solaris下寫程式 - Linux

By Ivy
at 2008-05-25T21:38
at 2008-05-25T21:38
Table of Contents
以前如果要在Windows下作Copy / Compare的測試
只要寫個批次檔cptest.bat
------------------------------------------------------
:start
copy c:\111.txt d:\
fc/b c:\111.txt d:\111.txt >>result.txt
del d:\111.txt
goto start
-----------------------------------------------------------
或是在Linux下cptest.sh
-------------------------------------------------------------
while (true)
do
cp /home/* /test/
diff /home/ /test/ >>/checkdiff.log
rm -rf /test/*
done
---------------------------------------------------------------
這一些,我都作得到
可是,現在問題來了
要如何在Solaris下寫一個Script來作Copy/Compare的測試呢?
這個問題我想了蠻久的
ps.以上的Windows和Linux寫出來順便跟大家分享,請大家幫我想想
如何在Solaris下寫出Script
萬分感謝
--
只要寫個批次檔cptest.bat
------------------------------------------------------
:start
copy c:\111.txt d:\
fc/b c:\111.txt d:\111.txt >>result.txt
del d:\111.txt
goto start
-----------------------------------------------------------
或是在Linux下cptest.sh
-------------------------------------------------------------
while (true)
do
cp /home/* /test/
diff /home/ /test/ >>/checkdiff.log
rm -rf /test/*
done
---------------------------------------------------------------
這一些,我都作得到
可是,現在問題來了
要如何在Solaris下寫一個Script來作Copy/Compare的測試呢?
這個問題我想了蠻久的
ps.以上的Windows和Linux寫出來順便跟大家分享,請大家幫我想想
如何在Solaris下寫出Script
萬分感謝
--
Tags:
Linux
All Comments

By Frederica
at 2008-05-30T13:35
at 2008-05-30T13:35
Related Posts
SLES10套件更新問題?

By Susan
at 2008-05-25T19:57
at 2008-05-25T19:57
請問一般使用者自己的資源, 文件該放哪?

By Puput
at 2008-05-25T19:18
at 2008-05-25T19:18
Grub 問題

By Una
at 2008-05-25T17:52
at 2008-05-25T17:52
請問linux可用的商業軟體

By Sarah
at 2008-05-25T13:57
at 2008-05-25T13:57
剛剛看到unicorn缺字的解決方法

By Yedda
at 2008-05-25T07:58
at 2008-05-25T07:58