PDA

View Full Version : [all variants] How does the terminal work anyway?



LinuxFox
July 6th, 2008, 04:26 AM
I started to wonder this tonight. I've used the terminal to launch programs, compile a program, and install additional software from the internet (example, SDL). How does the terminal know where to download from or compile stuff correctly?

overdrank
July 6th, 2008, 04:37 AM
I started to wonder this tonight. I've used the terminal to launch programs, compile a program, and install additional software from the internet (example, SDL). How does the terminal know where to download from or compile stuff correctly?

Hi and maybe this can help
https://help.ubuntu.com/community/UsingTheTerminal

bodhi.zazen
July 6th, 2008, 04:48 AM
Well the terminal runs $BASH as a lot of what your are asking are called "environmental variables"

When you compile an application the programmer set a default, you can change that with the ./configure command

./configure --prefix=/new/location

:)

See also :

http://linuxcommand.org/

LinuxFox
July 6th, 2008, 04:54 AM
Thanks for the link overdrank. I took a quick look through it and it answered my questions about where it downloads from. Heh, I also learned about other commands and what they do. :D

bodhi.zazen, I didn't know you can change the default with the configure command. Thanks for telling me that.