MESSAGE
DATE | 2015-04-15 |
FROM | Maneesh Kongara
|
SUBJECT | Re: [LIU Comp Sci] BASh Shell Scripting
|
From owner-learn-outgoing-at-mrbrklyn.com Wed Apr 15 19:04:31 2015 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: by mrbrklyn.com (Postfix) id 9E74916115E; Wed, 15 Apr 2015 19:04:31 -0400 (EDT) Delivered-To: learn-outgoing-at-mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 28) id 880C7161168; Wed, 15 Apr 2015 19:04:31 -0400 (EDT) Delivered-To: learn-at-mrbrklyn.com Received: from mail-qk0-f180.google.com (mail-qk0-f180.google.com [209.85.220.180]) by mrbrklyn.com (Postfix) with ESMTP id 8D8A416115E for ; Wed, 15 Apr 2015 19:04:07 -0400 (EDT) Received: by qkx62 with SMTP id 62so107104793qkx.0 for ; Wed, 15 Apr 2015 16:04:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xYR96GWIRIqmg0nHTdeaCv/ootW0o1wOM5KUvEHVRK8=; b=r+hCP1mRlpzJrq+Zr1A+xvNHKl2tB/YaoiC0ccNp29vdQAbwvEWwfsSDB1EPzpU9t6 ACx6W/bss2Z4wTNmjAxum8G+v19KJboJy/T/Dyv8rl7w+SNTapM7//uqYWzHTRp/tV8C YwkjF5VR34ufUUCyQaI3ZeWyD3GBt3WBj1Cvr5OszhQmGqlpX+X640OKuYzuyhZG52/T 1Bswe03aZe5yfqaRoVJFQnYqn3IWEBbBF+ojUvqJbMNFpLPKk75kaY2APgR5dUNAM/UW 1jUeuBoIywzpmA7cGvQ4/4dFOtwKpRnBsNDcomJ5xGUSIw+bIWxl/jixNFnl+MFUuwfk AoZQ== MIME-Version: 1.0 X-Received: by 10.55.43.83 with SMTP id r80mr56984180qkh.80.1429139046838; Wed, 15 Apr 2015 16:04:06 -0700 (PDT) Received: by 10.229.56.132 with HTTP; Wed, 15 Apr 2015 16:04:06 -0700 (PDT) Received: by 10.229.56.132 with HTTP; Wed, 15 Apr 2015 16:04:06 -0700 (PDT) In-Reply-To: <552EEEBD.1050806-at-panix.com> References: <552BFC96.3050102-at-panix.com> <552EEEBD.1050806-at-panix.com> Date: Wed, 15 Apr 2015 19:04:06 -0400 Message-ID: Subject: Re: [LIU Comp Sci] BASh Shell Scripting From: Maneesh Kongara To: learn-at-mrbrklyn.com Content-Type: multipart/alternative; boundary=001a1147af3438b5f80513cb5d4a Sender: owner-learn-at-mrbrklyn.com Precedence: bulk Reply-To: learn-at-mrbrklyn.com
--001a1147af3438b5f80513cb5d4a Content-Type: text/plain; charset=UTF-8
Thanks so much. On Apr 15, 2015 7:03 PM, "Ruben" wrote:
> http://www.linuxjournal.com/article/2807 > > On 04/13/2015 01:27 PM, Ruben Safir wrote: > >> To the Students mailing list: Please with regard to the assignment >> on shell scripting >> >> http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html >> >> http://www.panix.com/~elflord/unix/bash-tute.html >> http://www.grymoire.com/Unix/Sh.html#uh-29 >> http://tldp.org/LDP/abs/html/ >> >> I know that your gonna google things but go to the source. >> >> It is not in these FAQs but do NOT forget to change the PATH variables >> to a specific set of locations to find executables.... or you have a >> mile high security hole/ >> >> See >> >> [ruben-at-stat13 ~]$ set|grep PATH >> CLASSPATH=/home/ruben/GNUstep/Library/Libraries/Java:/root/ >> GNUstep/Library/Libraries/Java:/usr/lib/GNUstep/Libraries/Java >> GNUSTEP_PATHLIST=/usr/System:/usr/Network:/usr/Local:/root/GNUstep >> GUILE_LOAD_PATH=/home/ruben/GNUstep/Library/Libraries/ >> Guile:/root/GNUstep/Library/Libraries/Guile:/usr/lib/ >> GNUstep/Libraries/Guile >> INFOPATH=/usr/share/info::/root/GNUstep/Library/ >> Documentation/info::/home/ruben/GNUstep/Library/Documentation/info: >> LD_LIBRARY_PATH=/home/ruben/GNUstep/Library/Libraries:/ >> root/GNUstep/Library/Libraries:/usr/lib >> MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins >> PATH=/home/ruben/GNUstep/Tools:/usr/local/sbin:/usr/ >> local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_ >> perl:/usr/bin/vendor_perl:/usr/bin/core_perl >> [ruben-at-stat13 ~]$ >> >> That is standard on my usable shell - tooo wide. On shell scripts, it >> is important to remember to set your environment and not depend on what >> you inherit when you run it. In fact, that is probably true with all >> programming, but it is an upfront and wide problem with shell scripts. >> >> Ruben >> >>
--001a1147af3438b5f80513cb5d4a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks so much.
On Apr 15, 2015 7:03 PM, "Ruben" <<= a href=3D"mailto:mrbrklyn-at-panix.com">mrbrklyn-at-panix.com> wrote: ype=3D"attribution"> .8ex;border-left:1px #ccc solid;padding-left:1ex">nuxjournal.com/article/2807" target=3D"_blank">http://www.linuxjournal.com/= article/2807
On 04/13/2015 01:27 PM, Ruben Safir wrote:
x #ccc solid;padding-left:1ex"> To the Students mailing list:=C2=A0 Please with regard to the assignment > on shell scripting
nk">http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
ank">http://www.panix.com/~elflord/unix/bash-tute.html
ht= tp://www.grymoire.com/Unix/Sh.html#uh-29
http://tldp.org= /LDP/abs/html/
I know that your gonna google things but go to the source.
It is not in these FAQs but do NOT forget to change the PATH variables
to a specific set of locations to find executables.... or you have a
mile high security hole/
See
[ruben-at-stat13 ~]$ set|grep PATH
CLASSPATH=3D/home/ruben/GNUstep/Library/Libraries/Java:/root/= GNUstep/Library/Libraries/Java:/usr/lib/GNUstep/Libraries/Jav= a
GNUSTEP_PATHLIST=3D/usr/System:/usr/Network:/usr/Local:/root/= GNUstep
GUILE_LOAD_PATH=3D/home/ruben/GNUstep/Library/Libraries/Guile= :/root/GNUstep/Library/Libraries/Guile:/usr/lib/GNUstep/Libra= ries/Guile
INFOPATH=3D/usr/share/info::/root/GNUstep/Library/Documentati= on/info::/home/ruben/GNUstep/Library/Documentation/info:
LD_LIBRARY_PATH=3D/home/ruben/GNUstep/Library/Libraries:/root= /GNUstep/Library/Libraries:/usr/lib
MOZ_PLUGIN_PATH=3D/usr/lib/mozilla/plugins
PATH=3D/home/ruben/GNUstep/Tools:/usr/local/sbin:/usr/local/b= in:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/= bin/vendor_perl:/usr/bin/core_perl
[ruben-at-stat13 ~]$
That is standard on my usable shell - tooo wide.=C2=A0 On shell scripts, it=
is important to remember to set your environment and not depend on what
you inherit when you run it.=C2=A0 In fact, that is probably true with all<= br> programming, but it is an upfront and wide problem with shell scripts.
Ruben
--001a1147af3438b5f80513cb5d4a--
|
|