From 223c3e6421c0848cc3c0ea6aed9372768a8b98a3 Mon Sep 17 00:00:00 2001 From: tiyn Date: Mon, 11 Sep 2023 23:13:46 +0200 Subject: [PATCH] shell: added enter error --- wiki/linux/shell.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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 +```