|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] socf: questions
|
Walt Mankowski wrote:
>
> On Sun, Mar 05, 2000 at 07:20:13AM -0500, socf wrote:
> > I'm linux beginner, i started touching it about two month ago, however i
> > want to just ask a few questions.
> > 1) In dos, to edit some text file we use the command "edit", like "edit
> > hello.txt" Is there something like "edit" in linux?
>
> The most popular Linux editors are emacs, vi. They almost certainly
> were installed with your distribution.
Most of the distributions come with default (easy to use) editors like ae xedit
or whatever. A simple way to find what editors that are installed on your
system is to run ``apropos editor'' which will give all the editors that you
have installed. Everyone has their own favorites and some try to start a
religious war about their favorite.
>
> > 2) How do i change my hostname?
>
> I *think* this may depend on your distribution. On Red Hat you use
> linuxconf.
I think that the standard hostname for the system is in the file /etc/hostname
which contains just the name of the local host. In your start up scripts there
is a file usually called hostname or hostname.sh that runs the hostname binary
--file filename. There is a great man page about hostname.
>
> > 3) what's the command that have the same funtion as " dir /p " in linux?
>
> ls -l | less
Lately, there is a dir utility in most Linux distributions with its own man
page. The ls utility is the old favorite of many UNIX/Linux users. If you are
using the bash shell you don't really have to pipe the directory listing command
through less. Use the <Shift><page up> combination to scroll back through the
display.
--
0 0 Linux Force, Inc. http://www.LinuxForce.net
" Home Page: http://www.netaxs.com/~ldc/
_______ooO ~ Ooo_______________________________________________
LeRoy D. Cressy /\_/\ mailto:ldc@netaxs.com
Computer Consulting ( o.o ) Phone (215) 535-4037
> ^ < Fax (215) 535-4285
______________________________________________________________________
Philadelphia Linux Users Group - http://plug.nothinbut.net
Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce
General Discussion - http://lists.nothinbut.net/mail/listinfo/plug
|
|