[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 406
  • Last Modified:

Binary file editing

Is it possible to open and edit a binary file using vi in Linux?  If so, how should it be done?
0
_jk
Asked:
_jk
1 Solution
 
jamesRCommented:
No, vi assumes that the code is text, and will sometimes add newlines in where you don't want them, or be unable to display long lines....

If I need to edit a binary file, I use emacs in hexl mode, which allows you to edit binary files.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now