10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there any possible way transfering the file from unix to shared location using shell script.
i had created the batch script to fetch the files from unix to shared location and it works fine. Due to some problem in windows unable to transfer the file to shared location automatically. can anyone... (2 Replies)
Discussion started by: venkat918
2 Replies
2. Shell Programming and Scripting
i have written my shell script in notepad however i am struggling to pass the data file to be read to the script the data file is of .txt format. My target is to run the shell script from the terminal and pass 3 arguments e.g. polg@DESKTOP-BVPDC5C:~/CS1420/coursework$ bash valsplit.sh input.txt... (11 Replies)
Discussion started by: Gurdza32
11 Replies
3. Shell Programming and Scripting
Hello.
I want to to backup some "default:" values from a file do some other job and after restore that "default:" values back.
The problem is that the source and destination file has a lot of default: strings in it but with different values...
So..
Here is an example:
A part of my source... (6 Replies)
Discussion started by: ausdim
6 Replies
4. Shell Programming and Scripting
I've been asked if I can write a "quick" little ksh script that will do the following:
java java_class_file /dir/input_file.xml /dir/output_file.xml
I'm a complete newbie with ksh so any help would be appreciated.
This is on AIX and java is found in
/usr/java5/jre/bin/java (4 Replies)
Discussion started by: newbie_ksh
4 Replies
5. Shell Programming and Scripting
This is part of my code:
for in_file in $1/*.in # list of all .in files in working directory.
do
$c_file < $in_file > "$tempFile.out"
if diff "$tempFile.out" $out_file >/dev/null 2>&1 ;
then
... (6 Replies)
Discussion started by: spider-man
6 Replies
6. Shell Programming and Scripting
Hi all,
I am creating a .sh file in windows environment using notepad.
i need a code which i can write in this .sh file so that it asks me for an input file stored anywhere in my C drive of my windows computer.
Please help me out with this. (1 Reply)
Discussion started by: bansalpankaj88
1 Replies
7. Shell Programming and Scripting
Hi,
I need help in unziping input file through shell script.
I had written script, which checks for input file extention.
If Extension is "zip" or "gz", then I want to do unzip/uncompress that file.
Caould you please let me know that, How to unzip a file through shell script (ksh).
Thanks... (16 Replies)
Discussion started by: Poonamol
16 Replies
8. Shell Programming and Scripting
Hello,
I had written a shell script that accepts input file as cmd line argument and process this file.
if ; then
if ; then
. $1
LOGFILE="$LOG_FILE/MIG_BIOS.log";
get_input_file
else
ERROR_CODE=MSCRM0005_003
error "$ERROR_CODE : Input file $1 is not available";
exit... (3 Replies)
Discussion started by: Poonamol
3 Replies
9. Shell Programming and Scripting
Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval. (2 Replies)
Discussion started by: allways4u21
2 Replies
10. Shell Programming and Scripting
I'm trying to clean up my server and I have the list of some "special" users stored on the text file like this
Now I want to write a shell script to finger all of them so I can have some kind of ideas who they are but here comes the problem....I completely forgot how to do it with shell... (3 Replies)
Discussion started by: Micz
3 Replies