I'm guessing your PATH
isn't getting set properly due to the syntax-error
in your .cshrc
(assumption since you mention ls
isn't working). Try the following from your shell:
echo $PATH
echo
is a built-in and should always work. If it returns nothing, is empty, or doesn't include a list of paths similar to /bin
, /usr/bin
, etc ... then your path is indeed incorrect. Use the full path to gedit
on the command line like:
/usr/bin/gedit ~/.cshrc