@related: Unix Shell bash FS

http://en.wikipedia.org/wiki/Posix

posix shell IEEE Working Group 1003.2

chmod

$ ln -fs /etc/profile  /tmp/link
$ ls -l /tmp/link 
lrwxrwxrwx 1 rzr rzr 12 May 29 21:27 /tmp/link -> /etc/profile
$ su root -c "chown -v root.staff /tmp/link"
Password: 
changed ownership of `/tmp/link' to root:staff
$ ls -l /tmp/link 
lrwxrwxrwx 1 rzr rzr 12 May 29 21:27 /tmp/link -> /etc/profile
$ su root -c "chown -h -v root.staff /tmp/link"
lrwxrwxrwx 1 root staff 12 May 29 21:27 /tmp/link -> /etc/profile
posix.txt · Last modified: 2022/04/16 12:23 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki