9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
in my shell script requirement is to search and replace the file with variable so i use the following command sed -i "s/abc/$SCHEMA/g" table.sql
later when the script runs sqlplus username/pwd@Table& this & is not letting the variable to replace the value inside the file .please let me know... (1 Reply)
Discussion started by: bhuvan1
1 Replies
2. Red Hat
How to create a file with specific size in RHEL6 (1 Reply)
Discussion started by: Sashi Kanth A
1 Replies
3. Shell Programming and Scripting
Hi guys.
I am trying to subtract 10 minutes from the current Unix system date and time. I have the datecalc provided here but it is mainly the date and not the time. Please check on how can i subtract 10 minutes from the current time using datecalc or any other shell scripting that will... (2 Replies)
Discussion started by: bantiloe
2 Replies
4. UNIX for Dummies Questions & Answers
How would i create virtual interface in linux to configure more than one IP address for a physical interface?
any help wll be appreciated. (1 Reply)
Discussion started by: salil2012
1 Replies
5. Shell Programming and Scripting
I jus want to know the meaning of the below command line(exclamation following that re-direction)
sqlplus -s `cat /home/sample.txt` <<!
Thanks!! (1 Reply)
Discussion started by: nohup
1 Replies
6. UNIX for Dummies Questions & Answers
Hello:
I need to generate two datetimestamps in one hour apart.
the start date is 05262008000000
then generate the following dates
05262008010000
05262008020000
05262008030000
... ... ...
... ... ...
05262008230000
05272008000000
05272008010000
05272008020000
05272008030000
...... (5 Replies)
Discussion started by: ucbus
5 Replies
7. Shell Programming and Scripting
I have a script that works perfectly on a linux box, but I am going to have to move it over to solaris which I have never really worked with. I was a bit miffed that date -d was not available on solaris so I started looking for alternative soltuoins and found this forum and datecalc.
But I... (4 Replies)
Discussion started by: trey85stang
4 Replies
8. Shell Programming and Scripting
Is there no simple way using 'date' command just to get number of days from given date.
ie. if I pass 2007-01-15 as an argument. I want to obtain result as 015
Simarly for 2007-02-10. I want to obtain result as 41.
Can't this be achieved by simple 1 or 2 lines of command (date). As this is... (1 Reply)
Discussion started by: tostay2003
1 Replies
9. Shell Programming and Scripting
i have a script in bourne called cdrsnokia.sh and inside of it calls a script called resta_dias where it calls the datecalc script (perderabos date calculator).
The purpose is to rest (-) one day arithmetical operation the content of each line and the result is passed to another file lista2;after... (1 Reply)
Discussion started by: alexcol
1 Replies