Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

more command on filename with spaces 2

Status
Not open for further replies.

gatetec

MIS
Mar 22, 2007
420
US
Sorry for the simple question, but I forgot...

The file name is:

rpt.Wed Apr 2 07:30:00 EDT 2008

How do you "more" on this file?

thx much
 
Code:
 more "file name with spaces"
In short any action will normally require quotes to group the bits together.

On the internet no one knows you're a dog

Columb Healy
 
...and in shorter, it's generally not good practice to create filenames with spaces. It looks as though someone has just added a `date` command to a filename rather than taking the trouble to customise it.

I want to be good, is that not enough?
 
Yep, thx so much. I couldn't think of "".

I will put:

date +%y%h%d%H%M%a

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top