run an .exe file in UNIX [closed] - linux

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.

Related

Linux: How can I log in as root user on my local 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 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.

How do I connect to a simple linux console for executing some basic commands that anyone could with just a linux operating system? [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 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.

tar E command line switch [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
We're migrating an application from a very old Solaris box over to a relatively newer Linux machine. I'm having trouble finding an equivalent for a command line option that was used on our old server when running tar on the newer one. I'm assuming that it is obsolete now, as I don't see anything via man or searching online to indicate why it was done away with... but if anyone has any information, it would be very much appreciated.
The version of tar on the old server was 1.12, and the version on the new server is 1.23.
The command we ran was:
tar cEf path-to-tar path-to-tar-up
Does anyone know whether this switch is even necessary anymore? Unfortunately the code using this switch predates my work on the project, so I am unaware of why this particular switch is being used currently.

View File Permissions In Windows 7 Like Linux OS [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 8 years ago.
Improve this question
is there a way to view the file permissions for a file in a Windows that will give the same output like as Linux machine (e.g. -rw-rw-r--)?
Thanks.
You can install the GNU Win32 tools.
It contains a lot of useful Linux/Unix tools for Windows.
That includes ls.
And unlike Cygwin, it's Windows native exe's. No need for cygwin.
See here: https://u-tools.com/msls.asp
And here: http://gnuwin32.sourceforge.net

How to run .exe executable file from linux command line? [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 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.

Resources