Sobes.tech
Intern

Which command would you use to open a text file?

sobes.tech AI

Answer from AI

notepad <filename> (in Windows) or open -t <filename> (in macOS) or xdg-open <filename> (in Linux) to use the default application.

To open in the terminal with editing capabilities: nano <filename> vim <filename> less <filename> (for viewing only)