When we are trying to copy a directory to other location, we get below error:
[opc@coslnxhost001 ~]$ mkdir test_dir1 [opc@coslnxhost001 ~]$ mkdir test_dir2 [opc@coslnxhost001 ~]$ touch test_dir1/test_file1.txt [opc@coslnxhost001 ~]$ touch test_dir1/test_file2.txt [opc@coslnxhost001 ~]$ cp test_dir1 test_dir2 cp: omitting directory ‘test_dir1’ [opc@coslnxhost001 ~]$[mai mult...]