Re: [newbie] UNIX INTRO: Shell Processing

1999-07-30 Thread Andy Goth
> $ cat < abcfile xyzfile > This is the contents of xyzfile > $ > > If anyone has an answer to this, tell us! Try tracing it. > We can use a very important trick to find out: set -x > - - What shells does that work with? UX, I know, but BASH? > $ set -x >

Re: [newbie] UNIX INTRO: lessons declared open source

1999-07-30 Thread Steve Winston
An aside..Or should I say: A peripheral issue.. I don't work with computer technology except to type lesson plans and make instructional materials for ESL classes I teach to adults. So, much of what I study about Unix or Linux is lost through my lack of use of it in my daily work. So,

[newbie] UNIX INTRO: lessons declared open source

1999-07-30 Thread Richard Myers
Because: o Open source works better than closed source; and o The lessons were developed partly using ksh rather than BASH; and o It is entirely possible that there could be undetected errors; and o Additional contributors will make the lessons better, I hereby declare: ...that every

[newbie] UNIX INTRO: Shell Processing

1999-07-30 Thread Richard Myers
If you feel the material I've been sending out has been too advanced, please send me email (it doesn't need to go to the maillist, unless you want it to...) at: [EMAIL PROTECTED] ...to let me know. We can do an intro to the intro. Some of the material in this lesson is *intermediate* level.

Re: [newbie] UNIX INTRO: Shells, redirection

1999-07-29 Thread Andy Goth
> > So I was right. I was expecting pdksh, though (the Public Domain Korn > > SHell). > It appears that the maillist switched the order of my two posts. Yes, the demonic mailer daemon strikes again... > Yes, Korn > Shell. In my experience pdksh is not a good substitute for ksh (although > my ex

Re: [newbie] UNIX INTRO: Shells, redirection

1999-07-29 Thread Richard Myers
> > $ thisfile > > -ksh: thisfile: cannot execute [Permission denied] On Thu, 29 Jul 1999, Andy Goth wrote: > So I was right. I was expecting pdksh, though (the Public Domain Korn > SHell). It appears that the maillist switched the order of my two posts. Yes, Korn Shell. In my experience pdks

Re: [newbie] UNIX INTRO: Shells, redirection

1999-07-29 Thread Dan Brown
From: Dan Brown <[EMAIL PROTECTED]> > From: Andy Goth <[EMAIL PROTECTED]> > > > Alternately, you can call a shell and tell it to run the shell script > > file. "sh printpwd" should do the trick... is this right? In most > > shells, ". printpwd" (notice the period) will run a shell script as > >

Re: [newbie] UNIX INTRO: Shells, redirection

1999-07-29 Thread Dan Brown
From: Andy Goth <[EMAIL PROTECTED]> > Alternately, you can call a shell and tell it to run the shell script > file. "sh printpwd" should do the trick... is this right? In most > shells, ". printpwd" (notice the period) will run a shell script as Both of those will run a script, but there's

Re: [newbie] UNIX INTRO: Shells, redirection

1999-07-29 Thread Andy Goth
> When you encounter an error detected by the shell, it is > normally flagged by the shell. In this example, the shell > is Korn Shell, and the shell designation is "ksh": > > $ thisfile > -ksh: thisfile: cannot execute [Permission denied] So I was right. I was expecting pdksh, though (the Publ

Re: [newbie] UNIX INTRO: Pipes and Redirection

1999-07-29 Thread Andy Goth
> Input redirection is symbolized by the < character. Output is the > > character, and output with append uses the >> characters. That's like DOS (except that MORE < FILE doesn't seem to work). > $ echo this | thisfile > -ksh: thisfile: cannot execute [Permission denied] KSH? Korn Shell?

[newbie] UNIX INTRO: Pipes and Redirection

1999-07-28 Thread Richard Myers
-- Pipes and Redirection -- Someone wrote: : OK...I thought I had it all straight in my mind but : I now find the difference between redirection and : pipes really foggy. Is there something absolute I : can put in my mind to clarify the two? EXCELLENT question

[newbie] UNIX INTRO: Shells, redirection

1999-07-28 Thread Richard Myers
-- Shells, Redirection -- The shell provides the Command Line Interface that you see in Linux/UNIX. The shell accepts your input, processes it, and takes appropriate actions, interfacing with the kernel and the filesystem as necessary. The BASH shell was based

RE: [newbie] UNIX INTRO

1999-07-28 Thread Ken Wilson
guess it just depends on whether you want to just rinse your face or get into it with the hipwaders on. hehehe > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of drek > Sent: Thursday, July 29, 1999 12:50 AM > To: [EMAIL PROTECTED] &

[newbie] UNIX INTRO

1999-07-28 Thread drek
I would recommend newbies cruise the discount and closeout racks of your local B.Dalton and other bookstore chains. For $10, I got a copy of Dave Taylor's _Teach Yourself UNIX in a Week_. He gave us Elm, among other goodies, and he's an excellent writer. I've found the SAMS books particularly

Re: [newbie] UNIX INTRO: Philosophy and pipes

1999-07-28 Thread Ripcrd6
-Original Message- From: Richard Myers <[EMAIL PROTECTED]> > >It appears there is a majority opinion of those responding that we should >start here, and perhaps move to another maillist in time. Someone >suggested that a web page would be more appropriate, and I consider that a >viable fu

RE: [newbie] UNIX INTRO: Philosophy and pipes

1999-07-28 Thread John Aldrich
First, I apologize if this comes out in HTML. I just installed Outlook 97 for trouble-shooting purposes and haven't yet figured out how to turn off the "styled text" yet not even sure it's possible. *sigh* [mega-clip] But suppose we want all filenames with dates on the first of the month

[newbie] UNIX INTRO: Philosophy and pipes

1999-07-28 Thread Richard Myers
It appears there is a majority opinion of those responding that we should start here, and perhaps move to another maillist in time. Someone suggested that a web page would be more appropriate, and I consider that a viable future option for archiving and eventually reaching a wider group. I will