hi,
I am trying as below
mv * to move multiple files but not working
http://www.thegeekstuff.com/2010/12/mv-command-examples/
$ cd chap1
$ ls -F
ex1.c ex2.c ex3.c example/ exercise/
$ mv * chap2/
bash-4.4$ ls -ltr
total 12
-rw-r--r-- 1 14392 14392 978 Nov 22 16:46 README.txt
-rw-r--r-- 1 14392 14392 7 Nov 22 16:47 456.txt
drwxr-xr-x 2 14392 14392 4096 Nov 22 16:49 dir3
-rw-r--r-- 1 14392 14392 0 Nov 22 16:56 c.txt
bash-4.4$ mv * new/
mv: target 'new/' is not a directory
bash-4.4$ mkdir new
bash-4.4$ mv * new/
mv: cannot move 'new' to a subdirectory of itself, 'new/new'
bash-4.4$ pwd
/home/cg/root
please advise