10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
Can any one help me out how to remove space from below line
select file_name from dba_data_files where tablespace_name='SYSTEM ----space---- ';
i want as :
select file_name from dba_data_files where tablespace_name='SYSTEM';
my code i use
file=/u01/script/latest/tbs.temp
while... (14 Replies)
Discussion started by: Praful Pednekar
14 Replies
2. Shell Programming and Scripting
Our university has upgraded its version of a computational chemistry program that our group uses quite regularly. In the past we have been able to extract frequency spectra from log files that are generated. Since the upgrade, the viewing program errors out. I've been able to trace down the changes... (16 Replies)
Discussion started by: wsuchem
16 Replies
3. Shell Programming and Scripting
Hello,
I tried to write a bash script (code is below) that does scp files that contain a certain string, and that subsequently deletes only those files that have been copied (in my case new files are created every second so it is important to only delete those that have been copied). The key is... (0 Replies)
Discussion started by: kjartan
0 Replies
4. UNIX for Dummies Questions & Answers
Hi guys,
I am trying to remove lines that have a duplicate substring from any part in the file. So, for ex:
433043950359.3 5033 305935 2 2dd 5ffgs DOG43453552.A
3443565634 95460 3435 45 23d 56ggh DOG343211
3423895702359 34 66699 9455 2324 DOG43453552.B
This is a very large file, and... (1 Reply)
Discussion started by: verse123
1 Replies
5. Shell Programming and Scripting
Hi,
I have some folders (containing files) which gets created daily and names start with 'TT_' . I would like to remove these folders every month end.
Could you please provide me the commands and also the syntax to schedule through crontab.
Thanks,
Archana (3 Replies)
Discussion started by: archana.n
3 Replies
6. Shell Programming and Scripting
I have a multi-line string I'm trying to do some clean-up on.
Example:
1|575|67866|"fgnhdgj"|"afhgajh
agfajgf
ahfjhgfk
ahfkhf"|568
2|56|5435|"mayank"|"gupta
gdja
agdjagf"|677
3|5666|5435|"mayank"|"gupta
gdja
agdjagf"|677
I need a shell script that replace all \n under " ". (11 Replies)
Discussion started by: mayankgupta18
11 Replies
7. UNIX for Dummies Questions & Answers
I have one process which creates semaphore with permission 600. Then at some part of the code I have line where this semaphore will be removed. Problem I have is that other processes in my program also try to execute this line of code. Of course since they dont have permission they wont be able to... (1 Reply)
Discussion started by: joker40
1 Replies
8. Red Hat
Hi All,
I have a RPM for an Java based application. Currently it works fine.
But recently I want to implement that when newer packages gets installed over the older one, the rpm should only update the older files with the newer one (I know this could be done by rpm -Uvh xxx.rpm), but it... (0 Replies)
Discussion started by: jw_amp
0 Replies
9. Shell Programming and Scripting
I have a shell, which locks calls an expect script that connects to an sftp and downloads all files.
I need it to then check each file in my directory and compare the sizes. If the file name and file size match, then delete the file on the server.
Is this possible?
:confused: (2 Replies)
Discussion started by: tariqjamal
2 Replies
10. UNIX for Dummies Questions & Answers
I am using Unix as my OS on my server and would like to format my hard drive. How do I go about wiping my hard drive or is there a removal tool that I can use? (1 Reply)
Discussion started by: anaconda
1 Replies