10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to create a bash script to run through crontab, to do the below job:
1- find files that are over 12 months old in /var "files are like file_201201222.mtd file_201201333.mtd
2- Tar them in /backup like: file_201201.tar.bz2 "every month in one tar file"
3- remove them after that
4- Send... (8 Replies)
Discussion started by: Ahmad M. Kamel
2. Shell Programming and Scripting
can anyone help in this
i have a file like
i want output like.
thanks (8 Replies)
Discussion started by: pradeep rawat
3. Shell Programming and Scripting
echo $PASS | sqlplus system@USUP @/home/ora10g/crons/scripts/hot.sql
echo $PASS | sqlplus... (5 Replies)
Discussion started by: redologger
4. Shell Programming and Scripting
I have a text file like this:
what i need is a linux script to reorganize this file by adding
the relevant content(number) to the names and print only once.... please help me someone. ... (1 Reply)
Discussion started by: shan1990
5. Shell Programming and Scripting
echo "#Script Name:"
echo "#:Command Line: picoc"
this is my script. i think it is ok w/o error. but when i run it i got error. i'm using a VMBox... (1 Reply)
Discussion started by: jrdncchr
I need to write a script to which need to track errors in log and need to check last 100 lines in the log at every 5 minits. if error fund need to mail my self
1. "STATE_ADMIN" if found need to print: <Jan 5, 2011 11:47:02 AM IST><ewaps2> <ADFAPPS2> < STATE_ADMIN
2."Java heap... (0 Replies)
Discussion started by: udara
7. Shell Programming and Scripting
I am creating a script that will incorporate multiple variables organized in a spreadsheet for pdftk. I have a 1000 page pdf that I have to split into about 300 individual pdfs. The basic command line to extract pages is as follows:
$ pdftk file.pdf cat 1-7 output newfile.pdf
file.pdf =... (8 Replies)
Discussion started by: tankcommander
8. Shell Programming and Scripting
This is my first time having to write a script so your help is most appreciated.Also i am a beginner when it comes to linux so please bare with me.Thanks in advance to all who will look into this for me.
I have to write a bash script that will show the free space on the hard... (4 Replies)
Discussion started by: manike
9. Shell Programming and Scripting
I'm interested in writing a (hopefully) simple Linux Shell Script.
Upon shutdown of the system (or upon reboot), I would like the script to automatically reset any changes made during that session. This includes files saved to the hard disk as well as any configuration changes. I would also like... (6 Replies)
Discussion started by: wilson735
10. Shell Programming and Scripting
Hi Everyone , have a nice day
given below is a simple linux script
but its first part is not working ( variable k assignment ) , while second loop is working fine
can anyone help me out with this
echo "Enter Date"
for i in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14... (6 Replies)
Discussion started by: Dastard