Can I edit container bash text files using editor? If yes, how?

Joined
Oct 14, 2022
Messages
3
How can I edit a text file (.conf, txt, ....) inside a container using bash using editor? Which command can I use for this? Is there a built-in editor? If so which one and how can I open it via bash?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Joined
Oct 14, 2022
Messages
3
As far as I can see, Cat only offers me the option of displaying the file or overwriting it with text, but unfortunately not editing it.
 
Top