ln -s /pds2/file01 /pds/fil01
-> 경로 이름
lrwxrwxrwx 1 root root 14 2022-03-22 21:41 file01 -> /pds2/file01
chown --help
Usage: chown [OPTION]... [OWNER][:[GROUP]] FILE...
or: chown [OPTION]... --reference=RFILE FILE...
Change the owner and/or group of each FILE to OWNER and/or GROUP.
With --reference, change the owner and group of each FILE to those of RFILE.
-c, --changes like verbose but report only when a change is made
-f, --silent, --quiet suppress most error messages
-v, --verbose output a diagnostic for every file processed
--dereference affect the referent of each symbolic link (this is
the default), rather than the symbolic link itself
-h, --no-dereference affect symbolic links instead of any referenced file
(useful only on systems that can change the
ownership of a symlink)
--from=CURRENT_OWNER:CURRENT_GROUP
change the owner and/or group of each file only if
its current owner and/or group match those specified
here. Either may be omitted, in which case a match
is not required for the omitted attribute
--no-preserve-root do not treat '/' specially (the default)
--preserve-root fail to operate recursively on '/'
--reference=RFILE use RFILE's owner and group rather than
specifying OWNER:GROUP values
-R, --recursive operate on files and directories recursively
chown -h khkim:web file01
'공부 > 리눅스 서버' 카테고리의 다른 글
[linux] 리눅스 윈도우 개행문자 삭제 (0) | 2022.05.27 |
---|---|
[liunx] Centos7 외장하드 NTFS포맷 및 마운트 하기 (0) | 2022.05.23 |
[linux] NFS wrong fs type, bad option, bad superblock.... (0) | 2022.03.10 |
[linux] 명령어 모음(작성중) (0) | 2022.03.03 |
[linux] 네트워크 설정 시 connect: 네트워크가 접근 불가능합니다? (0) | 2022.02.17 |
댓글