| OS X - Operating System General OS operation information and support |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Feb 09, 2011
Posts: 1
![]() |
Hi, I'm currently trying to run a file I had to unzip in terminal
because it wouldn't unzip by itself. I'm on my iMac and I unzipped the file succesfully but now I've got the unzipped folders I'm unsure how to get them to Run but I'm being told to use terminal for this, anyone got ANY ideas what I can do ? -Gervate |
| QUOTE Thanks | |
![]() Member Since: Jul 17, 2009
Location: MA
Posts: 5,855
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 27" i7 iMac with 16GB RAM and 1TB HDD, iPhone 3G & 4, iPod Nano 16GB, iPod Shuffle, iPad 2 16GB WiFi
|
Welcome to Mac-Forums..
Go to the directory where you have unzipped the file, if a new directory was created, you'll want "cd" into that directory. Now do an "ls -l" to get a list of the files. Look at the left side where you'll see things like "rwxr-xr-x" or "rw-r--r--" and so on. These are the permissions of the file, you'll want to ensure that the "x" permission is set for whatever file you have to run. Once you've confirmed that, you can execute the program with "./<program-name>". You need to add the "./" (dot and slash) to tell the shell to look for the program in the current directory.. Regards |
| QUOTE Thanks | |
![]() Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,337
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2012 13" MBP (2.5 i5, 8GB)
|
Code:
chmod +x <filename> Important Links: Community Guidelines : Use the reputation system if you've been helped. M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST. |
||||
| QUOTE Thanks | |||||
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| How do you change default port for Terminal Services Client for Mac? | vpalhories | Internet, Networking, and Wireless | 1 | 09-01-2010 01:27 PM |
| Terminal Won't Open | icefall5 | OS X - Operating System | 7 | 08-25-2010 08:26 AM |
| C++ in terminal | frike | OS X - Development and Darwin | 2 | 04-04-2008 10:52 AM |
| Terminal problems please help | CliveO | OS X - Operating System | 6 | 03-20-2007 10:04 AM |
| Terminal Help | rs2sensen | OS X - Apps and Games | 1 | 04-25-2005 10:52 PM |
All times are GMT -4. The time now is 08:50 PM.
Powered by vBulletin