I'm just trying to move a bunch of files (not symlinks) out of my /etc/apache/sites-enabled folder into the /etc/apache/sites-available folder with the following:
/etc/apache2/sites-enabled$ find . -maxdepth 1 -type f | xargs mv {} ../sites-available/
Run Code Online (Sandbox Code Playgroud)
but I'm an ubuntu n00b and am getting this error:
mv: target `./real-file' is not a directory
Run Code Online (Sandbox Code Playgroud)
where 'real-file' is a test file I've set up on my dev environment. I'm trying to tidy up someone else's mess on a production server ;-)
我在制定正确的命令来删除第三行时遇到问题ip route list
:
#ip route list
default via 172.31.16.1 dev eth0 metric 100
172.31.16.0/20 dev eth0 proto kernel scope link src 172.31.18.50
172.31.16.0/20 dev eth1 proto kernel scope link src 172.31.23.44 #REMOVE ME
172.32.23.0/24 dev eth1 proto kernel scope link src 172.32.23.44
Run Code Online (Sandbox Code Playgroud)