Hi there
I need to write a korn shell script (.KSH) which will be schedules and it needs to GEt one file from te ftp location after establising the connection. the file names is not fixed s...
I got a message "There are stoped jobs" when I typed "exit" command, how can exit?
I used "^z" to stop a ftp downloading and then used "bg" in order to let the process sleeping.
The process ...
I know that the following commands list files that have 3 digits (ls [0-9][0-9][0-9]), but what if i want to list a file with just three letters (in file name)...do I use (ls [A-Za-z][A-Za-z][...
Convert base 10 number to Base 62 within a shell script.
VAR_1="2938567234976527896527965"
(your input suggestion)
echo $VAR_2
(some alphanumeric string)
I have looked high and low f...
I code tcl scripts for eggdrops on IRC.
The thing is I am quite good with tcl scripting such as string matching and most of the list, string functions and I see pre-written scripts and get id...
Hi colleagues:
I have a unix file : When I open it using "vi", the following line appears:
"WDB211A1A.tmp" [Incomplete last line] 35 lines, 962
characters
What does it mean ?, Where...
Hi, there:
I'm stuck with a sed question. Could you help me out?
Here is the content of the text file: test.c
line1
line2
text3asdasf<!>asfasftext4
I want to change it ...
Hi!
Can anyone help me with regards to running a telnet in a script file. Below is the code:
#!/bin/sh
telnet 192.168.1.34 8888
get /claims/index.jsp HTTP/1....
Hi,
I am doing C++ programming in unix. I tried with unix funciton call setitimer. Please find my program snippet attached with this thread. If I remove the static keyword in the progra...
I am currently writing some scripts to help automate our DR build. So here is my question.
In writing my script I am wondering if there is a switch that I can add to my script that will forc...
I accidentally deleted a table on my local MySQL server. I used Time Machine for incremental backup. I tried restoring /usr/local/zend/mysql/ from the backup to my machine. I'm getting the err...
is it possible to zip a file in unix(solaris) with password protection inside a shell script.
Hi-
I have a sun system with the TZ set to GMT-5. The contents of my /etc/default/init file are:
CMASK=022
LC_COLLATE=en_US.ISO8859-1
LC_CTYPE=en_US.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=e...
Hi,
I am not sure if this is the correct place to ask, but i din't find any other category for Ant.
I am looking to run my ant script (buil.xml) having some unix commands. I am able to e...
Hi experts,
I need your help in writing a shell script(.sh file) to invoke SQl Loader, that will load the data(in .txt/.csv) using a control file(.ctl) to the database table
I have the pas...
Dear Friends
I am new to unix world. Is there any posibility to pull abeep sound in client side in a shell program.
I tryed this but it gives the beep sound on the server...
/usr/bin/echo...
Hi all,
I have text file on unix server in which the fields are seperated by any delimeter like pipe or comma etc. My question is i want to extract those records only which satisfies certain ...
Dear experts -
I have a file name, I have to parse the file name and extract some information from the file and add that information to the same file as an additional colum...
I need to give an ordinary user the ability to shut down the database.
I am thinking of writing a script that contains the following su command for the user to execute to shut down the data...
Is there a relatively simple way to convert ASCII characters to their hex values and back using just Bourne shell commands?
I have a text file in the following format.
<Timestamp> <UserName>
From: <IP address>
The file contains about hundreds of such lines.
I am trying to extract username and timestamp dat...
Hi everyone,
Apologies if this question is too simple, I'm a newcomer here.
I'm using ksh. I'm defining a variable, and then I want to replace the occurrence of "string1" in that var to "...
I am finding a need to be able to handle signals, and am not sure what proc is better. I have used signal in the past, for small programs, for time outs and the such. Could someone give me a...
how can i make a script which uses telnet and can send from that script the login & password.
After which any other command from the script is activated in the telnet session .
i.e the script ...
I have a shell script command:
cd /root/release/builds
find . -name *.o -print | awk '{print "cp " $1 " /root/release/lgcscvs01obj";}'
When it runs, it outputs this:
cp ./daily/20040...