LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2004, 08:56 PM   #1
DraZtiK
LQ Newbie
 
Registered: Mar 2004
Posts: 11

Rep: Reputation: 0
What is this for "./"


I'm trying to install a game server and I have a startup script to do it but it doesn't work..

for some reason I can start the server with the "./ucc server" when I'm in the executables folder but I need to be able to use the path also like "/home/server/ucc server". but when I add that "./" it doesnt work. is there anyway to tell linux not to need that.

by the way I guess you can tell I'm new so hello everyone.


I'll be hanging out here lookin for questions until I get the hang of linux since I'm switching my servers over to linux and shortly my desktop.
 
Old 03-17-2004, 09:09 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
It's all pretty simple once you have it explained. If you are in the folder which contains the executable script, you call the script with ./<scriptname>. The ./ indicates to the shell that the script is in this working directory. If you use the entire /path/to/executable/script, the ./ is not necessary, because you've told the shell where to find the script to execute.
 
Old 03-17-2004, 09:51 PM   #3
DraZtiK
LQ Newbie
 
Registered: Mar 2004
Posts: 11

Original Poster
Rep: Reputation: 0
thank you for your time...that makes sense.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 02:03 AM
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 05:40 AM
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 04:07 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 03:32 PM


All times are GMT -5. The time now is 11:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration