Search Results

Search: Posts Made By: tmikahan
4,754
Posted By tmikahan
How to bypass error in shell script?
Hi again,

I have a script that moves files based on filelist:

------------------------------
filelist1=./rated.txt

for file in $(< $filelist1)
do
mv ./$file ./Backup/$file
done...
23,077
Posted By tmikahan
How to add filename to the end of each line in file
Hi,

I'm reading data from comma separated files to DB. Now there is a need to have the name of the input file in each row of that file. How can I do this in unix script?

Example:

$cat file1...
6,346
Posted By tmikahan
Shell script permissions
Hi,

I'm trying to execute a shell script from application (Informatica). The script works fine when I execute it from command line but fails when executed from Informatica. The tricky part is that...
7,939
Posted By tmikahan
Reading value from file
Hi,

This is stupid question I know but can't help it.

In script I would like to read value from file counter.val to variable counter. I'm using Bourne shell so this won't work:

cat...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 03:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy