I know this is really basic, but I haven't had to use telnet or ssh for a while.
How do I open a file like resolve.conf to edit it.
I know how to get to the directory.
Thanks
I know this is really basic, but I haven't had to use telnet or ssh for a while.
How do I open a file like resolve.conf to edit it.
I know how to get to the directory.
Thanks
edit file in SSH. That should help.
Like I said, I haven't used SSH for a while.
What is the command to open the file for editing in SSH.
Thanks
pico, nano or vi will do it.
pico /pathtofile/filenameOriginally Posted by travistee
nano /pathtofile/filename
so if i want to edit the httpd.conf
i could do it 2 ways
cd /usr/local/apache/httpd/conf
then
pico httpd.conf
or
nano httpd.conf
or the LONG way..
pico /usr/local/apache/httpd/conf/httpd.conf
then after i get done editng.
CTRL+X
Y
you get the picture
OCX