Skip to main content
edited tags
Link
fedorqui
  • 293.3k
  • 111
  • 592
  • 640
edited body
Source Link
fedorqui
  • 293.3k
  • 111
  • 592
  • 640

Can iI run linuxa Linux shell script in windowsWindows?

I created Shell Scrip On LinuxScript on Linux and it runs fine.

Now

Want I want to run Samethe same script on WindowsWindows using gitbash

gitbash. (Only filepath changed for windows)

Confused!I am confused:

Do i need TO Write New Shell script again according to windows syntax shell script

  • do I need to write a new shell script again according to Windows syntax shell script?

or

Linux syntax shell script can run on windows without change

  • can a Linux syntax shell script run on Windows without changes?

According TO differences-between-windows-batch-and-linux-bash-shell-script-syntax

Can i run linux shell script in windows

I created Shell Scrip On Linux it runs

Now

Want to run Same script on Windows using gitbash

(Only filepath changed for windows)

Confused!

Do i need TO Write New Shell script again according to windows syntax shell script

or

Linux syntax shell script can run on windows without change

According TO differences-between-windows-batch-and-linux-bash-shell-script-syntax

Can I run a Linux shell script in Windows?

I created Shell Script on Linux and it runs fine.

Now I want to run the same script on Windows using gitbash. (Only filepath changed for windows)

I am confused:

  • do I need to write a new shell script again according to Windows syntax shell script?

or

  • can a Linux syntax shell script run on Windows without changes?

According TO differences-between-windows-batch-and-linux-bash-shell-script-syntax

Source Link
vijay
  • 11.2k
  • 12
  • 67
  • 83

Can i run linux shell script in windows

I created Shell Scrip On Linux it runs

Now

Want to run Same script on Windows using gitbash

(Only filepath changed for windows)

Confused!

Do i need TO Write New Shell script again according to windows syntax shell script

or

Linux syntax shell script can run on windows without change

According TO differences-between-windows-batch-and-linux-bash-shell-script-syntax