0

There are times when I would like to respond to an already existing post, here specifically, because I want to figure out the source that these people are using for the answers. The answers in that post are great, but I would like to know if there is some sort of manual page that I can access on a local Linux OS in order to be able to see these shortcuts (etc.) so that when I am in the middle of nowhere on a horse-carriage (without internet), I am able to continue my development(growth) within the cyber world.

For example, if I want to know about the ls command, I type in:

$ man ls

and the shell pulls up a manual page in regards to the ls command.

Simply put, is there a GNU manual inside Ubuntu, OpenSUSE, CentOS, or any Linux OS? If there is, how do I search for this page explaining the Command Line Shortcuts?

P.S. I tried navigating through Google and Stack Overflow to figure out these shortcuts - I got the answer here on Stack Overflow, but I want to know the sources (and if they exist on our local Linux systems) of the answers.

3
  • Welcome SU @Reflected8481
    – gildux
    Commented Jan 20, 2023 at 1:31
  • Except very basic shells that rely on the line discipline, a shell itself is responsible for handling command line editing and keyboard shortcuts you're asking about. You tagged gnu, mentioned GNU. The GNU shell is Bash. There is already an answer about Bash and Readline it uses. Other shells may or may not use Readline. It's not clear if you were aware of these dependencies. Did you advertently mention GNU to limit the scope basically to Bash? Commented Jan 20, 2023 at 6:56
  • Forgive me, for I have sinned. I am a noob learning Linux, but I do have some basic understanding. For that matter, yes I am only limited to working with the Bourne Again SHell as of right now - I did not know that the editing of the commands depends on the shell that I am using. I just want to become adept navigating CLI quickly and efficiently when I am typing(learning) these commands. I want to know if it's possible to lookup a manual explaining shortcuts inside of a Linux distro so that when I am on a boat in Antarctica, I can continue learning - some of these shortcuts translate inWindows Commented Jan 21, 2023 at 7:44

1 Answer 1

1

The source for many GNU/Linux distros is ReadLine but you may find other alternatives elsewhere. Unfortunately, as it's a library for other programs, it doesn't always come with a manpage for end-users (or very terse), but often a devs manual. However, as it's the only one used by Bash, you may find a section about it when doing man bash (then hit /^READLINE or better, I think it's the part you might be interested in, /Commands for Moving exactly.) If you want to learn the defaults, learn online like on catonmat because official materials focus on customisation. You may also try info bash: it's the same content as online.

2
  • Thank you so much! I'll look all of this over, forgive me for I have sinned - I am a noob. I have found the Bash reference manual online, thanks to you all. I will use that, and I will check out all of the information you all have shared with me. Thank you very much. Sincerely, Commented Jan 21, 2023 at 7:51
  • You welcome. We all have been a noob, it's essential to keep learning.
    – gildux
    Commented Jan 21, 2023 at 13:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .