From: Mario Ruiz Date: 2011-09-12T20:24:00+09:00 Subject: Re: Network user on Linux thanks a lot!!! it is working!! Another thing related to this is, I need to get access to a file that is on network drive and the problem is I can access it on windows like //fileserver.... but in linyx is by using smb://fileserver so I need to identify which system I'm using or if there is any way to do the same in both systems... Robert Klemme wrote in post #1021423: > On Mon, Sep 12, 2011 at 12:52 PM, Mario Ruiz wrote: >> I am able to get the network user in windows though ENV['username'] but >> this is not wokring on linux, -- Posted via http://www.ruby-forum.com/.