Search Results

Search: Posts Made By: vkatta
2,228
Posted By pseudocoder
#!/bin/sh time=0; while true; do ...
#!/bin/sh

time=0;

while true; do

until [ $time = 86400 ]; do
date "+%T" >> present.txt
time=$(($time+10))
sleep 10
done

time=0
cp present.txt present.old
>present.txt
done
Forum: OS X (Apple) 05-24-2010
2,329
Posted By [MA]Flying_Meat
Helpful hints: Always have a working backup of...
Helpful hints:
Always have a working backup of your boot volume,
Learn basics about navigation (cd, pwd,..),
Know your directory structure (ls -al /),
Learn about posix permissions (user, group,...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 02:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy