Originally Posted by virtuoso
I am trying to edit some files in ssh but if I try "edit" or "pico" I get a bad command. Why?
Either pico and edit are not on your system, or they are not in your path.
You can issue "whereis pico" and it it is on you system that command will tell you where it is.
Ditto for 'edit'.
If whereis shows you their location then you can evoke them by includeing their path in your command sequence: /<pathshownbywhereis>/pico /pathtofiletoedit/filename.
Another way to locate a file, especially if you don't know its exact spelling, is to use "locate"
You will get a list showing every file with 'pico' as part of its name.
If your system complains that the locate database doesn't exist then open a root term and issue 'updatedb'.