LinHES Forums http://forum.linhes.org/ |
|
alsa-autoconfig qestion http://forum.linhes.org/viewtopic.php?f=5&t=1184 |
Page 1 of 1 |
Author: | gr8nash [ Mon Apr 12, 2004 10:53 am ] |
Post subject: | alsa-autoconfig qestion |
linux confuses me. i was trying to run "/etc/init.d/alsa-autoconfig" and it wasnt working.. Then someone told me to switch into the directory and try "./alsa-autoconfig" and it work.. what is going on here?? lol why did my way not work and the last way work? |
Author: | Xsecrets [ Mon Apr 12, 2004 11:23 am ] |
Post subject: | |
either way should work. you must have been mistyping the name or something. |
Author: | Dinki [ Mon Apr 12, 2004 11:24 am ] |
Post subject: | |
Because /etc/init.d is not in your path and the script your trying to run is not in any of the directories in your path. |
Author: | gr8nash [ Mon Apr 12, 2004 12:51 pm ] |
Post subject: | |
so unlike windows.. to run a script you cant just be in the directory.. you must have it in the path... or at least use the "./" command.. quick qestion how do i check what my path is? /modify it? |
Author: | cesman [ Mon Apr 12, 2004 5:36 pm ] |
Post subject: | |
Path works the same in Windows as it does Unix/Linux. ./ tells the shell in this directory. echo $PATH export PATH=$PATH:/path/you/want/to/add To make the change permenant(well that is your homework). |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |