.. or you could escape the space, using '\'<br><br>ie. sudo rm this\ is\ pretty\ annoying.ext<br><br><div><span class="gmail_quote">On 10/25/06, <b class="gmail_sendername">Peter Garrett</b> &lt;<a href="mailto:peter.garrett@optusnet.com.au">
peter.garrett@optusnet.com.au</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Tue, 24 Oct 2006 11:59:56 -0400<br>smithveg &lt;
<a href="mailto:smithveg@gmail.com">smithveg@gmail.com</a>&gt; wrote:<br><br>&gt; Hello,<br>&gt;<br>&gt; Normally, i just use the 'sudo rm filenames' to delete a file. But i can not<br>&gt; delete a filename like 'file to 
you.odt'<br>&gt; When i try to create launcher in desktop, i can noticed the command also<br>&gt; have the space inthe filename. But if i write in terminal, it prompt me file<br>&gt; not found.<br>&gt;<br>&gt; sudo rm file to 
you.odt ---&gt; can not find the file. Why?<br><br>Linux/Unix doesn't like spaces in file names :) You can usually<br>tab-complete the name like this:<br><br>sudo rm file &lt;tab&gt;<br><br>or, you can put the file name in quotes like:
<br><br>sudo rm &quot;file to you.odt&quot;<br><br>There is a reason for this, if you think about it - commands, options and<br>arguments are separated with spaces on the command line, so it's tricky<br>for the bash shell to guess which spaces meant what.... If there is a space
<br>it assumes the next word is a file name, so it interprets&nbsp;&nbsp;file to you as 3<br>files ( file , to, you ) . Since those files don't exist, it complains ;-)<br><br>When creating files I usually separate words using dots - like
<br>file.to.you.odt . You might prefer to use underscores, or hyphens.<br><br>Peter<br><br>--<br>ubuntu-au mailing list<br><a href="mailto:ubuntu-au@lists.ubuntu.com">ubuntu-au@lists.ubuntu.com</a><br><a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-au">
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au</a><br></blockquote></div><br><br clear="all"><br>-- <br>- nd.