早教吧作业答案频道 -->英语-->
linuxfind命令中-exex命令语法find.-typef-userroot-execchownslynux{}\;这条语句中的\;有什么作用,书上只解释了{}的作用
题目详情
linux find命令中-exex命令语法
find .-type f -user root -exec chown slynux {} \;
这条语句中的 \;有什么作用,书上只解释了{}的作用
find .-type f -user root -exec chown slynux {} \;
这条语句中的 \;有什么作用,书上只解释了{}的作用
▼优质解答
答案和解析
-exec command ;
Execute command; true if 0 status is returned.All following
arguments to find are taken to be arguments to the command until
an argument consisting of `;' is encountered.The string `{}'
is replaced by the current file name being processed everywhere
it occurs in the arguments to the command,not just in arguments
where it is alone,as in some versions of find.Both of these
constructions might need to be escaped (with a `\') or quoted to
protect them from expansion by the shell.
Execute command; true if 0 status is returned.All following
arguments to find are taken to be arguments to the command until
an argument consisting of `;' is encountered.The string `{}'
is replaced by the current file name being processed everywhere
it occurs in the arguments to the command,not just in arguments
where it is alone,as in some versions of find.Both of these
constructions might need to be escaped (with a `\') or quoted to
protect them from expansion by the shell.
看了 linuxfind命令中-e...的网友还看了以下:
复变函数中的欧拉公式定义域1、欧拉公式中e^(ix)=cosx+isinx,这里的X是只能取实数不 2020-04-26 …
A.根据释义,拼写单词.1.costingalotofmoneyx,p,s,i,e,e,e,n,v 2020-06-10 …
又是一道数学题.利用2cosθ=e^(iθ)+e^(-iθ)这个公式证明e^(ia)+e^(ib) 2020-06-14 …
求自然拼音发音规律个别字母就算了,要说特例.比如c后接i,e,y时/s/,其它时候发/k/.g在后 2020-06-17 …
英语单词填空1.时间状语:d-r-n-2.场所:b-s-s-o-f-r--e-a-t-e-t3.教 2020-07-14 …
i.e.可以解释为“thatis,inotherwords”吗?这是选择里的,不是想问i.e.应该 2020-07-24 …
复数的运算问题比如比如(-1)^(-i)的如何运算的?因为由欧拉定理e^(pi*i)=-1(-1) 2020-08-02 …
三元一次方程组a*x+b*y+c*z+d=0,e*x+f*y+g*z+h=0,i*x+j*y+k* 2020-08-03 …
(-1)^(-i)=多少?(-1)^(-i)=[(-1)^(-1)]^i=(-1)^i=[e^(pi 2020-11-01 …
英语翻译1、OldMacdonaldhadafarm.E-I-E-I-O.Andonthatfarm 2020-11-01 …