Jump to content

Damn it, Google finaly can't answer a question that no one can ask


Sparda

Recommended Posts

Not that the topic title has much to do with the topic.

Any whoo, I'v Googled far too much then is recommended by any vulnerability tester, I can't find the answer.

On all Kubutu 7.04, 7.10 and Server 7.10, exports in scripts simply don't... export.

Lets say you write a simple script:

#!/bin/bash
export MYFACEISFUN='YES'

then you run

echo $MYFACEISFUN

the out put will be

Does any one have a fucking clue?

It looks like exports aren't been persistent or the export command is actually doing fuck all, and I am stumped.

Also to clarify, if you change the script to:

#!/bin/bash
export MYFACEISFUN='YES'
echo $MYFACEISFUN

the script out puts

YES

btw + 1 to Ubuntu search results page :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...