Welcome to the forum! ![:vulcan_salute: :vulcan_salute:](https://forum.manjaro.org/images/emoji/twitter/vulcan_salute.png?v=12)
Please bear in mind that there is no such thing as “konsole
commands”. konsole
is a (pseudo-)terminal, and the command prompt you see inside the konsole
window is put there by the shell. This shell is your command and script interpreter, just like COMMAND.COM
or CMD.EXE
in Microsoft Windows.
GNU/Linux is a UNIX-family operating system, and UNIX systems have multiple shells. Most of them share a subset of their commands and syntax, but they may differ in many respects.
The default shell within the GUI environment of each of the official Manjaro editions — i.e. Plasma, GNOME and Xfce — is zsh
. However, at the system level, Manjaro still uses the tried and trusted GNU bash
, which is a POSIX shell.
POSIX is itself a superset of the Single UNIX Specification, which is a set of standards in operation and system design for UNIX. However, UNIX® is also a registered trademark, while POSIX is just an internationally agreed-upon standard, and is a bit broader.
As I wrote above, bash
is a fully POSIX-compatible shell, while zsh
is not. But zsh
is compatible with the original Bourne Shell (sh
), upon which bash
is based.
You can find online tutorials about zsh
, but I would personally advise you to familiarize yourself with bash
first, and to take it from there. After all, if you ever have to access your system from a character-mode tty
instead of via a terminal window in your graphical environment — and there are many reasons as to why you may need to do this — then the shell you will be using is bash
, not zsh
.
On the other hand, it also deserves mention that an on-disk executable file can be started from within every shell, because just as with Microsoft Windows, there are commands that are internal to the shell, and external commands, which are simply executable files on your drive. The Windows shells actually go back to MS-DOS and OS/2, and MS-DOS was based off of CP/M, which in turn took some of its inspiration from UNIX. UNIX has been around since 1969 and was initially used only on mainframes and minicomputers — unlike what their name suggests, these were machines that filled up an entire wall — albeit that UNIX has evolved immensely over the years.
Either way, here’s some light reading for you… ![:stuck_out_tongue: :stuck_out_tongue:](https://forum.manjaro.org/images/emoji/twitter/stuck_out_tongue.png?v=12)
Also note that there is a special command called man
, which will invoke the manual page for every command. The syntax is as follows… ![:point_down: :point_down:](https://forum.manjaro.org/images/emoji/twitter/point_down.png?v=12)
man name-of-command
If an external command — i.e. an executable file on your drive — does not have a man
page, then you can commonly still get information about its usage via a help function within the command itself, which you can typically invoke with… ![:point_down: :point_down:](https://forum.manjaro.org/images/emoji/twitter/point_down.png?v=12)
name-of-command --help
… or… ![:point_down: :point_down:](https://forum.manjaro.org/images/emoji/twitter/point_down.png?v=12)
name-of-command -h
man
itself also has its own man
page, which will teach you how to use it… ![:point_down: :point_down:](https://forum.manjaro.org/images/emoji/twitter/point_down.png?v=12)
man man
This is not so different from Windows, compadre, and in fact Windows — or more correctly, MS-DOS — took some of its ideas from UNIX. UNIX shells also have their own built-in commands, and some of those are common to most shells — e.g. ls
, echo
, et al — while other commands and variables differ between shells. ![:wink: :wink:](https://forum.manjaro.org/images/emoji/twitter/wink.png?v=12)