9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys,
I need a script to change the file names e.g.:-
below are the mentioned files, i want t0 change the last character of the name 00000.cdr with e.g bep01.smsc.191214210500-00000.cdr to bep01.smsc.191214210500-92311.cdr next file be like bep01.smsc.191214210500-92312.cdr
# ls -ltr... (9 Replies)
Discussion started by: mfaizan40
9 Replies
2. Shell Programming and Scripting
Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below.
I am on a solaris server btw.
Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose.
... (2 Replies)
Discussion started by: goddevil
2 Replies
3. UNIX for Advanced & Expert Users
Hi all
I am using tru64 Unix and I want a ready batch file which makes me to change all user passwords at the same time ,instead of changing everyone separately.
Please could anyone help me to do that.
bye. (1 Reply)
Discussion started by: ahmedbashir
1 Replies
4. Shell Programming and Scripting
Hi
I have to create a windows batch file which will read an input file and remove "double quotes" from each line of the file.
For eg.If input file name is abcd.csv and contents is :
"asasd,123123,213213,asd"
"esfrf,dsfsdf,234324,sdfsdf"
Then the batch file should remove "" from the... (11 Replies)
Discussion started by: akashtcs
11 Replies
5. UNIX for Dummies Questions & Answers
I can do the following steps on my UNIX box interactively, but cannot send an email with a script. Can someone help? I need to send an email or some other notification when a cron job fails.
telnet xx.yy.zz.ww 25
helo
mail from: 123@123.com
rcpt to: my@email.net
data
subject: email test... (1 Reply)
Discussion started by: ejaggers
1 Replies
6. UNIX for Advanced & Expert Users
In my dir there are files like
a.xml
b.xml
abnc.xml
12.abc.xml
12.anc.sfoioi.xml
I need to remove .xml from all the files
Is there any direct way without using any for/do loop
Right now i am using
for file in *
do
... (7 Replies)
Discussion started by: reldb
7 Replies
7. Programming
what is a command to call a batch file from a c++ program
when called with the argument which is a text file, then how to print that text file on a printer.
please help me with code if possible (3 Replies)
Discussion started by: ramneek
3 Replies
8. IP Networking
my requirment is
i have to call a batch file from a c++ program
that batch file is called with the argument as print.txt
print.txt is a text file which should get printed on printer (any printer) when a batch file call is made
1) how to call a batch file in c++
2) how to print the text... (1 Reply)
Discussion started by: ramneek
1 Replies
9. UNIX for Dummies Questions & Answers
I have a data file with 4 columns of numbers with a space delimiters.
I have a script that I can run from the command line that will insert parameters directly on the command line. For example:
script.ksh 100 200 300 400
What I am trying to do is do a mass update using... (4 Replies)
Discussion started by: cfoxwell
4 Replies