Edit this page Lock this page References to this page History of this page Home Page Recent Changes Upload file attachments Search Site Administration Help Guide

command

Up one level to the Termainl Help parent page


Here is a list of commands available at the bash command prompt within Tivo:

Default commands:

echo * : Directory listing. Similar to DIR command in DOS.

cd .. : Up one directory level (notice the space between cd and ...

cd directory_name: changes the current working directory to the one specified. Moves one level deeper in the directory structure.

cd directory1/directory2: changes the current working directory. Moves 2 level deeper in the directory structure. Notice the forward shash, not back slash.

mkdir directory_name: makes a new directory and assigns the name specified

cp file_name_1 file_name_2: makes a copy of file_name_1, name of new copy is file_name_2

cp file_name /directory1/filename: copies a file to a different directory, using the same filename.

rm file_name This command removes (deletes) the file specified.

rm -r directory_name This is the command to delete a directory. The -r adss the recursive agrument to the remove command, causing the directory to be deleted.

chmod 755 : changes the permissions of all files in the current directory. Can also be used as chmod 755 file.name to change the permissions of only one file. The 755 contains 3 numbers with each number representing a specific user group (three groups total). The magnitude of each of the numbers represents the permissions available to each of the groups. Here are some examples:




Additional commands:

http_get: retrives a file from a web server and downloads it to Tivo in specified location (/var/tmp in this example).

tar -xzvf filename.tar.gz This command un-TARs a TAR (tape archive) file that has been gzipped.

tar -xjvf filename.tar.bz2 This command un-TARs a TAR (tape archive) file that has been bzipped.






Corrections or updates for this page:
Note: Do not post questions, unrelated comments, or information of which your are uncertain. This section is reserved for corrections and updates only.

It should be made clear how to read instructions. What is to be typed verbatim and what is not.
Permissions (1=read, 2=write, 4=execute)

2+4=6=write and execute