Computer Club MNNIT
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Creating a file

3 posters

Go down

Creating a file Empty Creating a file

Post  Admin 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

https://computerclub09mnnit.forumotion.net

Back to top Go down

Creating a file Empty Re: Creating a file

Post  ankitgr8 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

Back to top Go down

Creating a file Empty Re: Creating a file

Post  Gyanendra Sun Sep 07, 2008 9:48 pm

gud yaar ankit !!!

Gyanendra

Posts : 8
Join date : 2008-09-07

Back to top Go down

Creating a file Empty 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