Advertisement
teknoraver

cp symlink

Jan 27th, 2021
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. $ mkdir -p /tmp/libpf/{none,f,R,fR}
  2.  
  3. $ ll libbpf.so*
  4. lrwxrwxrwx. 1 mcroce mcroce 11 25 gen 22.21 libbpf.so -> libbpf.so.0
  5. lrwxrwxrwx. 1 mcroce mcroce 15 25 gen 22.21 libbpf.so.0 -> libbpf.so.0.3.0
  6. -rwxrwxr-x. 1 mcroce mcroce 1,2M 25 gen 22.21 libbpf.so.0.3.0
  7.  
  8. $ cp libbpf.so* /tmp/libpf/none/
  9. $ cp -f libbpf.so* /tmp/libpf/f/
  10. $ cp -R libbpf.so* /tmp/libpf/R/
  11. $ cp -fR libbpf.so* /tmp/libpf/fR/
  12.  
  13. $ ll /tmp/libpf/*
  14. /tmp/libpf/f:
  15. total 3,6M
  16. -rwxrwxr-x. 1 mcroce mcroce 1,2M 27 gen 13.54 libbpf.so
  17. -rwxrwxr-x. 1 mcroce mcroce 1,2M 27 gen 13.54 libbpf.so.0
  18. -rwxrwxr-x. 1 mcroce mcroce 1,2M 27 gen 13.54 libbpf.so.0.3.0
  19.  
  20. /tmp/libpf/fR:
  21. total 1,2M
  22. lrwxrwxrwx. 1 mcroce mcroce 11 27 gen 13.54 libbpf.so -> libbpf.so.0
  23. lrwxrwxrwx. 1 mcroce mcroce 15 27 gen 13.54 libbpf.so.0 -> libbpf.so.0.3.0
  24. -rwxrwxr-x. 1 mcroce mcroce 1,2M 27 gen 13.54 libbpf.so.0.3.0
  25.  
  26. /tmp/libpf/none:
  27. total 3,6M
  28. -rwxrwxr-x. 1 mcroce mcroce 1,2M 27 gen 13.53 libbpf.so
  29. -rwxrwxr-x. 1 mcroce mcroce 1,2M 27 gen 13.53 libbpf.so.0
  30. -rwxrwxr-x. 1 mcroce mcroce 1,2M 27 gen 13.53 libbpf.so.0.3.0
  31.  
  32. /tmp/libpf/R:
  33. total 1,2M
  34. lrwxrwxrwx. 1 mcroce mcroce 11 27 gen 13.54 libbpf.so -> libbpf.so.0
  35. lrwxrwxrwx. 1 mcroce mcroce 15 27 gen 13.54 libbpf.so.0 -> libbpf.so.0.3.0
  36. -rwxrwxr-x. 1 mcroce mcroce 1,2M 27 gen 13.54 libbpf.so.0.3.0
  37.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement