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
Rebuild member domain controller
array, init, qw - how to include empty string
What's netmask ?
ORACLE 11g RAC ip change
Google earth unable to identify graphics card
Kernel update broke NVIDIA driver
Mounting CDROM
Need to query and change the format output of a date column. Currently comming out as yyyy-mm-dd : 00:00:00.000
Printing with TCP/IP with HP Jet Direct
Probs RDPing onto vista after installing VMware