Version: 1.3.4, 2023-10-04
Provides information about Unix and Linux commands from German Wikipedia articles in the bash shell. This script reads and parses Wikipedia pages and tries to display the beginning of the articles concerning those commands in text mode right in the terminal.
The script requires the following dependencies to be installed:
Program Name | Task / Program Catgegory | Installed by default |
---|---|---|
wikipedia2text | Converts Wikipedia articles to text | no |
links2 | Shows Webpages in the Terminal | no |
lynx | Shows Webpages in the Terminal | no |
elinks | Shows Webpages in the Terminal | no |
sed | Deletes or replaces text | yes |
less | Pager for viewing text files | yes |
wget | Downloads files from Servers | yes |
grep | Filters lines based on patterns | yes |
Only one of the web browsers 'links2', 'lynx' or 'elinks' needs to be installed.
To install this program, copy the file wplinux
to a directory of your choice and make the script file executable with the following command:
chmod +x wplinux
If you want to be able to invoke the script from any directory, it needs to be stored in a directory that is part of the search path. You can display the search path using the command echo "$PATH"
and extend it if necessary or desired by editing the file ~/.bashrc
or the file /etc/bash.bashrc
. The file ~/.bashrc
defines the search path for a user; /etc/bash.bashrc
defines it system-wide for all users.
Open a terminal and execute one of the following commands.
wplinux
./wplinux
Bernd Storck: I am a certified webmaster/web developer and Linux aficionado from Berlin. I had my first programming experiences around 1984 with an ATARI 800XL. Since this time I've tried or learned a bunch of programming languages. Especially I'm certified as JavaScript developer, PHP Programmer and WebDeveloper. I have extensive experience in Bash Programming.
Contact: Facebook: Linux-Infos von Bernd Storck, www.facebook.com/BStLinux
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.
You will find the GNU General Public License at http://www.gnu.org/licenses/.