10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
i wrote script for if file exists script do file edit problem with the script get stuck not existing as for exit i mentioned exit 0 , and how to give the exception for script it should add
./script -- add hi
./script --add "hi how are you"
now below script with case it is working for... (0 Replies)
Discussion started by: markjohn1
0 Replies
2. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I am trying to automate hadoop installation procedure using shell script. It involves go to perticular directory... (3 Replies)
Discussion started by: Abdul Navaz
3 Replies
3. UNIX for Dummies Questions & Answers
Hello every one,
I am a newbie , I am trying to run the script .sh file , but when I run this, I need this backup file to store at some location called " /A/B " ,but this location should only consist the latest backup file. which mean at any time this location only consists the latest backup... (2 Replies)
Discussion started by: karthik25
2 Replies
4. Shell Programming and Scripting
Hello,
I have a big file in wich I would like to rename inside this exactly the string '_ME' and not rename in case we have 'ABC_MELANGE'. Is there a way to do it by using a shell script?
Any tip will be apreciated.
The file is like described bellow, after using command more filename :
... (3 Replies)
Discussion started by: Titas
3 Replies
5. Shell Programming and Scripting
Hi,
Can some one tell me if we can configure the jobs in crontab using a shell script.
I know it can be done easily by using "crontab -e", but i just want to know whether we can add a job into the crontab using a shell script.
If it can be done, plz suggest the procedure to do it.
If it... (6 Replies)
Discussion started by: rudrarajumk
6 Replies
6. Shell Programming and Scripting
Hi,
CREATE TABLESPACE aps_blob_large01
DATAFILE '/c2r6u13/u03/oradata/qnoldv01/aps_blob_large0101.dbf' SIZE X 270532608
REUSE
DEFAULT STORAGE (INITIAL 134217728 NEXT... (2 Replies)
Discussion started by: rparavastu
2 Replies
7. Shell Programming and Scripting
Hi,
sample file looks like this..
<hp>
<name>
<detail>adsg</detail>
...
...
</name><ft>4264</ft>
</hp>
I need to edit the last but one line using perl script. I want the format to be ..
<hp>
<name>
<detail>adsg</detail>
...
...
</name> (9 Replies)
Discussion started by: meghana
9 Replies
8. Shell Programming and Scripting
hi
I have one jsp file. i want to edit this jsp page using script.
This jsp page contains ("insert into employee values('raja', 32, ' ');)
i want to add empty column at the end of the line. i.e is that line should be
(insert into employee values('raja', 32, ' ', ' ');) (2 Replies)
Discussion started by: nsundaram_cse
2 Replies
9. Shell Programming and Scripting
Hello,
How would i go about editing a file using VI within a shell script please?
Basically, i want to open a file, clear it's contents and save the file.
I found this on the web using "ex" but can't seem to get it to work:
ex /home/oconnor/TOOLS/UNIXCMDS/test_ex <<eof_ex
dd /*i put... (2 Replies)
Discussion started by: bobk544
2 Replies
10. Shell Programming and Scripting
Hi, i got this script but when i hit reset i loose the times in the form box. Can someone please edit this script so when i hit reset i dont loose the times in the form box's and also have a button to reset everything, including the form boxs
<script language="javascript">
// stopwatch... (1 Reply)
Discussion started by: perleo
1 Replies