Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/shell/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何捕获git fsck的日志——full——verbose_Git_Shell_Csh_Io Redirection_Git Fsck - Fatal编程技术网

如何捕获git fsck的日志——full——verbose

如何捕获git fsck的日志——full——verbose,git,shell,csh,io-redirection,git-fsck,Git,Shell,Csh,Io Redirection,Git Fsck,如何在日志文件中捕获git fsck-full-verbose的输出 我试过了 git fsck --full --verbose > log 及 但两者都不适合我。我该怎么办?从csh切换到bash解决了问题。问题是什么?你的意思是CSH不支持管道/重定向?尽管使用了2>&1 | tee/tmp/out.log,我也有这个问题 git fsck --full --verbose | tee log

如何在日志文件中捕获git fsck-full-verbose的输出

我试过了

git fsck --full --verbose > log


但两者都不适合我。我该怎么办?

从csh切换到bash解决了问题。

问题是什么?你的意思是CSH不支持管道/重定向?尽管使用了2>&1 | tee/tmp/out.log,我也有这个问题
git fsck --full --verbose | tee log