Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

justl2003

macrumors newbie
Original poster
May 22, 2007
21
0
Im running 10.4.8
well, i installed perl and took my gfdsg.pl file (yes it works, i tested it on my other computer, its not corrupt or anything) and put it into /usr/bin/.

So, i then went into terminal, cd'd the directory, and entered gfdsg.pl. It said "-bash: /usr/bin/gfdsg.pl: Permission denied". Then i went to here.

http://www.macosxhints.com/article.p...20826003806202

I then realized that i dont even have a /usr/share/init/tcsh directory, only a /usr/share/tcsh/examples/ with all the files in it (aliases, completions, environment, login, logout, rc, README, tcsh.defaults).

I then ran these commands that the READ me told me to:
echo "source /usr/share/tcsh/examples/rc" >> ~/.tcshrc
echo "source /usr/share/tcsh/examples/login" >> ~/.login
echo "source /usr/share/tcsh/examples/logout" >> ~/.logout

And i dont think that did anything at all....


here the README file

"This directory contains some useful tcsh files.

In order to use this configuration:

echo "source /usr/share/tcsh/examples/rc" >> ~/.tcshrc
echo "source /usr/share/tcsh/examples/login" >> ~/.login
echo "source /usr/share/tcsh/examples/logout" >> ~/.logout

To do this system-wide, do the same instead to /etc/csh.cshrc, /etc/csh.login, and /etc/csh.logout.

In order to customize tcsh:

mkdir -p ~/Library/init/tcsh

and create the following files there as necessary:

aliases.mine - shell aliases
completions.mine - completions
environment.mine - environment
rc.mine - run commands
path - command search path

See the corresponding file in /usr/share/tcsh/examples for more information about the role of each file. You can easily extend or override the configuration provided by the default file. For example, you can add more aliases by adding the appropriate commands in aliases.mine.

-Fred
Massachusetts Institute of Technology
tritan@mit.edu
"


So can someone please help me
 
Im running 10.4.8
well, i installed perl and took my gfdsg.pl file (yes it works, i tested it on my other computer, its not corrupt or anything) and put it into /usr/bin/.

So, i then went into terminal, cd'd the directory, and entered gfdsg.pl. It said "-bash: /usr/bin/gfdsg.pl: Permission denied". Then i went to here.

http://www.macosxhints.com/article.p...20826003806202

I then realized that i dont even have a /usr/share/init/tcsh directory, only a /usr/share/tcsh/examples/ with all the files in it (aliases, completions, environment, login, logout, rc, README, tcsh.defaults).

I'm not quite sure what you're trying to do because that macosxhints link isn't working for me. First of all, what does your gfdsg.pl script do? Did you make it executable? Is your shell even tcsh? You don't need to do anything to customize it to make that script work. "echo $SHELL" will show your shell. It sounds like you're using bash because of the error above.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.