PDA

View Full Version : pico !



DAclub
10-31-2003, 02:54 PM
hi

am trying to edit httpd.conf , but when i type pico, it says that this is an unknown command !

can someone help please

thank you

ProWebUK
10-31-2003, 03:13 PM
install pico... sounds like its not been installed or has somehow been removed. Also check 1) your logged in as root and 2) your issuing a valid command.

Chris

DAclub
10-31-2003, 03:15 PM
Originally posted by ProWebUK
install pico... sounds like its not been installed or has somehow been removed.....

Chris

do you mid shedding some light on how to install it ?? :)

also where can i find httpd.conf ?!!! i even cant find the apache directory !!

thank you

ProWebUK
10-31-2003, 03:37 PM
check my other 2 suggestions in my above post firstly please :)

to find httpd.conf enter:

locate httpd.conf

from the command line.


Chris

DAclub
10-31-2003, 05:05 PM
hi, yes its not found !
here you go :

[root@server /]# pico -w /etc/httpd/conf/httpd.conf
bash: pico: command not found

how can i install pico ??

thank you for your help

sHuKKo
10-31-2003, 06:49 PM
Pico comes with pine.
Pine is an email reader for linux console..

If you don't want to install pine just for pico I'll suggest you use nano :)

nano is a gpled free pico clone and more.

http://nano-editor.org/

DAclub
10-31-2003, 07:01 PM
THANKS :D

nano is working fine :cool:

ProWebUK
11-01-2003, 05:09 AM
pine can be found here: http://www.washington.edu/pine/getpine/unix.html

building and compiling information here:
http://www.washington.edu/pine/tech-notes/installation.html

alternatively you could try to find rpm's to keep things simple :)

Chris

DAclub
11-01-2003, 06:16 AM
Originally posted by ProWebUK
pine can be found here: http://www.washington.edu/pine/getpine/unix.html

building and compiling information here:
http://www.washington.edu/pine/tech-notes/installation.html


Thank you chris, i already installed nano and its working fine.

thank you all for your help :)

S2S-Robert
11-02-2003, 08:26 AM
Originally posted by ProWebUK
alternatively you could try to find rpm's to keep things simple :)
[/B] And the place to start looking for rpm's is http://rpmfind.net/

Since you're a beginning linux user (like me;)) I'd stick to rpm's if I were you. They're easier to install / remove than compiling them.

ProWebUK
11-02-2003, 03:16 PM
Originally posted by S2S-Robert
And the place to start looking for rpm's is

in most cases its the end aswell as the start :D

MQ-James
11-23-2003, 06:17 AM
I just installed nano, do you know how to make it when I do:
crontab -e
so that it uses nano to edit the file?

DirectAdmin Support
11-23-2003, 10:30 AM
Hello,

That is define in you environmental variable called $EDITOR
echo $EDITORto see what's set,
EDITOR=nanoto set the editor to use nano.

Jon

MQ-James
11-23-2003, 12:22 PM
Originally posted by DirectAdmin Support
Hello,

That is define in you environmental variable called $EDITOR
echo $EDITORto see what's set,
EDITOR=nanoto set the editor to use nano.

Jon

echo $EDITOR

shows nothing and where do I do the EDITOR=nano?

thanks

sHuKKo
11-23-2003, 02:19 PM
export VISUAL=nano; crontab -e

works fine for me :)

MQ-James
11-23-2003, 02:30 PM
forgot export, thanks

Icheb
11-24-2003, 08:57 AM
Why not use VI(M) ?

Am i the only VI user here ?
When one get's used to the vi interface, it works better than Midnight Commander and Pico in one :D
(long live syntax highlighting)

ProWebUK
11-24-2003, 09:09 AM
I prefer pico, its simple and it works. :D

thoroughfare
11-24-2003, 01:11 PM
I'm a vi guy! :D

Matt

SlashChick
11-25-2003, 05:32 PM
pico doesn't come installed with Red Hat 9. (I think there was a licensing feud between Red Hat and pine.) However, you can get it by typing 'up2date pine' in a console or SSH session.

Just FYI.

ProWebUK
11-25-2003, 06:02 PM
I had pico installed on my local RedHat 9, it is also on all of our RedHat 9 systems, and has been since we purchased them.

Chris