LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2009, 12:44 PM   #1
AeonX
LQ Newbie
 
Registered: Jul 2009
Posts: 21

Rep: Reputation: 0
Smile finally started


i just installed ubuntu along with windows and it works perfectly fine.I've seen many people talking about commands starting with ./ and i would like to know where to input these commands?
 
Old 09-24-2009, 12:46 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That will be in any shell. Commonly that notation is only used for executables that
aren't in your PATH.



Cheers,
Tink
 
Old 09-24-2009, 12:47 PM   #3
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
First of all congrats on starting your Linux journey!
EDIT: got beat by Tinkster. =/
 
Old 09-24-2009, 12:58 PM   #4
AeonX
LQ Newbie
 
Registered: Jul 2009
Posts: 21

Original Poster
Rep: Reputation: 0
Thanks

yeah but what's called a path in linux? do i need to create a document to write the commands,put in a directory and change the format or something?
 
Old 09-24-2009, 01:03 PM   #5
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,796

Rep: Reputation: 213Reputation: 213Reputation: 213
Well, it's not like Windows...

http://www.linux.org/lessons/

http://tldp.org/

Last edited by thorkelljarl; 09-24-2009 at 01:04 PM.
 
Old 09-24-2009, 01:04 PM   #6
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Rep: Reputation: 69
you can do echo $PATH to see your current path. For example, you have certain commands like ifconfig, who, ls, etc in certain directories like /usr/bin or /usr/sbin etc. Let's say that ifconfig is in /usr/sbin so inorder to execute the command you would have to put

Code:
/usr/bin/ifconfig
However, if /usr/bin is in the path, then you could just execute ifconfig by typing ifconfig no matter what directory you are currently in. You can edit the PATH in the ~/.bashrc file.
 
Old 09-24-2009, 01:10 PM   #7
AeonX
LQ Newbie
 
Registered: Jul 2009
Posts: 21

Original Poster
Rep: Reputation: 0
thanks thorkelljarl, that's what i needed to start.
 
Old 09-24-2009, 06:15 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,374

Rep: Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383
A couple of good tutorials

http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html

also

http://linux.oneandoneis2.org/LNW.htm
for a quick comparison Linux to MS.


Welcome to LQ
 
  


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
Started nautilus as root....problems started Chaosbringer SUSE / openSUSE 0 11-05-2008 03:00 AM
Finally djerry81 Linux - Newbie 3 09-27-2007 11:54 PM
Finally, finally switched Celettu LinuxQuestions.org Member Success Stories 9 08-25-2004 12:59 PM
I've Finally Done It! duerra Linux - Newbie 4 01-21-2004 03:05 PM
Finally...... vaiman Linux - Newbie 0 10-18-2002 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:38 PM.

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