How do I edit a text file in Ubuntu terminal?

How do I edit a text file in Ubuntu terminal?
Answer
To edit any config file, simply open the Terminal window by pressing the Ctrl+Alt+T key combinations. Navigate to the directory where the file is placed. Then type nano followed by the filename that you want to edit.
Replace /path/to/filename with the actual file path of the configuration file that you want to edit.
 

Tìm kiếm

Back
Top