Activity Stream
48,167 MEMBERS
6782 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 9 of 9
  1.     
    #1
    Member

    Default How to make a file freom putty ?

    I typed
    Code: 
    vi /var/www/html/info.php
    in Putty
    and got like this :

    i need to write :
    Code: 
    <?php 
    phpinfo(); 
    ?>
    But nothing showing when writing.
    jasoothai Reviewed by jasoothai on . How to make a file freom putty ? I typed vi /var/www/html/info.php in Putty and got like this : http://i.imgur.com/LZUMp.jpg i need to write : <?php phpinfo(); ?>But nothing showing when writing. :( Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    host4offshore.com
    For create file using ssh follow this command
    touch /var/www/html/info.php
    then
    vim /var/www/html/info.php
    For make this file writable press i or [insert]
    then paste this text by mouse right click .
    then press [esc] after this :x [enter]
    || Host4Offshore :: Reliable, Quality, Fast Offshore Hosting Solution (USA/Netherlands/Sweden/Russia/Romania)
    || Shared , Reseller Hosting Sales Thread
    || Rapidleech Hosting Sales Thread
    || Current Promotion

  4.     
    #3
    Member
    now how to go to [root@vps ~]#

    There is an -- INSERT -- text came under the file. I dont know what I did ?

  5.     
    #4
    Member
    Website's:
    host4offshore.com
    [root@vps ~]#vim /var/www/html/info.php
    Now press i or [insert] keyboard button
    || Host4Offshore :: Reliable, Quality, Fast Offshore Hosting Solution (USA/Netherlands/Sweden/Russia/Romania)
    || Shared , Reseller Hosting Sales Thread
    || Rapidleech Hosting Sales Thread
    || Current Promotion

  6.     
    #5
    Member
    Nothing happened

    centOS 5 32 bit

    It looks like this



    ---------- Post added at 01:51 PM ---------- Previous post was at 01:38 PM ----------

    For create file using ssh follow this command
    touch /var/www/html/info.php
    then
    vim /var/www/html/info.php
    For make this file writable press i or [insert]
    then paste this text by mouse right click .
    then press [esc] after this :x [enter]
    Worked, Thank you...

  7.     
    #6
    Member
    Website's:
    host4offshore.com
    ok ...
    || Host4Offshore :: Reliable, Quality, Fast Offshore Hosting Solution (USA/Netherlands/Sweden/Russia/Romania)
    || Shared , Reseller Hosting Sales Thread
    || Rapidleech Hosting Sales Thread
    || Current Promotion

  8.     
    #7
    Member
    Website's:
    imdber.org justpaste.me
    How about

    Code: 
    echo "<?php phpinfo(); ?>" > /var/www/html/info.php
    OR Use nano it's much more noob friendly:

    Code: 
    yum install nano -y
    nano /var/www/html/info.php

  9.     
    #8
    Member
    i agree with Pathetic
    Nano is easier

  10.     
    #9
    Member
    Agree also, but you know this topic maker asking question about specific thing, and we bound to solve his issue quickly without giving more extra things that make him more confused same like me before.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Auto login in putty
    By tut2tut in forum Technical and Security Tutorials
    Replies: 24
    Last Post: 5th Nov 2012, 10:22 PM
  2. Remoti upload freom FSO to Uploaded.tO
    By Dz2Crow in forum File Host Discussion
    Replies: 10
    Last Post: 21st Nov 2011, 05:09 PM
  3. PuTTY 0.61 Released
    By Daniel in forum News & Current Events
    Replies: 12
    Last Post: 14th Jul 2011, 11:27 AM
  4. Alternative to putty
    By sparker366 in forum Webmaster Resources
    Replies: 13
    Last Post: 12th Feb 2011, 12:27 AM

Tags for this Thread

BE SOCIAL