10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Appreciate help for the below issue.
Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt..............
1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
i would like to know what is the use of that command
apt-get install --purgeI understand the use of --purge while using with remove parameter, but i don't get it when it's about installing.
Enlight me please ! Thx
---------- Post updated 09-03-16 at 11:35 AM ---------- Previous... (0 Replies)
Discussion started by: Purgator
0 Replies
3. Shell Programming and Scripting
I have these commands that help me find and delete files over certain days.
How can I build a menu to list the files, and then hit y for yes to delete or no?
find /logs/212/abinitio/prod/mfs/partitions/part0/mfs_12way_001/mfs_12way/sncrpt/main/ -name "*dat" -mtime +1 -exec ls -ltr {} \;
find... (3 Replies)
Discussion started by: xgringo
3 Replies
4. Emergency UNIX and Linux Support
From morning we are facing some issues in tablespaces in oracle9i.
Tried deleting some huge records... but even thought it is still giving tablespcases in full.
Then i tried and googling ... found we need to purge recyclebin of oracle..
but thats not woking in oracle9i...
can any one... (1 Reply)
Discussion started by: greenworld123
1 Replies
5. Shell Programming and Scripting
Hi,
sorry if there already a thread about this, I did a little bit of digging but haven't found exactly what I want.
I have a java application on a glassfish server who crash from time to time :D
I need a script to allert me if there's a error like "java heappspace" or "out of memory" in the... (5 Replies)
Discussion started by: jblecrou
5 Replies
6. Shell Programming and Scripting
Hi,
At work we have backups on a ftp.
I want to view 4 last files saved (their names, dates, and weight).
how can i achieve this goal using simplest way ?
Thank's. (3 Replies)
Discussion started by: simon974
3 Replies
7. Shell Programming and Scripting
Hi all,
Consider i have a directory /tmp/test and inside this directory i have the following files:
1.svf.tmp
2.svf.tmp
3.svf.tmp
How can i remove the last four characters of every file in irder for the directory to be as:
1.svf
2.svf
3.svf
I use the following command but id doesn't... (6 Replies)
Discussion started by: chriss_58
6 Replies
8. Shell Programming and Scripting
Hi,
I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows:
""""""""""""""""""""""""""... (3 Replies)
Discussion started by: harish.parker
3 Replies
9. Shell Programming and Scripting
Hi ,
I want to purge 7 days older data from a list of data sorted on date in a log file...
Can anyone provide me with the shell script for the same..
Thanks,
Jaz (1 Reply)
Discussion started by: JP003
1 Replies
10. UNIX for Dummies Questions & Answers
Being new I had my focus in the wrong place and typed in xterm instead of <If you can't guess, good>.
Can I purge xterm so that this word no longer appears using up or down arrows? (1 Reply)
Discussion started by: noobie_doo
1 Replies