"Command List" / script language

Discussion in 'Tomato Firmware' started by Nox997, Dec 26, 2007.

  1. Nox997

    Nox997 LI Guru Member


    I'm new to Tomato, and also new to the WRT54GL.

    Is there a list of commands which Tomato has built-in in its busybox-window and for the values which I can change with the nvram commadn?
    For example the LED-Command (or is this just a script using the nvram command?)

    And what is the script language?

    Btw: is there a way to display the actual path in a Putty Telnet / SSH session?

    Excuse my bad English, and thanks for any help!
  2. HennieM

    HennieM Network Guru Member

    Tomato runs Linux, a type of Unix. To see what "commands" are available, ssh into Tomato, and then
    cd /bin
    ls -al
    cd /usr/bin
    ls -al
    Those 'commands" are little executable programs. For example, when you type "ls -al", you run the progam "ls", and give it the prameter "al", which tells the ls program to list all (a) the files in the directory in the long (l) format.

    To see where you are
    which means "print working directory".

    I'd suggest that, before you start playing with Tomato, you google for a "shell script tutorial" or something like that.
    The nvram command is a means to get some variable out of non-volatile ram. nvram does not do anything, it's just a place to store stuff, not unlike a hard disk.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice