Do I risk breaking my installation of Ubuntu if I view
/sbin/init without editing it, say, in gedit? (I'm taking an online Linux course and they mention this and I wanted to see what it looks like.)
Yes. It's safe to view any system file(s), especially if you don't use
The owner of
You will not be able to edit the file without
Sure, you can read it without doing any harm.
It's a binary file - if you are interested in the text in it, like program symbols, messages, or version numbers, use
To see the full binary content of the file in a somewhat readable form, use
You can view but you can't make changes. Do not save on exit init. copy the file first with
Here you first make a copy of the original file (
Yep, it is fine to just view. Make sure when you click close, you don't save any changes you accidentally made.
To be super safe, run the following command:
So you're not viewing the original.