gram77
asked on
selecting the entire file at once in vi in unix/linux.
I have a large file in unix that is generated and i open it in vi.
I need a simillar functionality like ctrl+A in windows that select entire file in one go and i am able to paste the entire file in notepad.
How do i do this in unix/linux?
I need a simillar functionality like ctrl+A in windows that select entire file in one go and i am able to paste the entire file in notepad.
How do i do this in unix/linux?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I like winscp for the file copy, it uses ssh. Due to the end of line markers notepad may not like it much so a better editor can help (I like crimson editor).
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I use WinVI as a text editor in Windows. Only a single EXE and can handle large files, *nix end-of-line, hex data and more. And it's freeware without any nags!
Ref: http://winvi.de/en/
Regards, Tobias
Ref: http://winvi.de/en/
Regards, Tobias
Use PuTTY to connect to your *nix server, show the file with the command 'cat filename.txt', then select "Copy All to Clipboard" in PuTTY window-menu.
Or use PSFTP to connect to the *nix server and copy the file to your Windows machine.
Ref: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Regards, Tobias