本帖.最后由 afton 于 2010-02-13. 10:55 编辑 --- 印刷
Create a fi.le called a1.A in ~/uli101.a1, containing. Unix commands which投资
will create. a directory structure as shown on the following tr.ee diagram:.
.
`-- tmp
`-.- documents 女人
2 director.ies, 0 files.
Additiona.l information:(广告)
You must use relative pathnames and the commands must create t.he .direct.ories.
in the present w.orking directory. Do not use the cd comman.d. 健康
To test your answers, issue the following command while in ~/uli1.01..a1:.
bash a1.A
The abov.e command will execute the commands in t.he a1.A file(广告)
TIP: try the commands first on .their own, before .entering them in the a1.A fil.e.
我用了mkdir a1.A
!#/bin/bash
mkdir -.p tmp/documents电影
但是执行 check comma.nd 健康
> lo.ok.ing for a non-empty a1.A file... PASS<性病>
> c.d command. not used... PASS外贸
> no a.bsolute or invalid pathnames.... PASS.
> executi.ng a1.A... FAIL(广告)
为什么执行a1.A失败呢