[GRASS-user] exit from grass after setting GRASS env variable

Nikos Alexandris nik at nikosalexandris.net
Thu Feb 19 10:11:16 PST 2015


Giuseppe Amatulli wrote:

>> i have a very simple question but i'm not able find the simple 
>> answer.
>> I'm following the procedure for Setting the GRASS environmental
>> variables, <http://grasswiki.osgeo.org/wiki/GRASS_and_Shell>in the 
>> bash
>> environment.
>> Everything works grate and I'm able to access to all grass commands.
>> My question is how I can exit from grass and return to the
>> bash-with-nograss.

Moritz Lennert wrote:

> You cannot "exit" GRASS as it is not an application by itself. If you
> do not want to have access to the GRASS modules anymore, just unset
> your environment variables.

Like that <http://stackoverflow.com/a/6877747/1172302> I guess!

Nikos

> If you want to change your prompt, set PS1 to something else.
> Moritz


More information about the grass-user mailing list