About 419,000 results
Open links in new tab
  1. How do I open a text file in my terminal? - Ask Ubuntu

    There is a file named RESULTS.txt and I want to open this file in my terminal. (I mean I want to see the file contents be displayed in the terminal and not in some text editor) How do I do that ?

  2. How to open text, video, or image files via terminal?

    Nov 30, 2013 · I am new to Ubuntu and I would like to know how to open a simple text file or a video file or an image file via the terminal.

  3. How to edit files in a terminal with nano? - Ask Ubuntu

    Jul 23, 2011 · Sometimes, if I manage to open a file, the text is unreadable due to its colors. How can I disable these colors? Colours are loaded through the nanorc framework. These are files that are …

  4. How to edit files in GUI text editors as root? - Ask Ubuntu

    Jan 15, 2021 · You create an alias or create a small script to edit system text files in a graphical editor with a single command. 3. Discouraged: using pkexec These two options do not at any time run your …

  5. How to open a file with "sudo"? - Ask Ubuntu

    Apr 25, 2017 · 18 The answer you provided in the link wants you to open a file with root privileges, which can be achieved using these two commands sudo nano /path/to/your/file.foo in the command above …

  6. How can I open (launch) files using the terminal? - Ask Ubuntu

    Nov 30, 2019 · 6 Objective: Open a text file and other types using the terminal. Let's suppose I have a file named myFile.txt and I want to launch this file (open it, not sure how I'm supposed to say it), how …

  7. Open application to edit text files from the command line

    When installing the TextWrangler in OSX you also get an edit command which allows you to open any text file from the command line. Is it possible to have a similar functionality in Ubuntu to type ...

  8. How to open the default GUI text editor in Ubuntu or Lubuntu via a ...

    I have a script that uses gedit to open text file in Ubuntu. That script does not work under Lubuntu. What command is required to execute the default text editor? I want to make the script usable ...

  9. Open file or application as root from GUI - Ask Ubuntu

    Is it possible to open a file or application as root from the GUI? My ideal would be right-clicking on a file or an application and seeing an "Open as Root" choice in the context menu, after which I was asked …

  10. How to open file in GUI mode with terminal? - Ask Ubuntu

    Opening a text file in a text editor is as simple as Fernhill Linux Project's answer. For a more generic "open with default program" command you may type xdg-open filename. A video file would open with …