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 8 years ago.
Improve this question
I have one abc.exe executable file in windows. I am able to execute this application using DOS command promt and give some run-time variable to it.
I want to do same in linux system from terminal.
How can I do this??
Windows EXE files usually can't run on Linux. You might be successful with wine which emulates MS Windows, though:
wine abc.exe
What do you mean by a runtime variable? A command line argument, or environment variable?
chorobas answer is correct, Linux cannot directly run .exe files however with third part software like wine, or running a windows vm to execute your file.
Related
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 7 months ago.
Improve this question
How can I use in the window terminal the linux commands?
For example: use the "ls" command to see the directories of the files inside the same window terminal, if someone knows about it, thanks in advance.
There are several ways to do that, depending on what you mean by your request:
You could use wsl (windows subsystem for linux) and have fun with the Linux shell inside Windows (It's running a linux distribution however, so I don't know if it's what you want).
I use personally git bash and I think that's what you want.
If by "using linux commands" you mean practising with the Linux environment, I strongly suggest to install a VM with Linux on it, or go as far as dual-booting it with Windows.
If you are experienced and you just want a way to have the same commands, then as I said, Git bash or also Cygwin are the way to go
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 would like to be a user with root access, when developing in Visual Studio Code on my local machine.
I read many posts about this but they all depend on using something with su or sudo. Unfortunately, in my case both return "bash: su(do): command not found".
How can I enable root access for myself?
MSYS/MinGW is essentially just a collection of linux utilities compiled as windows executables. It is not actually linux, so linux concepts, like the root user, do not apply. Similarly, tools that only work on linux, like nvm, also will not work in MSYS. If you want something that is actually linux, check out the Windows Subsystem for Linux, or WSL.
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 would just like to be able to have my own linux command line on Windows 7. I do have Putty installed but I have no idea how to access a simple linux command line. I just basically need the basic commands that any Linux OPERATING SYSTEM has.
Install Cygwin (https://www.cygwin.com). Cygwin is a Unix-like environment and command-line interface for Microsoft Windows. Cygwin provides native integration of Windows-based applications, data, and other system resources with applications, software tools, and data of the Unix-like environment.
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 8 years ago.
Improve this question
A bit of a silly question , please forgive my lack though, new UNIX user .
I have an setup_test.exe file if there a way that i can make it "run-install" or compile it in UNIX based machine, or I need the source code to start with?
thanks in advance
If this executable came from the Windows environment, it won't run under UNIX/Linux without lots of help.
Two options:
If you have the source code and the application doesn't rely on a lot of Windows specific libraries, you could try compiling it in your current environment.
The WINE emulator can often run Windows executables, depending again on what libraries from Windows are used.
If it isn't a Windows exe and is native to your current environment, then ./exename.exe should work provided you have the permissions to execute it.
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
In Windows, if I am on the command prompt (cmd), if I write the command
explorer .
It will open Windows Explorer with the current directory. Is there anything similar I can do with Linux?
xdg-open . opens with the default file explorer.
More information is here.
xdg-open uses data from
~/.local/share/applications/mimeapps.list
(in most cases) to find the correct application.
The MIME type for a directory is inode/directory from here.
On Ubuntu:
nautilus . # For the current folder
nautilus /home/ # Opens the home folder
If you do not have it, just install this by
apt-get install nautilus
Then use the above command to explore the directory.
It depends what file manager you have, but yes, you can.
For instance, type xfe, or dolphin, or gentoo, etc.
Type the name of the binary of the tool you want to open.