The commands described below need to be entered while logged in to the Unix server. Normally you'll see a prompt ending with $ when the command interpreter (or shell) is ready for another command.
Suppose you have a file called
my file (with a space between the words my and file)
Then (for example):
more my?file
(the ? signifies 'any character' and can be used to represent a space)
mv my?file my_file
(mv means 'move', or rename)
more my_file
You can also enclose the entire file name in double-quotes, like this:
more "my file"
or
mv "my file" my_file
Please suggest an improvement
(login needed, link opens in new window)
Your views are welcome and will help other readers of this page.