![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help me in sending parameters from sqlplus script to unix shell script | Hara | Shell Programming and Scripting | 2 | 01-29-2008 12:31 PM |
| Shell Script: want to insert values in database when update script runs | ring | Shell Programming and Scripting | 1 | 10-25-2007 12:06 AM |
| here document to automate perl script that call script | hogger84 | Shell Programming and Scripting | 3 | 10-22-2007 07:15 AM |
| returning to the parent shell after invoking a script within a script | gurukottur | Shell Programming and Scripting | 5 | 09-26-2006 04:05 AM |
| return valuse from child script to parent script | borncrazy | Shell Programming and Scripting | 1 | 08-20-2004 12:39 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Please help me with my script
Hi.
I`m going to make i simple script which prints todays date an time in this format: *****Todays date and time is <date> How do I do this? I`m having problems getting it on the same line. thanks. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Type the following.... #man date ....then start reading.
You'll find a lot of answers to your own questions on how things work buy making use of the man command. Quote:
Type the following.... #man echo ....and again start reading. |
|
#3
|
||||
|
||||
|
And the perl way:
#! /usr/bin/perl $test=`date`; print "DATE IS:$test\n"; you didnt state whether or not it was a shell script, perl script, etc....
__________________
***BOFH*** echo "Lunch Break">/dev/kmem |
|
#4
|
|||
|
|||
|
please read the rules befor you start posting.
no homework questions. |
|||
| Google The UNIX and Linux Forums |