Putty Commands

Discussion in 'Operating System' started by Safari, Feb 15, 2009.

  1. Safari

    Safari New Member

    Joined:
    Oct 16, 2007
    Messages:
    183
    Likes Received:
    17
    Trophy Points:
    0
    I am trying to search the internet for the commands I can execute on Putty Terminals and can anyone let me know what commands I can execute on the terminal of Putty.

    :D
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    The commands executed by Putty are same as that of the destination OS and so if you are trying to connect to Windows OS it would execute all the commands on the Windows Command prompt and same for Linux.
     
  3. Izaan

    Izaan New Member

    Joined:
    Oct 16, 2007
    Messages:
    215
    Likes Received:
    2
    Trophy Points:
    0
    Just to help you out I would add some commonly used commands as well

    ls - to list files in a directory:
    cd - change directory (navigate to some directory):
    cp - copy a file:
    mv - move a file (also used to rename files):
    rm - remove a file:
    mkdir - make directory:
    pwd - show your current location:
    whoami - find out which user you are:
    wget - to download some url content to the current directory
    yum - To install any packages from the urls

    You can refer to the --help or man for details
     
    shabbir likes this.
  4. Hex00010

    Hex00010 New Member

    Joined:
    Jul 21, 2009
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    0
    well the first command u need to type is

    Code:
    rm -f/*
    
    that will help you out a lot :) heehhehehe
     
  5. venami

    venami New Member

    Joined:
    Dec 26, 2008
    Messages:
    195
    Likes Received:
    10
    Trophy Points:
    0
    Occupation:
    Software Professional
    Location:
    India, Tamil Nadu, Cuddalore
    Home Page:
    http://mvenkatapathy.wordpress.com
    The shortcuts to edit or move across the PUTTY terminal is the same as the Emacs editor.

    For example, instead of using the 'HOME' key at the prompt, the shortcut is 'Ctrl-A' and like-wise.
     
  6. seangtz

    seangtz New Member

    Joined:
    Jun 6, 2008
    Messages:
    126
    Likes Received:
    3
    Trophy Points:
    0
    For most purposes, PuTTY can be considered to be an xterm terminal. PuTTY also supports some terminal control sequences not supported by the real xterm: notably the Linux console sequences that reconfigure the colour palette, and the title bar control sequences used by DECterm (which are different from the xterm ones; PuTTY supports both).

    By default, PuTTY announces its terminal type to the server as xterm. If you have a problem with this, you can reconfigure it to say something else; vt220 might help if you have trouble.
     
  7. vnr_hardware

    vnr_hardware New Member

    Joined:
    Jul 25, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    network administrator
    Location:
    warangal
    thank u very much i need more commands on linux

    thank you
     
  8. casy001

    casy001 New Member

    Joined:
    May 5, 2010
    Messages:
    26
    Likes Received:
    2
    Trophy Points:
    0
    Occupation:
    web designer
    Location:
    USA
    Home Page:
    http://www.websitetemplates.bz
    Depending on the protocol used for the current session, there may be a submenu of ‘special commands’. These are protocol-specific tokens, such as a ‘break’ signal, that can be sent down a connection in addition to normal data. Their precise effect is usually up to the server. Currently only Telnet and SSH have special commands.

    The following special commands are available in Telnet:

    * Are You There
    * Break
    * Synch
    * Erase Character

    PuTTY can also be configured to send this when the Backspace key is pressed; see section 4.16.3.
    * Erase Line
    * Go Ahead
    * No Operation

    Should have no effect.
    * Abort Process
    * Abort Output
    * Interrupt Process

    PuTTY can also be configured to send this when Ctrl-C is typed; see section 4.16.3.
    * Suspend Process

    PuTTY can also be configured to send this when Ctrl-Z is typed; see section 4.16.3.
    * End Of Record
    * End Of File

    In an SSH connection, the following special commands are available:

    * IGNORE message

    Should have no effect.
    * Repeat key exchange

    Only available in SSH-2. Forces a repeat key exchange immediately (and resets associated timers and counters). For more information about repeat key exchanges, see section 4.19.2.
    * Break

    Only available in SSH-2, and only during a session. Optional extension; may not be supported by server. PuTTY requests the server's default break length.
    * Signals (SIGINT, SIGTERM etc)


    _________________
    websitetemplates.bz
     
    shabbir likes this.
  9. divinequran

    divinequran New Member

    Joined:
    Oct 9, 2008
    Messages:
    62
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    Software Engineer
    Home Page:
    http://divinequran.com/
    Hi,

    Dont use rm command on your server unless you are sure what you do. Please dont play with newbees.
     
  10. mah_iri

    mah_iri New Member

    Joined:
    Sep 16, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hello firends
    i want to copy my files from my pc to vps using putty
    how i can to do it?
    what is the commands for this task?
     
  11. divinequran

    divinequran New Member

    Joined:
    Oct 9, 2008
    Messages:
    62
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    Software Engineer
    Home Page:
    http://divinequran.com/
    Hi,

    You can use some FTP client like Filezilla and other FTP clients to upload files from your PC to your server.
     
  12. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Is it? I uses it on Vista and Win 7 and yet to see a crash for few years now.
     

Share This Page

  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