Creating a file

Go down

Creating a file

Post  Admin on Sun Aug 10, 2008 9:09 am

Make a file whose name starts with a '-' sign for e.g. -z and open it with vi editor. In that write a C code that prints the file name.

Admin
Admin

Posts : 39
Join date : 2008-08-03

View user profile http://computerclub09mnnit.forumotion.net

Back to top Go down

Re: Creating a file

Post  ankitgr8 on Mon Aug 11, 2008 4:27 am

File can be created using two '-' i.e. vi -- -z.c

ankitgr8

Posts : 6
Join date : 2008-08-11

View user profile

Back to top Go down

Re: Creating a file

Post  Gyanendra on Sun Sep 07, 2008 9:48 pm

gud yaar ankit !!!

Gyanendra

Posts : 8
Join date : 2008-09-07

View user profile

Back to top Go down

Re: Creating a file

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum