# Now, Linux is capable of running Windows programs from the
# command line
# run a Windows program (if you have it) directly...
./notepad.exe
This feature can be used to run Windows, JAVA, or other formats
(SYSV Unix, and other) directly.
Files in Linux have to set executable, before they can be run. ld and gcc does this automatically, but for foreign or shebang you may have to do it manually:
chmod +x filename
and ls -l filename to check.
Hope this helps...
Nitin
2009-01-19 05:51:07 UTC
exe wont run in Linux. You can use any of the shell to run a program. If you are making your own program then make sure first line of the file starts with
#!/bin/sh
and make sure you run the command
chmod +x
+x will make it executable.
most of the unix scripts will have .sh in the end which means they are executable. also the files that have x in the permission fields are executables.
you can write scripts in perl, c, c++ on linux.
Captain Penguin
2009-01-19 05:44:13 UTC
Any file can be made executable in linux - we don't rely on 'extensions'
There are many different languages you can use to write software. I heard that Perl is easy to learn and very good.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.