Link to home
Start Free TrialLog in
Avatar of isuhendro
isuhendroFlag for Singapore

asked on

UNIX command for edit a file

Dear experts,

What is the UNIX command to add a string "abc" to a file def.txt?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of alextoft
alextoft
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of isuhendro

ASKER

hi alexoft,

actually your command is work properly when i tested in shell.. but when i wrote under karajan script, it does not work.. just afraid karajan not supporting a kind of ">>" 
do you have any other option?
hi alexoft,

i managed to get the answer for karajan.
anyway, your answer is correct for shell. THANKS!