diff --git a/wiki/linux/shell.md b/wiki/linux/shell.md index ed4f734..c4aa751 100644 --- a/wiki/linux/shell.md +++ b/wiki/linux/shell.md @@ -31,7 +31,9 @@ The most simple way to create a link between two folders or files is running the command. Replace `` and `` as needed. -`ln -s ` +```sh +ln -s +``` ### `ls` and its Alternatives @@ -187,3 +189,16 @@ Error outputs (stderr) can be silenced by appending `2> /dev/null`. The complete output of both stderr and stdout can be silenced by appending `> /dev/null 2>&1` to the command. 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 +```