1,817 Topics
|
|
Dear All, I am using CGI and bash Shell scripting programming. I want to upload a file bye Web based application in CGI and pure Shell Scripting. Not in Perl. Please help how to Upload a file using bash Shell Scripting and CGI. Thanks advance. Aashiqbhatti |
|
i have a bash script which takes a string as command line argument and synthesises it using festival.I need to invoke this script every time a user presses a keyboard key(or a particular combination of keys) with the selected text.. can someone tell me how this can be done.. |
|
I need to create a shell script that controls the users runlevel at every startup/logon of the linux system. the user should be prompted with a menu screen taht asks for their desired runlevel. The user should be presented with the following 3 choices: ¤ Single User Mode ¤ Full/Extended … |
|
Hello this is my first post on these forums. For a little back ground into this, I recently installed a Linux server with the purpose of recording matches via a program called HLTV. Now what I want to do is take the individual .dem files compress them one by one … |
|
Hi all, I am writing a script that requires the simple functionality of reading lines from a text file...and writing several of these to a new file.. The lines I want to write to the new file contain tabs and I have not been able to write these lines. Here … |
|
So I'm really new but I have written a simple bash shell script filter (using someone elses conversion utility) to insert a copyright text line into a MIDI file. The script works fine on the first file in the directory, however the whole point of writing this script for me … |
|
Hey guys, been working on a tool called getwifi for a while now. It is a tool written in shell that let's a user join wireless networks in order. You can configure it to join any of the networks and change the order in a configuration file. It supports WEP … |
|
Can anyone give me a one-liner that adds a timestamp to the output of vmstat -n 1 Perhaps using awk? |
|
Hi, I am trying to (echo ls -l $i) but it's not printing if someone can help me....I am trying to ls -l everything in the arrary....Thanks in advance [B] script: [/B] #/usr/bin/ksh typeset -i cnt=0 while read line do myarray[$cnt]=$line ((cnt = cnt + 1)) done < myfile for … |
|
hey friends i m facing one problem that on sever their is fedora core 4 and when ever temp(/tmp) is filled server go show. can any one provide me with the script that can automatically cleans up /tmp after some days or when temp is going to fill thanks |
|
hi, I got a problem with using this 'cmdtool' command. I use cmdtool to open up a new window in a script. But I need to disable the 'close' button on the top right of this new window (the 'x' button) during the execution of a portion of my program. … |
|
Hi folks, I'm prepared to write a simple script to execute 20+ commands and could not figure out how to make use of "loop" subject to certain conditions. If without conditions[code]#!/bin/bash cmd1="code1" #the exact/full command cmd2="code2" #the exact/full command cmd3="code3" #the exact/full command etc. cmd1 || exit 1 cmd2 || … |
|
Hello, How can i find the execution time of a script. help me . |
|
mail -s "subject" [email]chris.collins@fuse.net[/email] < email What can I add to this line and where to automatically create a blind carbon copy? Also if possible what can I add to this line and where if possible to add the address from? Thanks |
|
I need to find a way to use a bash script to take a line like this " <!-- STANDARD FTP :: DELETE THIS BLOCK FOR SECURE FTP AND UNCOMMENT THE SECURE BLOCK BELOW --> <tr> <td valign="middle" align="center" height="35"> <a href="http://!domain!/uftp/">Click here to login to your FTP site.</a> </td> … |
|
Suppose I had a directory name of company.domain.com where company was diff everytime. How could I read the company part of the name in as one of the variables in my bash script? |
|
Hello, I have a data file that has names of varying lengths that are listed in columns. ie: [CODE] Ranjit Singh Dean Johnson Ken Whillans Karen Thompson Peter Robertson Rich Gardener Sandeep Jain Ken Whillans John Thompson Cher Cher Karen Patel John Jacobs Davinder Singh Dean Johnson Sandeep Jain Karen … |
|
i have a problem :rolleyes: i have write this script ************************************** #!/bin/bash #use command mail for send a mail present in a directory # i repeat this for how many e-mail are stored in my directory # count number of file in directory nummail= ls | wc -l while [$nummail … |
|
Hello , Im trying to dump the content from a url in bash shell script but was unable to get. im using the following code URL="[I]'some url[/I]=$var'"; > temp system "-dump -nolist $URL > temp"; Plz let me know how can i dump the content of the url |
|
Hey all, Im new to shell scripting. Plz suggest me some good websites. I searched google but i dont know which one to follow. Thanx in advance Cheers, Naveen. :) |
|
I have been writting several .sh shell scripts on my home machine to do various automated tasks. Some deal with regard to backing up remote servers to my home machine. On my home machine, I do not run a mail server for I am connected to the internet via an … |
|
Hi, i have need to send mail using a script in bash shell...but i don't know how i can do...so can some one help me... :sad: . Thanks a lot bye bye |
|
Here's what I'm trying to do... I want to connect to a command line application and send it instructions from inside a script. I need to do a loop as there are multiple things I want to do. I was able to accomplish this by connecting and disconnecting inside the … |
|
I am trying to use Simpson's Law to find the area in some profiles i have and i'd like to do this in a in a shell script as this how the data has been created. an example of the file ( without the brackets): (1) (2) (a) 12.146 -0.65 … |
|
I have a script that I'm working on to pad files with spaces. The spaces need will vary. This is what I have so far but it isn't working. Any suggestions? #!/bin/bash echo -n "Enter filename " read filename echo -n "Enter start size " read start echo -n "Enter … |
|
It there a way to validate a string that >> Does not use characters like #$@ in the password. >> It must contain 1 upper case letter, 1 lower case letter, 1 number & must end in a letter. >> It must be 6-11 characters using Regular Exp ? Any … |
|
I made a little script that searches and substitutes parameters in a configuration file but I've a problem: Configuration file: conf.tmp [code] parametro1=mario parametro2=ugo parametro3=elena parametro4=sara [/code] Script: [code] #!/bin/bash -x TMP_FILE=./test.tmp CONF_FILE=./conf.tmp TOT_PARAMETERS=$#; scratch="" if test $[TOT_PARAMETERS%2] -ne 0 then echo "Usage: $0 desc" exit 1 fi if test … |
|
Does anybody know of any way to mix something like tail up with something like wc and get a scrolling "new lines per second" number? Or maybe there's a util that specifically does this? |
|
I am new to bash shell writing and I need some help. I need to ask a user a name to search for. From the value the user has entered the information is pulled from a file called phonebook which displays the users name,address and telephone number. Then I have … |
|
[CODE]#!bin/bash mysql -u user --password=password << eof use mydatabase; SELECT version FROM versions WHERE versionid = 'LIST'; eof[/CODE] I'd like to get the value from the query into a variable. Any ideas how I could do that? |
The End.