Uses for terminal?

Discussion in 'iOS Jailbreak & Cydia' started by Veovis Muad'dib, Oct 20, 2008.

  1. Veovis Muad'dib

    Veovis Muad'dib New Member

    Joined:
    Oct 7, 2008
    Messages:
    15
    Likes Received:
    0
    What is the terminal good for? Without any instructions, I resprung, and looked at some file directories, and then just killed terminal. Anyway, is there anything to do in terminal other than maybe moving things around?
  2. giannaros

    giannaros New Member

    Joined:
    Sep 1, 2008
    Messages:
    775
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    Yes!

    Please Register or Log in to view images

    Writing documents, changing permissions, fixing problems, compiling and running programs, and much much more!

    Please Register or Log in to view images

  3. Veovis Muad'dib

    Veovis Muad'dib New Member

    Joined:
    Oct 7, 2008
    Messages:
    15
    Likes Received:
    0
    Could I please have a list of useful commands? I'm a terminal noob (rofl, I realized what I just typed) and I'm trying to get more into terminal on my iPod, (And OS X, and Command Prompt in Windows) but I don't know how. A list of things with a short description of what they do would help. I only know two commands, one being list and the other being killall. And I can barely figure out how to use list.
  4. giannaros

    giannaros New Member

    Joined:
    Sep 1, 2008
    Messages:
    775
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    cd [directory] --> goes to the directory you want it to go
    chmod [permissions(777)] --> changes permissions
    nano --> text editor
    rm --> deletes files
    rmdir --> deletes folders
    mv --> moves or renames files
    touch --> creates new file
    mkdir --> creates new folder
    ssh [user]@[IP-adress] --> starts an SSH session
    login --> logins as root or mobile
    passwd [user] --> change your password

    note: If you want help about commands, go to terminal and add a " --help" after the command you need help with.


    Please Register or Log in to view images

  5. Veovis Muad'dib

    Veovis Muad'dib New Member

    Joined:
    Oct 7, 2008
    Messages:
    15
    Likes Received:
    0
    Wow, thanks! And your addition of how to ask terminal for help means that I don't have to keep pestering you!

    By the way, I assume that these also work in "real" OS X, right?

    Thank you very much!

    EDIT: One more question: How do I get out of nano? It tells me to hit control x or something...

    EDIT 2: Never mind, I figured out by doing it accidentally. I was trying to change to numeric battery, and it went back to normal terminal.
  6. giannaros

    giannaros New Member

    Joined:
    Sep 1, 2008
    Messages:
    775
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    Yes, those commands work in all terminals, including the real MAC OS X one!

    Please Register or Log in to view images



    To get out of nano, you will have to press the "•" symbol once and then press x. To overwrite your file you have to do • + o, etc.
    If you need any help, PM me.

    Please Register or Log in to view images

  7. Veovis Muad'dib

    Veovis Muad'dib New Member

    Joined:
    Oct 7, 2008
    Messages:
    15
    Likes Received:
    0
    Thank you. I was wondering what would take the place of control.

    You've been a huge help, I'll certainly PM you with any questions I have.
  8. yule0

    yule0 New Member

    Joined:
    Mar 22, 2008
    Messages:
    2
    Likes Received:
    0
    Also a nice port from the unix OSes is mc (midnight commander). I installed it from cydia, but unfortunately I haven't figured out how to use it yet.
  9. giannaros

    giannaros New Member

    Joined:
    Sep 1, 2008
    Messages:
    775
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    There you go:
    http://www.ibiblio.org/mc/FAQ

    Please Register or Log in to view images

Share This Page