Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > iPhone, iPod and iPad > iOS > Jailbreaks and iOS Hacks

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 26, 2008, 01:08 PM   #1
KidneyMerchant
macrumors member
 
Join Date: Nov 2008
Mobile Terminal Commands

I got Terminal with dTunes recently and unlike many others who simply poof it off, I'm very intrested in knowing what I can do with it. Is there a tutorial site that has some commands I can use to get familiar with it?

Thanks!
KidneyMerchant is offline   0 Reply With Quote
Old Dec 27, 2008, 07:12 PM   #2
sjorge
macrumors member
 
Join Date: Jul 2008
You can do what you do in any linux/unix terminal. (ok typing is a bit of a pain)

I mostly use it to ssh into one of my servers or even download a file using wget on the schools wifi when i'm in class. (usb power ftw!)

If you really never used a terminal before you can take a look here:
http://www.hacktheday.com/beginners-...rminal-part-1/

it's about terminal.app in OSX but most will apply to Mobile Terminal too.

Enjoy
sjorge is offline   0 Reply With Quote
Old Dec 28, 2008, 04:27 AM   #3
Tokiopop
macrumors 68000
 
Tokiopop's Avatar
 
Join Date: Dec 2008
Location: West Yorkshire, UK
Send a message via MSN to Tokiopop Send a message via Skype™ to Tokiopop
Oh, how I wish there was a site that gave us all the mobile terminal commands and what they do...
Tokiopop is offline   0 Reply With Quote
Old Dec 28, 2008, 05:42 AM   #4
sjorge
macrumors member
 
Join Date: Jul 2008
Quote:
Originally Posted by Tokiopop View Post
Oh, how I wish there was a site that gave us all the mobile terminal commands and what they do...
Actually the available commands depend on what you've install from cydia.
If you install the ImageMagick packaged you get the lovely convert to convert images (also resize,...)

There a small list at wikipedia: http://en.wikipedia.org/wiki/List_of_Unix_programs

else there is always "man commandhere"
sjorge is offline   0 Reply With Quote
Old Dec 28, 2008, 07:14 AM   #5
Tokiopop
macrumors 68000
 
Tokiopop's Avatar
 
Join Date: Dec 2008
Location: West Yorkshire, UK
Send a message via MSN to Tokiopop Send a message via Skype™ to Tokiopop
Aha, thank you. I had tried a Google but no luck.
Tokiopop is offline   0 Reply With Quote
Old Jan 6, 2010, 06:39 AM   #6
nicksherb
macrumors newbie
 
Join Date: Jan 2010
Here is a list of features unique to Mobile Terminal.

The swipe up command is particularly helpful

http://code.google.com/p/mobiletermi.../TipsAndTricks
nicksherb is offline   0 Reply With Quote
Old Jan 6, 2010, 10:34 AM   #7
foob
macrumors 6502
 
Join Date: Feb 2009
By default, Terminal uses the Bash shell which is pretty old and well documented so you might want to google that. A good way to start would be to learn cat, grep, sort, uniq, diff and learn how to pipe and redirect output.

There are a lot of commands you can install from the Terminal section in Cydia and I also suggest getting wget, awk, and maybe links and lynx (for grepping the -dump option) and ssh. If you have a terminal on your computer and set up ssh properly (see ssh in my sig), it can be the easiest and fastest way to transfer files.

Most of the commands are in the /bin and /usr/bin directories so you can scroll through there and poke around for interesting names.
foob is offline   0 Reply With Quote
Old Sep 14, 2010, 02:43 AM   #8
lilfellabob
macrumors newbie
 
Join Date: Jun 2008
Unlock iphone

Hey guys,

My mate has a iPhone 3gs on 3.1.2 with a cracked LCD.. Does anyone know a way to unlock the phone from terminal? What I mean is that it's stuck on the lockscreen and there is no way to unlock it as the left side of the screen doesn't respond to touch. If we can unlock it to springboard with terminal we might be able to regain some functionality - using the right of the screen.

Cheers,
Josh
lilfellabob is offline   0 Reply With Quote
Old May 26, 2011, 09:37 PM   #9
Christheipod
macrumors newbie
 
Join Date: May 2011
Smile Serythis is late

Quote:
Originally Posted by KidneyMerchant View Post
I got Terminal with dTunes recently and unlike many others who simply poof it off, I'm very intrested in knowing what I can do with it. Is there a tutorial site that has some commands I can use to get familiar with it?

Thanks!
Go in to terminal and type su
Then password /default is :alpine
Then : ls
Then : cd /
Then : cd
Then : cd /
Then : cd usr
Then : cd bin
Then : ls and all terminal codes should pop up
Christheipod is offline   0 Reply With Quote
Old Jun 14, 2014, 11:50 PM   #10
DaRealFonz
macrumors newbie
 
Join Date: Jun 2014
I think for "cd bin" the command needs to be "cd /bin/" then type "ls" to show the list.
DaRealFonz is offline   0 Reply With Quote
Old Jun 16, 2014, 03:57 PM   #11
aPple nErd
macrumors 68000
 
aPple nErd's Avatar
 
Join Date: Feb 2012
Location: Jailbreaks/IOS Hacks
Quote:
Originally Posted by DaRealFonz View Post
I think for "cd bin" the command needs to be "cd /bin/" then type "ls" to show the list.
I think he found it out... Its been 3 years...
__________________
iPhone 5 White/Silver, iPad Mini Space Gray, iPod Tough 5 Blue, iPad 3 White, iPod Touch 4 White -- All Jailbroken
iMac Mid 2011 21.5"
aPple nErd is offline   1 Reply With Quote
Old Jun 16, 2014, 04:15 PM   #12
DaRealFonz
macrumors newbie
 
Join Date: Jun 2014
Quote:
Originally Posted by aPple nErd View Post
I think he found it out... Its been 3 years...
LOL yeah I figured... But at least for the next poor soul out there. I know I stumbled across this post a few days ago needing this info.
DaRealFonz is offline   0 Reply With Quote
Old Jun 16, 2014, 04:17 PM   #13
bradl
macrumors 68020
 
Join Date: Jun 2008
Quote:
Originally Posted by Christheipod View Post
Go in to terminal and type su
Then password /default is :alpine
Then : ls
Then : cd /
Then : cd
Then : cd /
Then : cd usr
Then : cd bin
Then : ls and all terminal codes should pop up
Rule #1 of Unix Security: do NOT run everything as the superuser.

Rule #2 of Unix Security: First, learn Rule #1.

BL.
bradl is offline   1 Reply With Quote
Old Aug 14, 2014, 05:14 PM   #14
Darkvitaliy
macrumors newbie
 
Join Date: Aug 2014
@bradl's I did that command and you said not to do it? What does this mean? Did I mess up my phone?

----------

Quote:
Originally Posted by bradl View Post
Rule #1 of Unix Security: do NOT run everything as the superuser.

Rule #2 of Unix Security: First, learn Rule #1.

BL.
I did that command, so what does it mean? Did I mess up my phone? Because you said don't run everything as superuser, so did I screw my phone up by running that command?
Darkvitaliy is offline   0 Reply With Quote
Old Aug 14, 2014, 08:32 PM   #15
darricksailo
macrumors 68040
 
darricksailo's Avatar
 
Join Date: Dec 2012
Quote:
Originally Posted by Darkvitaliy View Post
@bradl's I did that command and you said not to do it? What does this mean? Did I mess up my phone?

----------


I did that command, so what does it mean? Did I mess up my phone? Because you said don't run everything as superuser, so did I screw my phone up by running that command?
doubt it. you would know if you screwed it up, it would start acting wonky

it just means running everything as superuser has the potential of you screwing up your phone
darricksailo is offline   0 Reply With Quote
Old Aug 15, 2014, 04:50 AM   #16
Darkvitaliy
macrumors newbie
 
Join Date: Aug 2014
Quote:
Originally Posted by darricksailo View Post
doubt it. you would know if you screwed it up, it would start acting wonky

it just means running everything as superuser has the potential of you screwing up your phone
Thx man
Darkvitaliy is offline   0 Reply With Quote
Old Aug 20, 2014, 01:14 PM   #17
bradl
macrumors 68020
 
Join Date: Jun 2008
Quote:
Originally Posted by darricksailo View Post
doubt it. you would know if you screwed it up, it would start acting wonky

it just means running everything as superuser has the potential of you screwing up your phone
Exactly. You have the potential of deleting the entire OS off of your phone at this point: apps, the kernel, the entire lot, without any real way of getting anything back (and that could potentially include not being able to restore). Simply put, Ben Parker's quote comes into play:

Quote:
With great power comes great responsibility
The slightest mistake without knowing what you are doing, could be catastrophic. That is why you only use the superuser account (the root account) when you need to. Other times, your normal user access should be good enough.

BL.
bradl is offline   0 Reply With Quote
Old Aug 20, 2014, 03:07 PM   #18
lorax3
macrumors regular
 
Join Date: Jun 2007
Send a message via Skype™ to lorax3
Type "reboot"
__________________
You think you know, but you have no idea.
lorax3 is offline   0 Reply With Quote

Reply
MacRumors Forums > iPhone, iPod and iPad > iOS > Jailbreaks and iOS Hacks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
How to Erase Terminal Commands ezhu OS X Mavericks (10.9) 1 Mar 12, 2014 10:11 PM
General: FIX "Error opening terminal: xterm-256color" for Terminal Commands (e.g., "top") iOS7 thelatinist Jailbreaks and iOS Hacks 9 Jan 10, 2014 07:46 PM
Terminal commands dhokes OS X 6 Oct 21, 2013 10:24 AM
Terminal Commands: Networking related commands? MacNoobGuy OS X 3 Oct 27, 2012 09:10 AM
Almost no commands are working in terminal signor.dictator Mac Programming 4 Jun 14, 2012 03:14 PM

Forum Jump

All times are GMT -5. The time now is 12:14 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC