Results 1 to 3 of 3
Discuss [SSH] Terminal query at the AppleTV 1 - Hackint0sh.org; i used FUGU to save the nitoTV installer package to the appleTV -very happy with ...
  1. #1
    Rookie Array

    Join Date
    May 2008
    Posts
    12
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default [SSH] Terminal query

    i used FUGU to save the nitoTV installer package to the appleTV -very happy with myself! and i have checked to see that it is actually on the aTV, it is.
    The installer instructions from nitoTV follow as i'm stuck on what is probably a very simple command line -->

    To install it, you will need to copy this folder to your AppleTV. You can copy it to the home folder of the 'frontrow' user if you wish, although its location doesn't really matter.

    Next, you need to open an SSH connection to your AppleTV, like so:
    ssh -1 frontrow@<your_appletv_address>

    When prompted for a password, enter 'frontrow'.

    Now go to the directory where you placed this folder on your AppleTV and type the following command:

    sudo ./installme


    So how do i 'now go to the directory ...'? (BTW, it is copied to the home folder of the frontrow user).

    Thanks



  2. #2
    Rookie Array cousincocaine's Avatar

    Join Date
    Apr 2007
    Posts
    23
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Post

    simple commands in SH (Shell) or BASH (Bourne Again Shell):

    look here: http://www.ss64.com/bash/index.html
    or: http://www.google.com/search?q=useful+bash+commands

    if you don't know what a command does, try this:

    Code:
    command_name --help
    or

    Code:
    man command_name
    for the last one (man command_name) you need the man(ual) that comes with it. on the atv there are no manuals installed (on most linux systems and on OSX they are installed).

    so let me help you a bit:
    Most commands can handle 'flags', this are 'options' you can give the command.
    Code:
    ls
    means 'list'
    but:
    Code:
    ls -l -a -h
    -a Include directory entries whose names begin with a dot (.). (invisible)
    -l (The lowercase letter ``ell''.) List in long format. If the output is to a terminal, a total sum for all the file sizes is output on a line before the long listing.
    -h When used with the -l option, use unit suffixes: Byte, Kilobyte,
    Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the
    number of digits to three or less using base 2 for sizes.

    with most commands you can collaps the flags.
    Code:
    ls -l -a -h
    is the same as:
    Code:
    ls -lah

    more commands are:
    Code:
    mv /Users/frontrow/file_A /System/file_B
    to move (mv) file_A to file_B

    Code:
    cp -R /Users/frontrow/folder_A /System/folder_B
    to copy (cp) folder_A to folder_B and all it's contents (-R means recursive)

    Code:
    cd /location/i/want/to/go/to
    Change Directory (cd) to where you wanna go to.

    Code:
    pwd
    show the current working directory.

  3. #3
    Rookie Array

    Join Date
    May 2008
    Posts
    12
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    much appreciated. today is learn terminal day -it doesn't look so scary when you lay it out so simply.
    thanks mate,

 

 

Similar Threads

  1. [Terminal] Fix for SuidLibFix: Main Script Execution failed (Terminal Password)
    By GuGaPires in forum Free Toolchain Software (Cydia App's)
    Replies: 1
    Last Post: 07-08-2008, 11:29 AM
  2. [1.1.4][Mobile Terminal][Solved]Terminal Hangs.. what's my next move .. ?
    By wackotm in forum Free Toolchain Software (Cydia App's)
    Replies: 1
    Last Post: 05-15-2008, 05:04 AM
  3. [Terminal] sudo command in terminal
    By Jailbreak'r in forum General
    Replies: 6
    Last Post: 03-26-2008, 05:14 AM
  4. Replies: 3
    Last Post: 01-22-2008, 05:19 AM
  5. Replies: 2
    Last Post: 01-22-2008, 04:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 09:17 AM.
twitter, follow us!