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 楼
你才发现
相关阅读
在Solaris下ls, 如何让文件名按时间顺序排序?版上各位大侠,请速来救小女子一命,急! (转载)How to extract Last string in one line (Windows NT SHELL script)Semaphores in Linux (转载)dtrace问题"Find ... -exec ..." script never ends.想买个Sun Blade 1500anyone intalled R on opensolaris x86?HAPPY NIU YEAR~~~~悼念二下有没有朋友懂yacc,真诚请教linux/unix 有没有把所有或者大部分命令结合起来的练习的projec (转载)在UNIX里,怎么stop a set of processes?这个版上人好少啊,可是我还是来问个问题死机reset后到底需不需要force fsch check? (转载)gnuplot画图求助How to change mac address?where can i find basic mainframe training materials?unix噫吁兮,危乎高哉Solaris C问题求教:readlink返回空