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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VI editor Help!!

Status
Not open for further replies.

EzehM

Programmer
Feb 27, 2003
86
GB
Please I need to create a text file in VI on a solaris platform, but I want ensure that the file is locked (when I open it) so that another process can not access it. How can I do this.

Many thanks in Advance.

Milton
 
Hi Milton,

one simple way is to create the file maybe with touch and set the permissions 700 for it. So only the user can handle it. Than you could work on vi with that file

Hth
Uwe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top