Newsflash

powered_by.png, 1 kB
Home - Safdar.com arrow Blog arrow Rename special files
Rename special files PDF Print E-mail
Written by Safdar Mirza   
Thursday, 06 March 2008

 

Question:  

How to rename, ls or cat following files.

-work.file01
-work.file02
-work.file03

 

Answer:

Try following:


ls - -work*
mv - -work.file01 work.file01
rm - -work.file01
mv ./-work.file01 work.file01
rm -- -work.file01

 

 

 
< Prev   Next >
© 2012 safdar.com
Joomla! is Free Software released under the GNU/GPL License.