VIM seems integrated to the terminal. Can I open a remote file from the command-line with netbeans? Does it have shell integration? Any further explanation on this so I can better conceptually understan开发者_运维百科d it would be very appreciated.
Few options:
- Using ssh -X to forward X. Then you can start netbeans remotely.
- Use sshfs so you mount the remote filesystem locally over ssh. You can use then local copy of netbeans to work on remote files.
- Using rsync to have a local copy
- The best one - use version control
Yes, you can, providing certain conditions are met!
Using ssh, you can tunnel the display of X-Window applications, meaning you can run the application (the X-Client) on one machine, and have it display on another (the X-Server).
You'll need to launch ssh with the -X option (or -Y, but preferably -X) to allow tunnelling, and then run NetBeans from the commandline as usual:
netbeans MyFile.java
Read about X-forwarding. The link points to a very verbose and detailed howto/tutorial.
精彩评论