search

Home  >  Q&A  >  body text

Linux下如何用gedit打开文件

ringa_leeringa_lee2788 days ago793

reply all(5)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 15:55:58

    gedit text.txt

    reply
    0
  • PHPz

    PHPz2017-04-17 15:55:58

    gedit is a graphical interface program and the system needs to support it. Just like on DOS, you can only operate the program in a black frame.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 15:55:58

    Linux Server generally does not have a desktop environment. When editing files in the ssh shell, you can use nano (simple) and vim (advanced) to edit files, or you can call the local system's visual editor in FileZilla through sftp on the server ( Customized) to edit remote server files. IDEs like Netbeans even support remote project development based on sftp, that is, the running environment of the program is located on the remote Linux server.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 15:55:58

    In the server environment, you can only use editors that can be used under commands such as vim. If you are in a desktop environment, call $ gedit textfile.txt on the command line to open it

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 15:55:58

    gedit requires a gui environment, so if it is Linux with a GUI environment, just execute gedit file directly in the terminal.

    reply
    0
  • Cancelreply