View Full Version : term syntax: spaces?
dstranathan
05-23-2002, 09:24 AM
I forgot how to type a literal space in a file name from the cli terminal.
What are the chars for a space?
ie: rm this file has spaces.txt
Thanks!
torifile
05-23-2002, 10:01 AM
rm this\ file\ has\ spaces.txt
Or you could type rm and drag the file to the terminal window and the path will come up automatically. Or you could start the path and tab to complete it. HTH.
[ 05-23-2002: Message edited by: torifile ]</p>
Amorph
05-23-2002, 10:13 AM
also: rm "this file has spaces"
Aslan
05-23-2002, 03:21 PM
You can also enclose it single quotes, just remember that it will be REALLY literal (whereas double quotes still allow for variable name and pattern evalutation/expansion)
Might as well be thorough... ;)
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.