How to append a string to a file name?
Hi all,
I have a file named "accesslog". I have another file named "a" which contains a text string, say "Jan-10-14-29-29".
I would like to know how can I append the content of the file "a", that is "Jan-10-14-29-29" to the filename accesslog.
I am expecting an output like : "accesslogJan-10-14-29-29
Tried to do it with tr,sed etc..but couldn't. I am trying to do this within a bash script.
Thanks in advance.
anand
|