Click to See Complete Forum and Search --> : reading a linux text document in Windows


Syngin
01-23-2002, 04:00 PM
Hey guys,

on our main home directory of our web server we have about 600 directories.

I exported a directory listing to a text file using the following:

ls * >> dirlisting

This dumped a cool listing of each directory plus the names of the directories directly underneath into a linux text file that looks fine in pico.

I downloaded this file but it looks horrible in Notepad. Any ideas what I can use to view (and print) this document?

The reason I'm doing this is that our server provider upgraded our wu-ftp and deleted my old ftpaccess file with all of the ftp restrictions. If I can view this file normally, I can see which are web accounts and which are just email accounts (email accounts have no ftp access) THis would be a much easier way of rebuilding the ftp restriction file because, currently, all web accounts allow users out of their home directories.

Thanks for any help with this.

slapNUT
01-23-2002, 04:10 PM
del c:\windows\notepad.exe
Download metapad from http://www.liquidninja.com/metapad/
Extract metapad.exe and put the it in c:\windows\notepad.exe

It reads dos or unix textfiles and is way better than notepad.


<edit> Couldn't find it at zdnet? Changed the link.

[ 23 January 2002: Message edited by: slapNUT ]

Syngin
01-23-2002, 04:11 PM
Thanks. I'll give it a try. :)

sans-hubris
01-23-2002, 05:01 PM
You can also just use WordPad. It reads Unix text files just fine.

Syngin
01-23-2002, 05:20 PM
Originally posted by sans-hubris:
<STRONG>You can also just use WordPad. It reads Unix text files just fine.</STRONG>

Really? Thought it'd be worse than Notepad.

Well, I know now. Cheers bud.

The Whizzard
01-23-2002, 08:49 PM
Originally posted by Syngin:
<STRONG>Really? Thought it'd be worse than Notepad.

Well, I know now. Cheers bud.</STRONG>

Wordpad knows about formatting, etc. Unlike Notepad, it doesn't put everything on the same line.

PimpHolic
01-23-2002, 10:33 PM
Originally posted by sans-hubris:
<STRONG>You can also just use WordPad. It reads Unix text files just fine.</STRONG>

wordpad is 10x better than notepad
i have first-hand experience with this