04-09-2011, 08:02 AM
Hello, I forgot the command to open file inside linux ssh to edit server like change slot instead going to ftp! Can anyone tell me the command. Thanks
|
How to edit file inside ssh in linus
|
|
04-09-2011, 08:02 AM
Hello, I forgot the command to open file inside linux ssh to edit server like change slot instead going to ftp! Can anyone tell me the command. Thanks
04-09-2011, 06:36 PM
Code: nano filename
04-09-2011, 07:14 PM
Arjen, vi might be a bit too advanced for someone asking this question ;-) (Even I only remember, how to exit that thing :-D)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!) Do not ask technical questions via PM!
04-10-2011, 07:13 PM
I prefer "esc :q!" to make sure I don't accidentally ruined my file if I executed some other commands unintentionally ;-) and then I usually start nano xD
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!) Do not ask technical questions via PM!
04-10-2011, 07:59 PM
When you don't want to edit a file you can use cat filename or more filename
Warning Level: 0%
04-11-2011, 06:04 PM
I know... Just, when I started with Linux, I was used to type "edit" for editing files (was coming from DOS). My first Linux distribution had an alias for vi called edit, so I quite often started accidentally vi ;-) And as a newcomer to Linux, vi is not the best choice for an editor...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!) Do not ask technical questions via PM!
04-13-2011, 03:53 AM
vi, ya either love it or ya hate it. I've been using vim, which is ~marginally~ more friendly. But perhaps I'll try sudo apt-get install nano.
04-13-2011, 04:00 AM
Get WinSCP and configurate it to use Notepad++.
04-13-2011, 07:01 PM
that's not always an option... e.g. I usually deny root login via ssh for security reasons, so WinSCP cannot access system files... and also, I am running most of the time on Linux, so I have no WinSCP
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!) Do not ask technical questions via PM! |
|
« Next Oldest | Next Newest »
|