Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 1998 21:40:48 +1000 (EST)
From:      "Michael Henry" <mhenry@white.ug.cs.usyd.edu.au>
To:        freebsd-newbies@FreeBSD.ORG
Subject:   Re: Find and an editor
Message-ID:  <199811201041.CAA15353@hub.freebsd.org>
In-Reply-To: <006801be1457$5732f460$0a00000a@pdc.frmt1.sfba.home.com> from "Paul" at Nov 19, 98 11:28:00 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> Found this address in the newsgroups.  I have 2.2.7 and X working fine. =
> If only i could get find to search through multiple directories and find =
> an X editor to edit the important files, I am sure I could go a lot =
> farther.

Try "man -k edit". You'll get some irrelevant programs, but it should give
you what you want.

You don't have to search through the whole directory structure.

Editors are most likely to be in /usr/bin, /usr/X11R6/bin (X editors), or
/usr/local/bin.

> When I try to use "find sysinstall" for example, it searches only the =
> current directory. I have since found /stand/sysinstall, but there are =
> many other files I need to "find".

I'm not a power user of "find", but I often do searches like this:

	find . -name <filename> -print

The "." means "the current directory" (and all subdirectories). You can
use any directory here (You might want to use "/" or "/usr"). 
"filename" can be a complete filename (like sysinstall) or a regular
expression ('*install'). (Just be sure you put it in single quotes
so the shell won't mess it up).

> I also would like a stable X based file editor. Please do not point me =
> to "vi". I admit I am coming from Microsoft.

Try Nedit. It's in the packages.

> If you have a moment, I would also like some hints on how to handle the =
> fact that the rest of the "world" expects us to be able to deal with the =
> "Word" and "Excel" files that get sent to us, if we go completely =
> FreeBSD.

Unfortunately, you'll have to keep windows around if you want to work with
these.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811201041.CAA15353>