Results 1 to 9 of 9
-
11th Jun 2012, 07:46 AM #1OPMember
How to make a file freom putty ?
I typed
Code:vi /var/www/html/info.php
and got like this :
i need to write :
Code:<?php phpinfo(); ?>
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
-
11th Jun 2012, 07:55 AM #2MemberWebsite's:
host4offshore.comFor 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
-
11th Jun 2012, 08:01 AM #3OPMember
now how to go to [root@vps ~]#
There is an -- INSERT -- text came under the file. I dont know what I did ?
-
11th Jun 2012, 08:05 AM #4MemberWebsite'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
-
11th Jun 2012, 08:21 AM #5OPMember
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]
-
11th Jun 2012, 08:22 AM #6MemberWebsite's:
host4offshore.comok ...
|| Host4Offshore :: Reliable, Quality, Fast Offshore Hosting Solution (USA/Netherlands/Sweden/Russia/Romania)
|| Shared , Reseller Hosting Sales Thread
|| Rapidleech Hosting Sales Thread
|| Current Promotion
-
11th Jun 2012, 09:03 AM #7MemberWebsite's:
imdber.org justpaste.meHow about
Code:echo "<?php phpinfo(); ?>" > /var/www/html/info.php
Code:yum install nano -y nano /var/www/html/info.php
-
11th Jun 2012, 09:16 AM #8
-
12th Jun 2012, 05:37 AM #9Member
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.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Auto login in putty
By tut2tut in forum Technical and Security TutorialsReplies: 24Last Post: 5th Nov 2012, 10:22 PM -
Remoti upload freom FSO to Uploaded.tO
By Dz2Crow in forum File Host DiscussionReplies: 10Last Post: 21st Nov 2011, 05:09 PM -
PuTTY 0.61 Released
By Daniel in forum News & Current EventsReplies: 12Last Post: 14th Jul 2011, 11:27 AM -
Alternative to putty
By sparker366 in forum Webmaster ResourcesReplies: 13Last Post: 12th Feb 2011, 12:27 AM
themaLeecher - leech and manage...
Version 4.94 released. Open older version (or...