mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-04 07:47:45 +02:00
shell: added ln
This commit is contained in:
parent
b97f40469b
commit
b55703460d
@ -72,7 +72,8 @@ used the
|
|||||||
[user space configuration](../syncthing.md#user-space-configuration-for-linux)
|
[user space configuration](../syncthing.md#user-space-configuration-for-linux)
|
||||||
is recommended.
|
is recommended.
|
||||||
Afterwards move the game saves to the directory set up by Syncthing and create
|
Afterwards move the game saves to the directory set up by Syncthing and create
|
||||||
symbolic links to link them back to the original place.
|
[symbolic links](/wiki/linux/shell.md#symbolic-links-using-ln) to link them back to the original
|
||||||
|
place.
|
||||||
|
|
||||||
## Error Handling
|
## Error Handling
|
||||||
|
|
||||||
|
@ -24,6 +24,15 @@ The following is a list of Unix shells that are POSIX compliant.
|
|||||||
This section addresses various different functions by and actions that can be
|
This section addresses various different functions by and actions that can be
|
||||||
taken with shell commands.
|
taken with shell commands.
|
||||||
|
|
||||||
|
### Symbolic Links using `ln`
|
||||||
|
|
||||||
|
`ln` is a command to create links between files and folders.
|
||||||
|
The most simple way to create a link between two folders or files is running the following
|
||||||
|
command.
|
||||||
|
Replace `<source folder/file>` and `<target folder/file>` as needed.
|
||||||
|
|
||||||
|
`ln -s <source folder/file> <target folder/file>`
|
||||||
|
|
||||||
### `ls` and its Alternatives
|
### `ls` and its Alternatives
|
||||||
|
|
||||||
`ls` is a command to list files and directories.
|
`ls` is a command to list files and directories.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user