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.
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
gedit text.txt
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.
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.
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
gedit requires a gui environment, so if it is Linux with a GUI environment, just execute gedit file directly in the terminal.