I have the script files script1.ksh ...script10.ksh in the directory star2
PATH : home/aaa/star2
I need to move all the files under star2 to the home directory (home/aaa)
NOTE : I do not want the folder star2 but I need all files in this folder to come under home/aaa
current issue : home/aaa/star2/script1.ksh..rest of script files
what I needed : home/aaa/script1.ksh..rest of script files
command I used : cp -r /home/aaa/star2 ~
but I get error in console saying
"cannot copy /home/aaa/star2 to /home/aaa/star2"
What do I need to do?