simple commands in SH (Shell) or BASH (Bourne Again Shell):
look here: http://www.ss64.com/bash/index.html
if you don't know what a command does, try this:
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.
-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.
is the same as:
more commands are:
to move (mv) file_A to file_B
mv /Users/frontrow/file_A /System/file_B
to copy (cp) folder_A to folder_B and all it's contents (-R means recursive)
cp -R /Users/frontrow/folder_A /System/folder_B
Change Directory (cd) to where you wanna go to.
show the current working directory.