Jump to content

How to open .SH file in windows?

botpaket
Go to solution Solved by paprikman,

I think i will go with the first option

 

can you tell me what to type?

 

because, everytime i type in terminal (echo 'a') , the terminal immidietly printed 'a'

 

i want to write my bash code fully first

 

 

and may i ask , how to run the bash code after i finish coding?

Just look through this article.

Hello

i have a project due tomorrow using bash codes

 

the teacher does not explain at all about how to use linux etc, to write the bash codes

 

so, i tried to install linux on virtual box

but i didnt know what to do in terminal, 

everytime i write a code, (like echo, the echo word just printed out) 

 

sorry i'm very2 nooobbbbbbb

 

 

 

so , i use www.ideone.com

in there,i just need to write the code, and download it as .SH file

 

but i don't know how to open it on windows

can you guys help?

 

thanks

Link to comment
Share on other sites

Link to post
Share on other sites

Just press right key, then "open with" and select Notepad, OR open Notepad, then drop this file into notepad's window.

Link to comment
Share on other sites

Link to post
Share on other sites

Just press right key, then "open with" and select Notepad, OR open Notepad, then drop this file into notepad's window.

What if i want to run the file ?

 

its like a menu program

 

if i choose the first menu, it will do this..

if i choose the second menu, it will do that.. etc

Link to comment
Share on other sites

Link to post
Share on other sites

What if i want to run the file ?

 

its like a menu program

 

if i choose the first menu, it will do this..

if i choose the second menu, it will do that.. etc

To run the .sh script with windows, u have 2 options:

  1. install virtual box and use linux system in this virtual machine
  2. use this project
Link to comment
Share on other sites

Link to post
Share on other sites

 

To run the .sh script with windows, u have 2 options:

  1. install virtual box and use linux system in this virtual machine
  2. use this project

 

I think i will go with the first option

 

can you tell me what to type?

 

because, everytime i type in terminal (echo 'a') , the terminal immidietly printed 'a'

 

i want to write my bash code fully first

 

 

and may i ask , how to run the bash code after i finish coding?

Link to comment
Share on other sites

Link to post
Share on other sites

I think i will go with the first option

 

can you tell me what to type?

 

because, everytime i type in terminal (echo 'a') , the terminal immidietly printed 'a'

 

i want to write my bash code fully first

 

 

and may i ask , how to run the bash code after i finish coding?

Just look through this article.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×