k*e
2 楼
there are several unix accounts, under the home diectory of each accounts
there should be a symbolic link pointing to somewhere.
how can I write a k shell script to verify:
1. the symbolic link exists and points to right place
2. if not, create one.
for example, there are 30 accounts: account1, account2, [email protected]
There should be a symbolic link for each account
link -> /somewhere/link1
...
link -> /somewhere/link30
thanks in advance.
there should be a symbolic link pointing to somewhere.
how can I write a k shell script to verify:
1. the symbolic link exists and points to right place
2. if not, create one.
for example, there are 30 accounts: account1, account2, [email protected]
There should be a symbolic link for each account
link -> /somewhere/link1
...
link -> /somewhere/link30
thanks in advance.
x*1
5 楼
你才发现
相关阅读
问个文件folder的问题[转载] pmap 一问菜鸟问题-about shell programming如何知道自己目录下的文件被什么用户访问过?Need help to use "read" in kshdo people still read the lions book[转载] 请教:生成的ps和pdf的页边距不一样,怎么回事?Urgent help!!![转载] help: linux 的 2G 文件大小限制[转载] Help about Linux clustering, Thanx!Invalid ELF header Re: 问一个shell script的问题显示操作系统的版本号等信息的命令是什么双CPU的问题Is this shell programming right?Metawire.org一个免费提供OpenBSD Shell的优秀组织帮忙查看这些是什么an interview question: what happened ...ctrl+c doesn't work in csh, help!regular expression question[转载] anybody give me a rootkit?