Microsoft
Software
Hardware
Network
Question : how to concatenate into the starting of a file ?
if I do
echo "first line" >> /tmp/1
then it will add at the last line of file /tmp/1,, how can I add(concatenate) on the first line of file /tmp/1 ??
Answer : how to concatenate into the starting of a file ?
A version that will work on all Unix/Linux systems is
(echo "first line" ; cat /tmp/1) >/tmp/$$ && mv /tmp/$$ /tmp/1
Random Solutions
Can't Change Length of column from Varchar(50) to Varchar(100)
Noscript tag and Google penalizing
Drop Down Menus
FMS3 Beginner question - connection testing sample
Aborting an XP repair install
WIN XP wireless network connection
Blue Screen of Death. WinXP doesn't start up after it crashed.
Numpy *zip with units
"Property Sheet" display
Error 1008 in event log -ASP.NET