Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-12-2008, 01:46 PM   #1
LQ Newbie
Registered: Aug 2008
Location: Pensacola, Fl. Lived in MD, DC and VA area for years
Distribution: Debian Etch
Posts: 17

Rep: Reputation: 0
Where to put Bash scripts written to run at various times to examine Alsa sound probs

Hi. I wanted some advice on where to store a Bash sound utility script to collect information from various resources on the box which will help gather information to determine what is causing problems configuring the sound card. My initial thought is to put it in the /bin . Would this be acceptable? Or should it be elsewhere. Thank you very much. Jim
Old 08-12-2008, 01:59 PM   #2
Registered: Feb 2006
Location: NJ, USA
Distribution: Debian
Posts: 72

Rep: Reputation: 17
When you say 'store' are ou talking about putting it somewhere safe till you need it, or where you should put it while using it?

Pretty much anything in your path will be fine, i would stay a way from /bin and /usr/bin though, the former more then that latter. You should save those to programs that your software management system installs. When i have scripts i need like that i usually put them in /usr/local/bin or ~/bin

Bu the choose is your, everyone could give you a reason why another place is better.

Old 08-12-2008, 02:04 PM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 259Reputation: 259Reputation: 259
If it's just you on the machine, just create a scripts directory in your /home directory to run them from. The only time I see the need to put them in /usr/local or the like is if other people are going to be running them as well, that might have access to this system.
Old 08-13-2008, 11:09 AM   #4
LQ Newbie
Registered: Aug 2008
Location: Pensacola, Fl. Lived in MD, DC and VA area for years
Distribution: Debian Etch
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you


Thank you for your thoughts about the best place for me to keep bash scripts. It appears that it would be fine to just keep them in my /home directory. I don't want to muck with /bin and other paths that are used for other functions including system functions.

I do have other Linux issues that are more complicated. That includes configuring Gcc so that it doesn't faulter when it trys to process the header. It appears to me that when I try to compile a simple program it doesn't see the library and make the link to the library header files like stdio.h. It is frustrating and I imagine the fix is pretty simple and may involve changing the environment. Any C people out there who know about these things or is this the wrong place to seek this kind of help?

Thank you fine folks for everything.



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
where do i put my written scripts mahmoud Linux - Newbie 2 11-27-2007 06:42 PM
How can i run two bash scripts at same time? helptonewbie Programming 3 09-05-2006 07:25 PM
bash: run a script at most 3 times simultanously paterijk Programming 4 08-18-2005 03:49 PM
ALSA, emu10k1 modprobe has to run about 15 times german Linux - Software 3 02-19-2004 07:48 AM
bash scripts won't run aamehl Linux - General 10 09-06-2003 03:25 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:07 AM.

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