system("mv", "home/a", "home/export/b");
先保证home/export目录存在2009/11/15 earthminator <[email protected]> > 大家好, > 请问perl如何使用Linux中的shell > 是不是用sysetm就可以? > 比如。我用mv命令 > system (mv home/a home/export/b);把home目录下的a,移动到home/export下并改名b. > 这样可不可以呢? > > > -- 如果觉得无聊,您不妨访问Google Reader消遣 http://www.google.com/reader/view 要尝试黑版本Google,请访问 http://www.google.com/custom?q=&sa=Search&client=pub-4021907304270164&forid=1&channel=7519554017&ie=UTF-8&oe=UTF-8&cof=GALT%3A%23FF9900%3BGL%3A1%3BDIV%3A%230033FF%3BVLC%3ACC9900%3BAH%3Acenter%3BBGC%3A000000%3BLBGC%3A000000%3BALC%3AFFFFFF%3BLC%3AFFFFFF%3BT%3ACCCCCC%3BGFNT%3A33CC00%3BGIMP%3A33CC00%3BFORID%3A1%3B&hl=en --~--~---------~--~----~------------~-------~--~----~ 您收到此信息是由于您订阅了 Google 论坛“PerlChina Mongers 讨论组”论坛。 要在此论坛发帖,请发电子邮件到 [email protected] 要退订此论坛,请发邮件至 [email protected] 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛 -~----------~----~----~----~------~----~------~--~---
