uname on Windows Terminal [closed] - windows

Closed. This question is not about programming or software development. 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 6 months ago.
Improve this question
I was wondering if the command uname works in Windows terminal? If so what does it output? I read that it could be Windows or WindowsNT

I believe uname shows you your kernel. So on GNU/Linux, running uname gives you Linux because that is your kernel. Out of Windows or WindowsNT, I'd assume Windows would give you Windows NT because that's the kernel it uses.
$ whatis uname
uname (1) - print system information
uname (2) - get name and information about current kernel
I think you can get similar information by using systeminfo.

in Windows, uname-equivalent is the 'ver' command.
>ver
Microsoft Windows [Version 10.0.19044.1889]
you can create a tiny script, call it uname.cmd
>type uname.cmd
#ver
Then you have your own uname command on Windows
>uname
Microsoft Windows [Version 10.0.19044.1889]
I tested the above on my Windows 10 PC.

Related

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.

How to install atom on Bash on Ubuntu 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 6 years ago.
Improve this question
I think it is a hard thing to do as nobody was able to help me, if anyone know how to install atom on Bash on Ubuntu on Windows, it would be greatly appreciated.
You can install it as you would on any Ubuntu - from its README.md:
Debian Linux (Ubuntu)
Atom is only available for 64-bit Linux systems.
Download atom-amd64.deb from the Atom releases page.
Run sudo dpkg --install atom-amd64.deb on the downloaded package.
Launch Atom using the installed atom command.
The thing is - it won't run. Bash on Ubuntu on Windows is highly experimental yet, so graphic applications won't work. I've tried on a VM, and I get a libXss.so not found error. You may be able to fix that issue by setting the LD_LIBRARY_PATH environment variable, probably, but you'll hit a bug in the implementation sooner than later.
Anyway, atom runs natively on Windows, so I'm not sure why would you want to install it there.

Can Windows 98's command.com be considered as a virtual machine? [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 6 years ago.
Improve this question
I was just playing around with OSs from DOS to Windows 98 and a question came to my mind : I've always seen cmd.exe in Windows XP and later as a shell (like in any Unix). But, when I discovered command.com in Windows 98, it seemed like a totally different thing (even though it seems that visually there's no difference). And since there's a way to "hide" Windows from the prompt perspective, then can command.com program in Windows 98 be just considered as a virtual machine/emulator emulating DOS and not as a standalone shell ?
cmd.exe is just a shell, no virtual machine involved.
But the old command.com was a different beast -- it was a 16-bit DOS application, and ran in Windows' virtual DOS machine (VDM).
Windows 98 had only command.com.
32-bit versions of Windows NT/2000/XP/etc. have both cmd.exe and command.com installed.
64-bit versions of Windows do not have a VDM and have only cmd.exe.

Using Linux terminal on Mac OS X [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'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.

Free software to command line login to Windows from Linux [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have a feeling the answer to this is "it's not possible", as I have googled a fair bit already. However, as I do cross platform development I would like to simultaneously work on my Linux laptop in the sitting room, beside the fire, and use the command prompt on my Windows XP machine which is in a different room, the study (colder!). This is because as I change code on Linux I would like to test regularly on Windows.
If I had installed Windows on the laptop I could have used ssh into Linux, but it is a low spec machine so I installed lubuntu instead. So, as James T Kirk would say "there's got to be a way".
install cygwin on windows and start ssh daemon on it. you will then be able to ssh into windows and get a familiar console window

Resources