I have created php file in centos path sudo nano /var/www/html/info.php
<?php
phpinfo();
?>
How to save this file and exit to command prompt. Is there any save option or i can save it directly by cnrtl+s
I have created php file in centos path sudo nano /var/www/html/info.php
<?php
phpinfo();
?>
How to save this file and exit to command prompt. Is there any save option or i can save it directly by cnrtl+s