mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 04:53:15 +00:00
Update cheatsheets
This commit is contained in:
17
readlink
Normal file
17
readlink
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# readlink
|
||||
|
||||
> Follow symlinks and get symlink information.
|
||||
> More information: <https://www.gnu.org/software/coreutils/readlink>.
|
||||
|
||||
- Get the actual file to which the symlink points:
|
||||
|
||||
`readlink {{path/to/file}}`
|
||||
|
||||
- Get the absolute path to a file:
|
||||
|
||||
`readlink -f {{path/to/file}}`
|
||||
Reference in New Issue
Block a user