You are here:

Focus on Linux

Recent Answers

2009-11-20 Unix/Linux OS - booting failure:

Things that will help: Knowing the hardware configuration of the disk subsystem (RAID, IDE, SCSI, SAS, etc.) Knowing the base filesystem layout that exists on the disk subsystem. (/root, /usr, /u, etc

2009-11-16 Unix/Linux OS - multiple arguments to a sciprt in bash:

Hi. This highly depends on your definition of "feed". Even what you did here can be handled: cat arguments.txt | ./script or even simpler: ./script.sh < arguments.txt The script should do

2009-11-15 Unix/Linux OS - multiple argements to script:

Hi Karll, You can try using the bash getopts function. Please see the below link- http://bashcurescancer.com/the-60-second-getopts-tutorial.html Or you can parse the file of arguments as given

2009-11-15 Unix/Linux OS - multiple argements to script:

Here's one way: (echo -e "set -- \c"; cat arguments.txt; cat ./script) | bash Another way is to accumulate the args and create a second (temporary) script and execute it. (echo -e "./script \c"; cat

2009-11-09 Unix/Linux OS - UNIX:

Hi. For inter-process communication, you can use 2 things: IPC Message Queues and files. For message queues, see man pages http://linux.die.net/man/7/mq_overview For files, you can create ordinary

Categories

Browse Alphabetically

©2009 About.com, a part of The New York Times Company. All rights reserved.