[env-test1] $ls -la total 16 drwxrwxr-x 2 centos centos 18 Nov 27 13:18. drwx ------. 17 centos centos 8192 Nov 27 13:17 .. -rw-rw-r-- 1 centos centos 6 Nov 27 13:18 .env [env-test2] $ls -la total 12 drwxrwxr-x 2 centos centos 6 Nov 27 13:29. drwx ------. 17 centos centos 8192 Nov 27 13:17 .. $cp env-test1/* env-test2 /. cp: cannot stat ‘env-test1/*’: No such file or directory
When copying files in a folder at once, files beginning with
.envare not recognized.
Is there a corresponding option for copying?
Or is there a way to copy one file at a time as follows?
$cp env-test1/.env env-test2/.env
If i have time, please let me know.
Answer # 1
cp -a env-test1/.env-test2
- linux - regarding the connection between ssh server and mac with linex
- java regarding the behavior when multiple users call the same method
- linux - regarding the error that appears in docker run container,
- linux - about the behavior of log rotation
- linux - regarding remote command execution with ssh
- regarding inheritance of java, the behavior that super does not understand well
- linux : Please tell me how to read meminfo
- linux - i want to solve the problem that cent os 7 is forcibly terminated when i try to start it after installing it in virtual
- linux - pxe boot says /dev/root does not exist and installation fails
- linux - how to download centos
- linux - i get an error when vagrant up
- linux - please tell me how to install centos on virutul box on windows 10 connected by wireless lan
- about automatic startup of linuxos telnet
- i can't install git 230 on centos 7 on linux
- linux - centos static routing settings are not reflected
- linux - centos iso image file installed on usb is not recognized