This is the output, when I execute the commands.
Artemisa:/ #which gcc
no gcc in /usr/sbin /usr/bin /usr/local/bin /usr/ccs/bin
Artemisa:/ #cd /usr/local/bin
Artemisa:/usr/local/bin #ls
a2p cpp ifnames pl2pm
aclocal find2perl igawk pod2html
autoconf flex jcf-dump pod2latex
autoheader flex++ jv-scan pod2man
automake g++ libtool pod2text
autoreconf g77 libtoolize protoize
autoscan gawk m4 pstruct
autoupdate gawk-3.1.0 make s2p
awk gcc perl sparc-sun-solaris2.6-gcc
bison gcj perl5.00503 splain
c++ gcjh perlbug unprotoize
c++filt gcov perlcc
c2ph h2ph perldoc
chill h2xs pgawk
Artemisa:/usr/local/bin #ls -la gcc
-rw-r--r-- 1 root other 247440 Jun 18 19:04 gcc
Artemisa:/usr/local/bin #which ld
/usr/ccs/bin/ld
Artemisa:/usr/local/bin #which ls
/usr/bin/ls
Artemisa:/usr/local/bin #which as
no as in /usr/sbin /usr/bin /usr/local/bin /usr/ccs/bin
Artemisa:/usr/local/bin #
Now I´ve changed the permision to the gcc file, and I find the gcc: Now, I have the following output:
Artemisa:/ #which gcc
/usr/local/bin/gcc
Artemisa:/ #which ln
/usr/bin/ln
Artemisa:/ #which ld
/usr/ccs/bin/ld
Artemisa:/ #which as
no as in /usr/sbin /usr/bin /usr/local/bin /usr/ccs/bin
The problem is that I don´t have the as file. How can I get it?
Thanks.
Nacho