Last login: Thu Aug 16 13:59:03 from 172.21.144.150 Sun Microsystems Inc. SunOS 5.8 Generic February 2000 ClearCase Test You have new mail. stty: missing argument to `erase' Try `stty --help' for more information. Sun Microsystems Inc. SunOS 5.8 Generic February 2000 ClearCase Test You have new mail. [root@hzscm]% stty --help Usage: stty [-F DEVICE] [--file=DEVICE...
在执行 find /* -ctime -2 -exec cp {} \; 时 向把查找出来的文件放到/bacup 下 请问 /backup路径在 find 命令里的位置应该是哪?
我用命令 find . -name ".svn" -exec rm -rf {} \; 删除当前目录及子目录中的.svn目录,命令执行后.svn目录确实被删除,但总是有错误提示: find: ./po/.svn: 没有那个文件或目录 find: ./res/.svn: 没有那个文件或目录 find: ./res/glade/.svn: 没有那个文件或目录 find: ./res/image/.svn: 没有那个文件或目录 find: ./src/.svn: 没有那个文件或目录 find: ./.svn: 没有那个文件或目录 find: ./test/.svn: 没有那个文件或目录 f...
[code] find . -name 'a*' -o -name 'b*' -exec tar rf abc.tar {} \; [/code] 结果只操作了 'b*'文件. 'a*'文件没有操作
有个地方不懂,那位可以帮解释一下,谢谢! 运行如下: [root@ftp test]# ls 1.sh 4.sh secure secure.1 secure.2 secure.3 secure.4 [root@ftp test]# find ./ -name "*.sh" -exec ls -l {} \; -rw-r--r-- 1 root root 7 Dec 26 08:21 ./4.sh -rw-r--r-- 1 root root 7 Dec 26 08:37 ./1.sh [root@ftp test]# find ./ -name "*.sh" -exec ls -l * {} \; 这里加一个* -rw-r--r-- 1 root root 7 Dec 26 08:21 ....
先看代码: [code][root@egocomputer1 log]# find . -newer starttemp -a ! -newer endtemp -exec ls - {} \; 貧战法 0 -rw-r--r-- 1 root root 0 2006-10-01 endtemp -rw-r--r-- 1 root root 0 2002-01-01 file1 ...
我用的是red hat 9.0 当我: [root@localhost root]# find /root -name Unit1.dcu -print -exec cp {} LumaQQ ; find: missing argument to `-exec' 什么问题呢这条命令?
[root@localhost 41log]# find . -ctime +2 -exec rm {} //; find: missing argument to `-exec' [root@localhost 41log]# find . -ctime +2 - exec rm {} //; find: invalid predicate `-' [root@localhost 41log]# find . -ctime +2 exec rm {} //; find: paths must precede expression Usage: find [path...] [expression] 请问正确的写法是什么?
请问查找并删除CORE文件的完整命令是不是这样的?如果是,后面的一堆大括号什么意思?find /-name core -print | rm可以吗?