Add Linux command to get full file path
This commit is contained in:
parent
340d708b5b
commit
9a0af9b84a
|
@ -127,6 +127,9 @@ less file.txt
|
|||
|
||||
# List all files in a directory, with full paths, into a text file.
|
||||
find wwwroot -type f > files.txt
|
||||
|
||||
# Get full path to a file.
|
||||
readlink -f relative/path/to/file
|
||||
```
|
||||
|
||||
### Hidden content
|
||||
|
@ -232,7 +235,7 @@ chmod o-rwx file-or-directory
|
|||
# Users, groups, and others have read, write, and execute.
|
||||
chmod ugo+rwx file-or-directory
|
||||
|
||||
# Only read to all.
|
||||
# Grant all users read-only access to a file or directory.
|
||||
chmod a=r file-or-directory
|
||||
|
||||
# View permissions.
|
||||
|
|
Loading…
Reference in New Issue