Using Linux terminal on Mac OS X [closed] - macos

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I'm watching a course InfiniteSkills-Learning TCP/IP by Ric Messier and he is using Mac OS X terminal and in the lesson he connect to a Linux terminal to show netstat utility in more detail and I see some differences between both netstat utilities.
How can connect from Mac OS X Mountain Lion to a Linux terminal like this course? Need to install Linux on Parallels Desktop and then connect to Linux terminal in someway?
Thanks.

You may open OSX terminal by navigating to Application > utilities > Terminal.App.
Once there, you may have different ways to connect to a Linux server which are dependant on where is located and which communication protocol you want to use.
If your Linux server is enabled to be controlled by SSH, you can just type SSH address and log in remotely.
Please note that netstat is available also in the Max OSX terminal.

Related

Problem ssh connection Macbook as host to Debian VirtualBox [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I meet some problem while connected thru ssh to a Debian Virtualbox from a MacBook Pro.
I success to connect in ssh but some commands don't work from Macbook terminal and I don't understand why.
For example halt -p or a2ensite works directly on the VirtualBox screen but not thru ssh connection from MacBook terminal.
Is it related to the fact that Debian use bash and Macbook use zsh ?
I think I miss something here.
Thanks for your help !
I found the answer. I will be very interested if someone can explain to me why.
But after change zsh to bash on my MacBook:
chsh -s /bin/bash
Then restarting my laptop.
I started the VirtualBox and connect to it in ssh.
And all commands are now working.

Ssh from Ubuntu to Windows 7 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I was just about to try sshing for the first time and before I get into it, I want to know what's the best way to go about it. In particular, I'm currently running Linux through crouton on an HP chromebook and I want to ssh into and old windows 7 pc. Ideally I would love to have some sort of bash shell inside the windows ssh as I'm not so confident with cmd but I can make do. Are there any packages/apps that I should install on my old pc before I start trying. Preferably if there was something like WSL but for windows 7 that'd be great but I can't seem to find anything like it.
there is no ssh daemon (service) for windows from Microsoft.
So installing shell on windows, it is only about run it locally.
To connect with ssh on remote windows, you should install 3rd party ssh server on windows.

TightVNC on Ubuntu does not see clipboard contents from MAC OS VNC Viewer [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I installed TightVNC on Ubuntu
On mac I use ScreenSharing tool or TightVNC Viewer (Java version)
I can copy-paste from Ubuntu to MAC, but not from Mac to Ubuntu.
Did you manage to work with TightVNC from MAC?
As I discovered, VNC is very bad with clipboard operations.
So I switched to another technology - x2go (it has server and client and easily works with clipboard).

Ubuntu installer on an Oracle VM virtual Box on windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am trying to install Ubuntu on windows using Oracle VM virtual Box from an ISO disk image.When I try to install, the installer gives a prompt that " The computer currently has no operating systems" I am wondering if this should have detected my windows operating system or is it just trying to detect Operating systems within the virtual Box.
The reason being it gives only two options to install
--Erase disk and install Ubuntu
-- Resize partition for Ubuntu
I do not want to erase all files on my windows operating system. Does anybody know what does the 'disk' in the discussion mean>
The installer is looking for OS installations on the disk in the VM, not the host machine. You are perfectly safe selecting Erase disk and install Ubuntu, and in most situations in a VM, that is the correct choice.

Access Windows VM command prompt from Mac OSX Terminal [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have VMware Fusion 5 installed on my Mac, and have software installed on the Windows partition, that for various reasons, I would like to use via the Mac OSX Terminal rather than going through the VMware Fusion GUI of logging into my Windows VM and running command prompt and then running the software. I would prefer it if Terminal could access the windows command prompt of the vm machine, so that I can run the software from my Mac directly. I am happy to have them/would expect the Mac and Windows machines to be running side by side simultaneously.
Is this possible? I.e. can the Mac OSX Terminal access the VM Windows partition command prompt directly? And if so, how would one do this?
I had considered ssh but that seemed long-winded sending data backwards and forwards via the internet given that it is on a local machine and considered that there must be another/smarter alternative...also wasn't really sure it would work ssh'ing into from a Mac to Windows machine...
p.s. Sorry if SO isn't quite the right forum, and that there isn't quite a reproducible example, but have tried to explain the situation carefully to allow the community to help if possible. But if there is a better way to get a solution to my problem by either migrating or suggesting edits to the question that will make it a better question I would be more than happy to do so.
vmrun is the function that needs to be use used. I found it after a bit more searching...so the following will pretty much do the job...
/Applications/VMware\ Fusion.app/Contents/Library/vmrun -T fusion -gu <user\ name> -gp <password> runProgramInGuest /Users/<hostUserName>/Library/Application\ Support/VMware\ Fusion/Virtual\ Machines/Boot\ Camp/Boot\ Camp.vmwarevm/Boot\ Camp.vmx -interactive -noWait -activeWindow C:\\Windows\\Notepad.exe C:\\testing.txt
This link is quite useful http://www.vmware.com/pdf/vix162_vmrun_command.pdf

Resources