OS X - Operating System General OS operation information and support

Need help in Terminal


Post Reply New Thread Subscribe

 
Thread Tools
Gervate

 
Member Since: Feb 09, 2011
Posts: 1
Gervate is on a distinguished road

Gervate is offline
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
Raz0rEdge

 
Raz0rEdge's Avatar
 
Member Since: Jul 17, 2009
Location: MA
Posts: 5,855
Raz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud of
Mac Specs: 27" i7 iMac with 16GB RAM and 1TB HDD, iPhone 3G & 4, iPod Nano 16GB, iPod Shuffle, iPad 2 16GB WiFi

Raz0rEdge is offline
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
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,337
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
If the program is not executable, you can make it executable by doing the following:
Code:
chmod +x <filename>
Is this a program from someone you know or from online? If it's a widely available program, what is it? If we know, we may be able to be more specific.

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


« Brand New Mac Crashing Continuously | Reformatting PowerPC : How to save apps? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
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
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?