Using "CAT" shell command we can copy content of one file to other file.
cat file1 >> file2
Note: Double redirect (>>) appends the contents of file1 to file2.
Single redirect ( > ) overwrites the contents of file2 with the
contents of file1.
contents of file1.
thank you, it was helpful
ReplyDeleteOk great!
ReplyDeletepermission denied, even with sudo, permissions for folder are rwx rwx rwx
ReplyDeleteThank you this command is very useful.
ReplyDeletethanks
ReplyDeleteHai here i want to copy set of lines from one file another file in linux..how it be?
ReplyDeletety.. check Linux
ReplyDeleteThanks for providing this informative information you may also refer.
ReplyDeletehttp://www.s4techno.com/blog/2016/07/12/fix-grub-issue-of-dual-boot-between-linux-and-windows/