Re: dumb question, sorry in advance
>in this case you would cd /usr/games ; ./nameYourGame ..the "./" tells >the system to run the command in the current directory, as the current >directory is not in your $PATH (it is considered a security risk if it >is). Thanks, that was it. I forgot that commands don't make it to files in the same directory. David Kachel
Re: dumb question, sorry in advance
Dude, Show us exactly what you're typing and exactly what error message the shell is giving you and we'll tell you exactly whats wrong and exactly what to do. dkphoto wrote: > > >just type it in shell. > > I thought I was already in the shell when I typed it?!? > > As Yet Undetermined Pseudonym to be Inserted Here > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
Re: dumb question, sorry in advance
>just type it in shell. I thought I was already in the shell when I typed it?!? As Yet Undetermined Pseudonym to be Inserted Here
Re: dumb question, sorry in advance
Rather /usr/games/nameYourGame :) just type it in shell. On Tue, Jan 25, 2000 at 12:33:48AM -0500, Maciej Kalisiak wrote: > On Tue, Jan 25, 2000 at 12:20:51AM -0500, dkphoto wrote: > > /user/games/nameYourGame > > You just answered your own question. > > -- > Maciej Kalisiak | <[EMAIL PROTECTED]> | http://www.dgp.toronto.edu/~mac [McQ] > PGP->finger|www; (0x39AC36F5) 9F BB 9E 11 F0 1E 5D 20 0B 31 3D 37 47 D0 67 C7 > GE/CS d- s++:+ a- C++(+++) ULAI++ P+++ L+++ E+++ W++ N- o? K? !w--- O- M- V-- > PS PE+ Y+ PGP+ t+ 5 !X-- R+ tv-- b+> DI+ G+ e>+++>(*) h--- r+++ y? > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > -- Marcin Kurc Indiana Institute of Technology System Administrator http://me.indtech.edu http://www.indtech.edu
Re: dumb question, sorry in advance
if it is a binary program (do ls -l /usr/games/nameYourGame and look on the permissions for the "x" flag) then just run /usr/games/nameYourGame if it is not a binary program chances are your trying to run a program when that is not an executable. if the program is in your $PATH then you can just run nameYourGame and the system will do it..if it is NOT in your $PATH then you must specify the full path. Some programs even go so far as to want you to be in the directory which you are running the program, in this case you would cd /usr/games ; ./nameYourGame ..the "./" tells the system to run the command in the current directory, as the current directory is not in your $PATH (it is considered a security risk if it is). hope this helps! nate On Mon, 24 Jan 2000, dkphoto wrote: dkphot >I've just finished installing (a few days ago) Linux/Unix and am stuck on dkphot >something really dumb. dkphot > dkphot >I have figured out how to change shells, explore the file structure, use dkphot >sh (a bit) and several other things, but I just can't seem to launch a dkphot >simple game. dkphot > dkphot >/user/games/nameYourGame dkphot > dkphot >... I can't figure out any way to launch this and can't find anything in dkphot >the man pages or in the THREE Linux books I have that tells me how to dkphot >simply launch a program. dkphot > dkphot >I know I'm going to have to change my name after this, but I give up. How dkphot >is it done? dkphot > dkphot > dkphot > dkphot > dkphot >As Yet Undetermined Pseudonym to be Inserted Here dkphot > dkphot > dkphot >-- dkphot >Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null dkphot > [mailto:[EMAIL PROTECTED] ]-- Vice President Network Operations http://www.firetrail.com/ Firetrail Internet Services Limited http://www.aphroland.org/ Everett, WA 425-348-7336http://www.linuxpowered.net/ Powered By:http://comedy.aphroland.org/ Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/ -[mailto:[EMAIL PROTECTED] ]-- 9:32pm up 158 days, 9:39, 2 users, load average: 1.17, 1.15, 1.09
Re: dumb question, sorry in advance
On Tue, Jan 25, 2000 at 12:20:51AM -0500, dkphoto wrote: > /user/games/nameYourGame You just answered your own question. -- Maciej Kalisiak | <[EMAIL PROTECTED]> | http://www.dgp.toronto.edu/~mac [McQ] PGP->finger|www; (0x39AC36F5) 9F BB 9E 11 F0 1E 5D 20 0B 31 3D 37 47 D0 67 C7 GE/CS d- s++:+ a- C++(+++) ULAI++ P+++ L+++ E+++ W++ N- o? K? !w--- O- M- V-- PS PE+ Y+ PGP+ t+ 5 !X-- R+ tv-- b+> DI+ G+ e>+++>(*) h--- r+++ y?
dumb question, sorry in advance
I've just finished installing (a few days ago) Linux/Unix and am stuck on something really dumb. I have figured out how to change shells, explore the file structure, use sh (a bit) and several other things, but I just can't seem to launch a simple game. /user/games/nameYourGame ... I can't figure out any way to launch this and can't find anything in the man pages or in the THREE Linux books I have that tells me how to simply launch a program. I know I'm going to have to change my name after this, but I give up. How is it done? As Yet Undetermined Pseudonym to be Inserted Here