Skip to content

Ein Bash-Script, das Informationen über Linux- und UNIX-Kommandos aus dem deutschen Wikipedia im Terminal anzeigt. / Bash script, which displays short information about linux / UNIX commands from German Wikipedia right in the terminal.

Notifications You must be signed in to change notification settings

BerndStorck/wplinux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wplinux

Version: 1.3.4, 2023-10-04

Project Description:

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.

Requirements

The script requires the following dependencies to be installed:

External Programs Used

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.

Installation

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.

Usage

Open a terminal and execute one of the following commands.

If the script is in the search path:

wplinux

If the script is in the current directory but not in the search path:

./wplinux

Author

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

 


License

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:https://www.gnu.org/licenses/.

About

Ein Bash-Script, das Informationen über Linux- und UNIX-Kommandos aus dem deutschen Wikipedia im Terminal anzeigt. / Bash script, which displays short information about linux / UNIX commands from German Wikipedia right in the terminal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages