get rid of files and directories with spaces in them

Frank Cox theatre at sasktel.net
Sat Jul 21 06:54:16 UTC 2007


On Sat, 21 Jul 2007 16:15:46 +0930
Tim <ignored_mailbox at yahoo.com.au> wrote:

> On Fri, 2007-07-20 at 22:45 -0400, Kevin J. Cummings wrote:
> > When all else fails, wildcards can be your friends.
> 
> See what you get with ls rather than rm, first, if you're using
> wildcards.  You don't want to delete more than you expect to.

You can also use tab completion to finish off a filename.

For example, "ls abc" and then <tab> will complete the filename "abcdef.ghi" if
it is present in the directory.  If there is more than one file that starts
with "abc" then nothing will happen until you hit <tab> twice; then it will
give you a list of all of the files that start with "abc".

Tab completion can save a huge amount of typing.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com




More information about the fedora-list mailing list