LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   'net use' windows command equivalent in Redhat Enterprise AS (https://www.linuxquestions.org/questions/linux-newbie-8/net-use-windows-command-equivalent-in-redhat-enterprise-as-592515/)

Adam555 10-17-2007 10:46 AM

'net use' windows command equivalent in Redhat Enterprise AS
 
I have only got command line access

(xorgconfig not present so I'm assuming xwindows is not present - is there another type?)

I need to map to a windows share and wish to know the 'net use' equivalent if poss

any ideas?

b0uncer 10-17-2007 10:49 AM

xorgconfig might not be there even if there was an X available; rather see if there's the executable X:
Code:

which X
It's usually /usr/bin/X if it exists. You'll then use
Code:

startx
To get it running, provided that you've got a suitable .xinitrc file in your home directory.

If you wish to use Windows SMB shares, you'll need to use Samba for that. Samba website (and threads here at LQ about Samba usage) will help you out quickly.

Poetics 10-17-2007 02:17 PM

For mounting a windows share, take a look at the documentation (here, elsewhere, and in the man page) for Samba. It's a lot to read, but the software is very powerful, and doubtlessly installed on your computer unless specifically unselected during install.

Edit: Wow, I completely didn't see b0uncer's last line. What he said :)

Adam555 10-18-2007 06:02 AM

Thanks but I don't think I have got a browser either - (I'm using a hardened Symantec base image) - basically I'm trying to get Snort on it like in our production sysems (I'm running a virtual instance)

I got the snort package onto build (burnt a ISO image and mapped to the virtual CD drive) but I need to compile but I haven't got a compiler install (tried gcc and g++ commnads)

So now I have downloaded a compiled build and I want to get in installed without having to burn to CD - I have an idea what to do but I think I will trip over installing it as it is a rpm...

not sure how install these? any ideas?


All times are GMT -5. The time now is 10:13 PM.