![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| echo in ksh sh & bash | Alalush | UNIX for Advanced & Expert Users | 4 | 02-02-2009 06:38 AM |
| Constant mirroring | sstevens | Shell Programming and Scripting | 1 | 09-25-2008 01:50 PM |
| what is ksh equivalent of bash echo -n ? | mudhireddy | Shell Programming and Scripting | 3 | 12-15-2006 04:24 PM |
| bash pattern matching echo *[! '/' ] doesn't work | james hanley | UNIX for Dummies Questions & Answers | 1 | 07-16-2006 06:10 PM |
| AIX Constant Rebooting | AIXNEWBEE | AIX | 4 | 10-30-2005 05:33 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi all,
Basically Im trying to put the current time in a script in BASH. Tried the watch command, but its not really what I want. I will have lots of things in this script, current date and time being just a few). Any ideas? |
|
||||
|
The time like a clock. Basically, i am making a menu driven programme and i would like to have a "clock" on the top of each menu page. The only way I have been able to make it work at the minute is by using the watch command as follows: DATE FILE Code:
echo "The time/date is: `date`" COMMAND TO BE USED Code:
watch ./date However I planned to awk out the date to leave just the time, but the watch command takes up the full screen and doesnt allow menu inputs.. any other ideas? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|