Join Today













Site Sponsor
Results 1 to 2 of 2
  1. #1

    iPhone Moderator, Trusted Guru &
    CDMA GURUS Booster
    rich hathaway's Avatar


    Join Date
    Apr 2010
    Location
    kansas city
    Posts
    2,943
    Rep Power
    5936

    Default Usefull commands for mobile terminal & how to install m-t on iphone 4

    These are some mobile terminal commands and also instructions on how to log into your i device as a super user.

    be carfull with any command prompt. i am not responsible for "anything" that "you" do to your device.

    if you mess it up,a full restore will usually fix it.

    [hide-thanks]

    first off,mobile terminal is not yet fully compatible with ip4,it will crash often if not every time right now.

    so add this source to cydia to get m-t "YourCydiaRepo.org" then open it after installing it and scroll down to mobile terminal and instal it.

    this repo will error out and have dependency problems but mobile terminal will run fine and stay open.

    also if you are gonna use this and know what you are doing you prolly already know to install erica utilities for added c-prompts and utilities.

    ok here are a few commands for m-t-- this is a very partial list

    --
    respring- resprings device

    locate-- obvious what that does

    suspend-- obvious what this does

    dpkg --list > packages.txt- creates a list of installed cydia packages

    *dpkg -i nameofpkg- used to install .debs

    *dpkg -r nameofpkg- used to remove cydia packages

    *apt-get update- updates cydia sources

    *apt-get install nameofpkg- used to install cydia packages

    *apt-get remove nameofpkg- used to remove cydia packages

    help- gives you a list of other terminal commands that you may or may not want to use

    enable- gives you a list of prompts that works with that command as well

    Commands with a * next to them need you to log in as a super user or "su" so use this command "su" hit return then type (unless you changed the password ) default password is
    "alpine" hit return and your now logged in as super user

    [/hide-thanks]

    feel free to add to this list,however DO NOT POST ANY UNTESTED OR HARMFULL COMMAND,IF YOU DO THEY WILL BE DELETED AND THE BAN HAMMER WILL BE LAID DOWN!
    having said that ....enjoy....
    Last edited by rich hathaway; 05-02-2011 at 06:37 PM.
    Custom tools and custom phone & mifi firmwares built to your specs.Contact me !

    I WILL NOT ANSWER SUPPORT QUESTIONS THRU PRIVATE MSG.
    See mifis.us for $5 unlimited data on vzw (Resellers welcome)

    www.mifis.us <--get yer unlimited data mifis here

  2. #2

    iPhone Moderator, Trusted Guru &
    CDMA GURUS Booster
    rich hathaway's Avatar


    Join Date
    Apr 2010
    Location
    kansas city
    Posts
    2,943
    Rep Power
    5936

    Default Re: Usefull commands for mobile terminal & how to install m-t on iphone 4

    usefull commands for mobile terminal part 2

    [hide-thanks]


    Things to do with your terminalWhile this is in no way a full how-to for UNIX systems, these are some of the commands that you may find useful for your Terminal.
    CopyCommand cp
    Common Flags -r
    Usage:
    1. cp file /
    2. cp -r folder /
    3. cp folder /
    4. cp -r /folder .
    5. cp /file ..
    Copies file from the current directory to / the root directory

    Command cp
    Common Flags -r

    Copies the folder "folder" and its subdirectories and files to the root
    Copies the folder "folder" to the root, without its subdirectories
    copies /folder to current directory ( . stands for current directory )
    copies /file to the directory above the current ( .. stands for the directory above this )
    DeleteCommand rm
    Common Flags -f -r
    Usage:
    1. rm file
    2. rm -fr folder
    3. rm -r non-empty-folder
    4. rm -r empty-folder
    removes file completely (there is no trash, files deleted with rm are GONE)

    removes folder and its contents recursivly
    this will fail, if a folder has contents you must use -f
    this is fine, it will remove empty-folder
    Free SpaceCommand df
    Common Flags -h
    Usage:
    1. df
    2. df -h
    This will output ...

    Command df
    Common Flags -h

    (-h is for Human-Readable) = Filesystem & Size
    Common Flags none
    Usage:
    1. mkdir my-dir
    2. mkdir my dir
    3. mkdir my\ dir - or - mkdir "my dir"
    4. mkdir /mydir
    5. mkdir ~/myowndirmakes the directory my-dir

    makes the directories my and dir
    makes the directory "my dir" with a space
    makes the directory mydir below the root
    makes the directory myowndir inside your home folder
    (root home folder is /private/var/root, mobile is /private/var/mobile)
    Move AboutCommand cd
    Common Flags none
    Usage:
    1. cd
    2. cd ~
    3. cd /
    4. cd ..
    5. cd adir
    6. cd /mydirgoes to your home directory

    same as cd
    goes to the root
    goes up one directory
    goes to adir (if it exists)
    goes to /mydir
    Direct OutputCommand * >*.*
    Usage:
    1. ping yahoo.com >output.txt
    2. df -h >freespace
    3. echo "hello world" >hello_world.txt
    4. ls -R / >/dev/nullputs the output of the ping command into a txt file

    put the output of "df -h" into freespace
    puts "hello world" into hello_world.txt
    runs the command "ls -R /" (careful thats a lot of output) but doesn't do anything with the output
    Background ProcessesCommand * &
    Usage:
    1. killall SpringBoard &
    2. killall SpringBoard >/dev/null &runs the command in the background

    runs the command in the background and hides the output[/hide-thanks]

    ad to this anything extra that is usefull that you may have
    Custom tools and custom phone & mifi firmwares built to your specs.Contact me !

    I WILL NOT ANSWER SUPPORT QUESTIONS THRU PRIVATE MSG.
    See mifis.us for $5 unlimited data on vzw (Resellers welcome)

    www.mifis.us <--get yer unlimited data mifis here


 

Similar Threads

  1. T-Mobile Now Selling iPhone 4-Compatible Micro SIM Card
    By cdmagurus.com in forum T-Mobile General discussions
    Replies: 0
    Last Post: 07-22-2011, 07:00 PM
  2. Terminal App for HTC Hero
    By Pac3comm1 in forum HTC Hero (CDMA)
    Replies: 2
    Last Post: 08-08-2010, 08:32 PM
  3. Terminal App for Android
    By Pac3comm1 in forum Misc
    Replies: 1
    Last Post: 08-08-2010, 03:43 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •