Re: Create Infinite Loop In Bash Hardware and Software Linux and Unix by Vince_6 Be Careful what you wish for. When I was first using Unix one of our programmers wrote a Bash script something like: While 1 Do Something He eventually overloaded the system and it crashed. Re: Create Infinite Loop In Bash Hardware and Software Linux and Unix by asadalikhan while true; do echo "Running..."; sleep 60; done This runs forever, printing "Running..." every 60 seconds. No script file needed, just drop it in the terminal and you're good. Re: Cannot run exe from asp.net Programming Web Development by lennyli …. **Run the Server**: - On the target computer, run `server.py`: ```bash python server.py ``` 2. **Run the Client**: - On your controlling… computer, run `client.py`: ```bash python client.py ``` - Replace `'REMOTE_IP_ADDRESS'` in `client.py` with the… Re: Bash shell needs tweeking Programming Software Development by shanenin bash only allows you to start variables with letters. You can … echo "Please enter in a name" fi [/code] bash is kind of picky. you need to have a space… Bash help please? Programming Software Development by ezb I'm new to bash, only been doing it a day or so, but having … doesnt want to work. Here is my code [CODE] #!/bin/bash vzupdate -m batch list > maybe.txt grep 3 maybe… Bash: Nested functions and including other scripts Programming Software Development by FractalizeR Hello. I have the following problem with bash code: [CODE=bash] function fl1_load_modules_and_get_list() ........... for module in $FL_MODULES_TO_PROCESS do…source seem to complete successfully because I have [CODE=bash]set -o errexit set -o nounset set -…the source code I play with. Execute [CODE=bash]f-linsey install all[/CODE] And the error … Bash shell screipt help Programming Software Development by tccummings …start looking; 2 the size to equal or exceed. Example bash find_big.sh /lib 20000. ---Hint you shell should begin …#!/bin/bash #validate there are 2 arguments passed #validate argument 1 exists… all I've come up with so far. #!/bin/bash #validate there are 2 arguments passed #validate argument 1 … Bash (if..then) error Programming Software Development by Felipevd Hey guys, I was doing some basic bash shell script, as I am new to this, and I … pass over this error. Here is the code: [CODE] #!/bin/bash echo "Please, type in the day of the week… variables would be assigned, but even if I type Monday, bash interprets it like if I had typed something else, and… bash script pass variables to awk script Programming Software Development by spowel4 … (note: I ultimately want to pass these values to the bash script from the commandline but I haven't gotten that….txt' FIELDWIDTHS='1 10 4 2 2' Next, inside the bash script I'm attempting to call an awk script and… Re: Bash (if..then) error Programming Software Development by Felipevd …! (Off course I do...) Here is my code: [CODE] #!/bin/bash echo "Please, type in the day of the week… week" ;; esac fi [/CODE] With that code, the errors bash pops out are the following: line 47: unexpected EOF while… Need help with BASH to MS-DOS Batch conversion. Programming Software Development by i686-linux bash: #!/bin/bash DOMAIN=mydomain.com for client in ServerA ServerB ServerC ServerD … Re: Bash shell screipt help Programming Software Development by tccummings … a little stuck. I have this done so far: #!/bin/bash #validate there are 2 arguments passed #validate argument 1 exists… Re: Bash shell screipt help Programming Software Development by tccummings … original way out. What I ended up with was: #!/bin/bash #validate there are 2 arguments passed #validate argument 1 exists… Re: Bash shell screipt help Programming Software Development by tccummings #!/bin/bash #validate there are 2 arguments passed #validate argument 1 exists … Bash shell needs tweeking Programming Software Development by STP72 I am new to bash shell writing and I need some help. I need to … is my program can someone help me out.:rolleyes: #!/bin/bash #My first script program phonebook = 0 name = $1 #Enters a… Bash tail monitor log file Programming Software Development by kriezo Hi there, I have a problem here that involves bash script since I was noob in that field. Recently, I … appreciated if someone can show me how to create a bash script that run the tail command or anything in similar… Re: Bash Scripting vs AWK GAWK Programming Software Development by eggi Hey there, In simple terms, bash is a Unix/Linux shell and scripting in it is …. Awk is a standalone utility that you can launch from bash. Bash can pretty much do anything (if you're creative) but… Bash Script to start application after two checks Programming Software Development by rman10 … and I'm trying to start an application via a bash script after checking to make sure that two condititions do… output from my awk commands and use them within the bash script to determine whether or not to start the process… Re: Bash Script to start application after two checks Programming Software Development by rman10 … backticks (will work in any shell) or the $() test in bash For instance, you could take your statement: and assign it…'ve changed it just a bit to the following: #!/bin/bash #dynamips.sh xceedPROC=$(ps -ef | awk '/dynamips/ {print $10}' | awk… Re: Bash Script to start application after two checks Programming Software Development by rman10 … shouldn't have been. I neglected to account for the bash shell nambe "dynamips.sh" which was showing up… for your help Mike! Here's my final version: #!/bin/bash #dynamips.sh (start with sudo ./dynamips.sh "TCP port… Bash add user script Programming Software Development by blueman Hi all i'm hoping someone can help here my son is doing a school project and he's doing really well, he loves his computers, his project as come to a dead end as we're struggling to create a menu which will add users doing this in Bash. then adding a list of users again using bash please can you help? thanks Re: Bash add user script Programming Software Development by JeoSaurus …;create a menu which will add users doing this in Bash" ...and... "then adding a list of users again… using bash" Do you mean that the script should be able… Bash Scripting Search For Records Programming Software Development by isxrc … with an assignment I must complete by tomorrow. I started Bash Scripting yesterday so am a complete newbie. I don't… have time to teach myself Bash scripting so please don't redirect me to some tutorials… BASH script using getopt to parse optional arguments Programming Software Development by nano72 … the following script with manadory and optional arguments inside a bash script Manadory options are : filename="" port=""… parse the options is This is what i have #!/bin/bash filename="" port="" while getopts b:t… Bash Group and User Files Programming Software Development by iamthesgt This is homework. I was writing a bash script that accepts a list of group names on the … if statements as comparisons. Here is my code: [CODE]#!/bin/bash FILENAME=/etc/passwd FILENAME2=/etc/group UIDMAX=1000 echo -e… Re: Bash Group and User Files Programming Software Development by iamthesgt … from each array entry. Here is the completed bash script: [CODE]#!/bin/bash FILENAME=/etc/passwd FILENAME2=/etc/group UIDMAX=999 echo… Bash/awk script Programming Software Development by iamthesgt This is homework. I have to write a bash shell script using awk to process three delimited text files … of a few types. Here is the script: [CODE]#!/bin/bash FILEGRADES=grades FILEPROJ=projects FILELEVEL=levels awk ' titleline[0]="… Re: Bash (if..then) error Programming Software Development by Felipevd …, another error is shown. Here is the code: [CODE]#!/bin/bash echo "Please, type in the day of the week… Bash script - Combine and cut data files - now do Windows Programming Software Development by griffman99h …* I have gotten a wonderful little bash script to get this to work: [CODE] #!/bin/bash fileList=`ls inputdatafolder/` for var in… bash command line parameter with special characters Programming Software Development by it@61@sec I have a bash script (test.sh) which reads parameters from the command line. … param4 param5 The source code of my script is: #!/bin/bash # # test script # echo $1 echo $2 echo $3 echo $4…