2012-09-22 75 views
-1

有一個文件/home/tiger/Desktop/shell practice。我想從中刪除9個空格:剪下名稱中包含空格的文件

cut -c 10- '/home/tiger/Desktop/shell practice' 
cut: /home/tiger/Desktop/shell practice: No such file or directory 

我該怎麼做?

+3

你有一個文件嗎? –

+1

因爲即使文件名有空格,單引號也應該起作用。 –

+0

http://stackoverflow.com/questions/1574898/bash-and-filenames-with-spaces – tartar

回答

0
cut -c 10- '/home/tiger/Desktop/shell\ practice'  

一位朋友告訴我如何解決它。

相關問題