Environmental Variable for current domain

Posted by Krzysztof Goszka on Ask Ubuntu See other posts from Ask Ubuntu or by Krzysztof Goszka
Published on 2013-05-14T12:51:16Z Indexed on 2013/10/29 4:17 UTC
Read the original article Hit count: 264

Filed under:
|

I'm using Ubuntu 12.04 LTS Desktop edition

I want to use environmental variable for currently joined domain just like i use $USER to bring current user. From what i read there are few variables for that but none seem to work for me. I also cannot see those variables as active when i type env command.

I would appreciate a solution on how to enable that variable or how to make my own variable by pulling current domain name from the system somehow.

© Ask Ubuntu or respective owner

Related posts about bash

Related posts about environment-variables