Can I condense /root/byond/bin/DreamSeeker to ./DreamSeeker?

Booting, installing, newbie
Post Reply
Message
Author
User avatar
flamesage
Posts: 214
Joined: Sat 02 Jul 2005, 00:39

Can I condense /root/byond/bin/DreamSeeker to ./DreamSeeker?

#1 Post by flamesage »

How can I have it where I can just type in ./DreamSeeker
instead of ALWAYS doing.
/root/byond/bin/DreamSeeker?

(in the console)

Guest

Re: Condencing /root/byond/bin/DreamSeeker to ./DreamSeeker

#2 Post by Guest »

flamesage wrote:How can I have it where I can just type in ./DreamSeeker
instead of ALWAYS doing.
/root/byond/bin/DreamSeeker?

(in the console)

Code: Select all

./myprogram
is only used when you want to run the program that is the current working directory (cwd).....



but I guess you just want to type
#DreamSeeker

create a symbolic link as follows
#ln -s /root/byond/bin/DreamSeeker /root/my-applications/bin/DreamSeeker
as /root/my-applications/bin is in your path it will find DreamSeek
supplying

Code: Select all

./
is actually supplying a full path

Guest

#3 Post by Guest »

Did this help ?

User avatar
flamesage
Posts: 214
Joined: Sat 02 Jul 2005, 00:39

#4 Post by flamesage »

Yep.
Thank you!

Post Reply