Date: Thu, 30 Dec 2004 12:24:07 -0800 (PST) From: Me <d3javu1978@yahoo.com> To: Jeff Lewis <jlewis1957@netscape.net>, freebsd-newbies@freebsd.org Subject: Re: Shell Games Message-ID: <20041230202407.62752.qmail@web42007.mail.yahoo.com> In-Reply-To: <49B5BEF2.7CCF22F4.0F75C5EC@netscape.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I would suggest reading Absolute BSD by Michael Lucas, he covers pretty much every question you asked in great detail. Building firewalls with IPFILTER, Installing Apache, diffrent kernel operation modes, file system security using chflags and other utilities. Diffrent shells are there for flexibility more then any thing, it just depends on what you like and how you plan to use your system. Here is a link that explains shells in more detail http://www.faqs.org/faqs/unix-faq/shell/shell-differences/ Scripting languages like PERL and Bash serve diffrent purposes. I do alot of Bash scripting to automate alot of day to day task, the possibilities are endless using a scripting language such as bash. If you're interested, a great book is UNIX Shell Programing by Stephen Kochan, Patrick Wood. Br, -JL --- Jeff Lewis <jlewis1957@netscape.net> wrote: > * * * * * * * * * * * * * * * * * * * * * * * * * * > * * * * * * * * > * > * > * Sue & Greg: Please don't hesitate to suggest > that I take these * > * comments to a more appropriate list. > I do not want * > * them to just be allowed as in times > past. * > * > * > * I believe that all of these postings > are within * > * the list's charter. Perhaps they > will be a good * > * example. If not, then perhaps I will > concur with * > * you both that the list should be > disbanded. But * > * I figure that I have roughly 30 days > to push the * > * envelope. Be purists so that newbies > understand. * > * > * > * * * * * * * * * * * * * * * * * * * * * * * * * * > * * * * * * * * > > FIRST > ----- > I chose FreeBSD to house my company's new external > web server primarily > because of it's stability. I've only played with > linux, but enough to > feel like I was on a real whirlwind of updates all > the time. I figured > that if FreeBSD was stable enough for Yahoo, Google > and Pair (my ISP) > to base THEIR business on, then it should be stable > enough for this > little business as well. > > SECOND > ------ > I have time. I have 3-6 months to get this box up, > stable and secure. > Security is this huge black hole for me. I don't > even know enough to > know how much I don't know. I am chomping at the bit > to learn. > > THIRD > ----- > I primarily come from an MSDOS 3.0 - 6.22 world. I > beta tested Win95. > I barely used Win98, preferring WinNT. But I've used > a multitude of > computers throughout my career, including TRS-DOS, > Concurrent CPM, > PR1MOS, and tons of embedded stuff. I spent roughly > 25 years in an > electronics manufacturing environment. I got into IT > as a Netware 3 > and 4 administrator. Took a job at a fast growing > company in the > center of a major US city and helped them setup > WinNT servers, as > well as create a WAN throughout the US. The > corporate mandate there > was Microsoft. No FOSS whatsover, period. > > Today, I am an administrator for a small Microsoft > based Win2k3/WinXP > network, in a small company, located only 2 miles > from my home. I am 47, > eat lunch at home everyday and see my wife and > teenagers every night. > > But I choose what we run here. We were bound to an > app that mandated > Microsoft SQL Server. We had no such mandate for the > new web server. > > > AND FINALLY! > ------------ > I have played with Unix, or worked in a very small > way on production > SunOS computers off and on for years. I never > understood the whole > concept of multiple shells and/or scripting > languages. I've read about > them, but there MUST be some teflon in the cranium > somewhere. > > I understand this next question could invoke what > I've termed digital > zealotry, but as a FreeBSD newbie, I gotta know. > > Why are there so many different shells? Does each > shell interface > directly with the kernel independantly? AND (here it > comes) which is > the [right one/best one] to use? > > I guess I am TOO comfortable with the > command.com/batch file world > and that I need to open my mind a little. I've > always felt that CMD/Batch > was more of a limiting factor than a plus, but I > could alway use KIX > or Novell's login scripts to get network scripting > done. For everything > else, there was perl. I never had to chang a shell, > replaced command.com. > Just used a different scripting language. Perl has > existed a lot longer > in the unix world than the MS world. Why not script > everything in that? > > So why CSHELL as a shell AND a scripting language, > BASH as a shell AND > a scripting language? SHELL, CSHELL and BASH all on > the same machine? > Do they have specific purposes? Should I log in as > root using one type > of shell but log in as my user account using another > type of shell? > > I guess that I am leaning towards BASH for > everything. I have an > O'Reilly book for BASH. But if I do so, am I missing > some rich feature > set somewhere else? > > Is there a good rule of thumb for when I should not > use a BASH script > and go to a PERL script? > > URLs gladly accepted for places to learn more. > > Jeff > > > > __________________________________________________________________ > Switch to Netscape Internet Service. > As low as $9.95 a month -- Sign up today at > http://isp.netscape.com/register > > Netscape. Just the Net You Need. > > New! Netscape Toolbar for Internet Explorer > Search from anywhere on the Web and block those > annoying pop-ups. > Download now at > http://channels.netscape.com/ns/search/install.jsp > _______________________________________________ > freebsd-newbies@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > To unsubscribe, send any mail to > "freebsd-newbies-unsubscribe@freebsd.org" > __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041230202407.62752.qmail>