Hi All,
Urgent! Just a newbie needing advice.
Has anybody have a sample C script code in Unix to display time with milliseconds?
Most of the research I'm doing is up to the seconds format only.
Thanks!
Leidail (3 Replies)
i an trying to display current time in the expect script. it works fine in normal shell script but does not in expect. can anybody help me with the synatx to display it. (2 Replies)
hey folks,
i am stuc in this problem. You all might help me out.
I want to write a BASH script to display time every 15 seconds using %r field descriptor. And want to clear the window each time before displaying time using clear command. Please help me out (3 Replies)
Hi there,
I would write a bash script to format then create a range of folder (folder name is number) to a usb stick.
for numbers in $(seq -w 001 999)
do
pause "Press any key to start"
mkfs.vfat -F32 /dev/sdc1
mount /dev/sdc1 /media/usb
mkdir /media/$numbers
umount /dev/sdc1... (8 Replies)
Discussion started by: wayneliao38
8 Replies
7. Post Here to Contact Site Administrators and Moderators
Write a script named time that displays the time in standard 12-hour format, rather than 24-hour format. Allow the user to give a -m option to get 24-hour format. For example:
> date
Sun Feb 10 10:56:50 CST 2008
> time
10:56 AM
> date
Sun Feb 10 21:57:07 CST 2008
> time
9:57 PM
>... (0 Replies)
In the below perl executes if one file is processed perfect. However, when multiple files are processed in batch which is preferred I get the below error that I can not seem to fix it as the '' necessary for the command to execute, but seem to only work for one -arg option. Thank you :).
... (2 Replies)