Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2003
    Posts
    352

    a couple of questions ( easy)

    well for one, what is the command/how to flush your /temp?

    2. What is a GOOD site for basic/advanced SSH commands?

  2. #2
    Join Date
    Jul 2002
    Location
    Kuwait
    Posts
    10,573
    cd /tmp
    rm *



    google for ssh hints or ssh tricks or man ssh
    Bashar Al-Abdulhadi - KuwaitNET Internet Services Serving customers since 1997
    Kuwait's First Webhosting and Domain Registration provider - an ICANN Accredited Registrar

    Twitter: Bashar Al-Abdulhadi

  3. #3
    Join Date
    Feb 2004
    Location
    California
    Posts
    24
    There is no such thing as SSH commands. The only thing SSH is, is a way for a user to use a Linux/UNIX/whatever terminal over the network. So what you really want is to learn Linux, and there are plenty of resources out there.

  4. #4
    Join Date
    Jul 2002
    Location
    Kuwait
    Posts
    10,573
    you can use ssh like
    ssh -l login host.name.com COMMAND

    for example:
    ssh -l bashar my.server.com ls /etc

    and that can be used in shell scripts
    Bashar Al-Abdulhadi - KuwaitNET Internet Services Serving customers since 1997
    Kuwait's First Webhosting and Domain Registration provider - an ICANN Accredited Registrar

    Twitter: Bashar Al-Abdulhadi

  5. #5
    Join Date
    Feb 2004
    Location
    California
    Posts
    24
    You’re right, you can do that, but it’s still Linux/Unix/whatever commands. In your example, “ls /etc” is a Linux command, not an SSH command.

  6. #6
    Join Date
    Feb 2003
    Location
    Kuala Lumpur, Malaysia
    Posts
    4,974
    Google for shell command or linux command or unix command, you should find some tutorial sites.

  7. #7
    Join Date
    Feb 2004
    Posts
    772
    Hi,

    To flush the /tmp directory remove the unwanted files as,

    1)cd /tmp
    2)rm -rf filename

    You can login through SSH as, ssh hostname

    Refer the following URL's for SSH commands and Linux commands:

    http://www.pha.jhu.edu/sysadmin/secu...sh-cmdref.html

    http://www.sao.nrc.ca/imsb/rcsg/docu...00000000000000

    http://www.wfu.edu/~salsbufr/WEB_new/linux1.html

    Regards,

    Bright

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •