UberStudent Forums

Help and Community for Users of Uberstudent
Return to UberStudent Home Page
It is currently Sun Sep 23, 2018 4:26 am

All times are UTC




UberStudent Logo Shirt
Hey! You can wear this UberCool UberStudent Logo Shirt

Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Using .sh scripts
PostPosted: Wed Mar 06, 2013 9:36 pm 
Offline
Established UberStudent User

Joined: Sun Mar 03, 2013 7:24 pm
Posts: 20
Hello again it's the proverbial pain in the neck this time i need to know how to run .sh scripts. I'm sure when i used mint i just double clicked and they ran but on uberstudent it opens the editor. Although that may be my fault as i copied and pasted the script from the playonlinux site. I am thinking that may not be the way to do it? Please enlighten me.


Top
 Profile  
 

Get an UberCool UberStudent Shirt!

UberStudent Logo Shirt
UberStudent Logo Shirt by uberstudent
See other Uberstudent T-Shirts
 Post subject: Re: Using .sh scripts
PostPosted: Wed Mar 06, 2013 9:50 pm 
hi there!

Do you know where your script is? (Downloads?)

If you know where it is, you should navigate to it using the terminal (press the F1 button, sorry, I don't know the GUI way)

So something like this
cd ~/Downloads

When you get to where you want to go, type in this
ls

If you see your file, you're in the right spot.


Now, type in
chmod +x name_of_script

Where name_of_script is the name of your script.
chmod +x means to add executable power to your script. when you copied and pasted it, it only had read and write permissions, now you have read, write, and execute :-D

You should be able to run the script now, either by typing
./name_of_script
or by going to the GUI and clicking on it.

Hope that helps :-)


Top
  
 
 Post subject: Re: Using .sh scripts
PostPosted: Wed Mar 06, 2013 10:04 pm 
Offline
Established UberStudent User

Joined: Sun Mar 03, 2013 7:24 pm
Posts: 20
worked perfectly thank again till next time (inevitably) :D


Top
 Profile  
 
 Post subject: Re: Using .sh scripts
PostPosted: Wed Mar 06, 2013 10:09 pm 
Anytime! ^_^
Feel free to ask any questions :-D


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Click Here to Get Inexpensive UberStudent Discs


Click here to get UberStudent discs delivered to your mailbox
Delivered Directly to Your Mailbox!



All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group