1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-20 06:27:45 +02:00

Compare commits

..

No commits in common. "223c3e6421c0848cc3c0ea6aed9372768a8b98a3" and "b97f40469b865e65ddb22d5e381d5dff3dfe0d6e" have entirely different histories.

2 changed files with 1 additions and 26 deletions

View File

@ -72,8 +72,7 @@ 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](/wiki/linux/shell.md#symbolic-links-using-ln) to link them back to the original symbolic links to link them back to the original place.
place.
## Error Handling ## Error Handling

View File

@ -24,17 +24,6 @@ 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.
```sh
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.
@ -189,16 +178,3 @@ Error outputs (stderr) can be silenced by appending `2> /dev/null`.
The complete output of both stderr and stdout can be silenced by appending The complete output of both stderr and stdout can be silenced by appending
`> /dev/null 2>&1` to the command. `> /dev/null 2>&1` to the command.
A shortened version of it not possible on all shells is `&> /dev/null`. A shortened version of it not possible on all shells is `&> /dev/null`.
## Error solving
This section addresses various problems that can occur and are related to the shell.
### Pressing Enter Produces `^M`
This error can easily be fixed by running the following command.
It is related to a terminal line setting problem.
```sh
stty sane
```