from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

90152

userrating:

average rating: 1.2 (52 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tutorials per portage category->app-shells->bash

A lot of programs (esspecially Bash) use the GNU Readline library for command
line input. Readline allows to define each key with a custom value. This
definition is stored in the file .inputrc in the users home directory.

If you want to assign an often used command, e.g. less /var/log/message to the
key F1, you'll need to add the following line to your .inputrc:

"\e[11~": "less /var/log/messages^M"

The last char in \e[11~ is a tilde char. All characters have to be entered
exactly as given, with only one exception: the ^M at the end. The ^M means
Enter and causes a direct execution of the command. Without the ^M, the
command would be simply copied into the command line and which would wait for
the input of enter or a different char.

The way you enter the ^M depends on the editor you use. In vi you have to
press ctrl-V and Enter.
It has to be one single char (ASCII-code 13).

The character sequence \e will be interpreted as an Escape char from Readline.
The given sequence works in X11. In the console the sequence differs, but both
definitions can be in the same .inputrc file.

The change in .inputrc applies with a fresh started Shell. You can refresh the
setting with the key sequence ctrl-X and ctrl-R in the running shell. F1
should work now.

How to use the trick with other keys? First you have to know the code that the
key generates.
You can get the code when you press ctrl-V and the desired key.
You will get an Escape-sequence (the first 2 chars are ^[ which is equal to
ctrl-[ and equal to Escape)
If you replace ^[ with \e, you got the sequence for .inputrc.

More details of the usage of readline can be found in the bash manpage (man
bash).

Translated from
http://www.pro-linux.de/news/2002/0040.html
rate this article:
current rating: average rating: 1.2 (50 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2026-11-13
2026-11-12
alertmanager - 0.35.0
Ebuild name:

app-metrics/alertmanager-0.35.0

Description

Alertmanager for alerts sent by client applications such as Prometh

Added to portage

2026-11-12

ant-ivy - 2.6.0
Ebuild name:

dev-java/ant-ivy-2.6.0

Description

Ivy is a free java based dependency manager

Added to portage

2026-11-12

apache - 2.4.71
Ebuild name:

www-servers/apache-2.4.71

Description

The Apache Web Server

Added to portage

2026-11-12

apache-tools - 2.4.71
Ebuild name:

app-admin/apache-tools-2.4.71

Description

Useful Apache tools - htdigest, htpasswd, ab, htdbm

Added to portage

2026-11-12

aws-c-auth - 1.0.4
Ebuild name:

dev-libs/aws-c-auth-1.0.4

Description

AWS C Auth C99 library implementation of AWS client-side authentication

Added to portage

2026-11-12

backrefs - 8.2.1
Ebuild name:

dev-python/backrefs-8.2.1

Description

Wrapper around re or regex that adds additional back references

Added to portage

2026-11-12

beniget - 0.5.1
Ebuild name:

dev-python/beniget-0.5.1

Description

Extract semantic information about static Python code

Added to portage

2026-11-12

bstr - 0.1.3
Ebuild name:

dev-ml/bstr-0.1.3

Description

A simple library for bigstrings

Added to portage

2026-11-12

c-blosc2 - 3.6.1
Ebuild name:

dev-libs/c-blosc2-3.6.1

Description

Blocking, shuffling and lossless compression library

Added to portage

2026-11-12

checkseum - 0.5.4
Ebuild name:

dev-ml/checkseum-0.5.4

Description

Adler-32, CRC32 and CRC32-C implementation

Added to portage

2026-11-12

chrome-binary-plugins - 157.0.8103.50
Ebuild name:

www-plugins/chrome-binary-plugins-157.0.8103.50

Description

Binary plugins from Google Chrome for use in Chromi

Added to portage

2026-11-12

chrome-binary-plugins - 159.0.8144.0_alpha
Ebuild name:

www-plugins/chrome-binary-plugins-159.0.8144.0_alpha

Description

Binary plugins from Google Chrome for use in C

Added to portage

2026-11-12

chromedriver-bin - 157.0.8103.50
Ebuild name:

www-apps/chromedriver-bin-157.0.8103.50

Description

WebDriver for Chrome

Added to portage

2026-11-12

cmd2 - 4.4.2
Ebuild name:

dev-python/cmd2-4.4.2

Description

Extra features for standard library's cmd module

Added to portage

2026-11-12

commons-codec - 1.23.0
Ebuild name:

dev-java/commons-codec-1.23.0

Description

Implementations of common encoders and decoders in Java

Added to portage

2026-11-12

commons-lang - 3.22.0
Ebuild name:

dev-java/commons-lang-3.22.0

Description

Commons components to manipulate core java classes

Added to portage

2026-11-12

cucumber-expressions - 20.2.0
Ebuild name:

dev-python/cucumber-expressions-20.2.0

Description

Human friendly alternative to Regular Expressions

Added to portage

2026-11-12

decompress - 1.6.1
Ebuild name:

dev-ml/decompress-1.6.1

Description

Pure OCaml implementation of Zlib

Added to portage

2026-11-12

elastic-transport - 9.4.3
Ebuild name:

dev-python/elastic-transport-9.4.3

Description

Transport classes and utilities shared among Python Elastic clie

Added to portage

2026-11-12

fastapi - 0.162.5
Ebuild name:

dev-python/fastapi-0.162.5

Description

High performance framework, easy to learn, fast to code, ready for produ

Added to portage

2026-11-12

ffmpeg-chromium - 157.0.8103.39
Ebuild name:

media-video/ffmpeg-chromium-157.0.8103.39

Description

FFmpeg built specifically for codec support in Chromium-b

Added to portage

2026-11-12

ffmpeg-chromium - 158.0.8105.1
Ebuild name:

media-video/ffmpeg-chromium-158.0.8105.1

Description

FFmpeg built specifically for codec support in Chromium-ba

Added to portage

2026-11-12

flexmock - 0.14.0
Ebuild name:

dev-python/flexmock-0.14.0

Description

Testing library to create mocks, stubs and fakes

Added to portage

2026-11-12

git-bug - 0.12.0
Ebuild name:

dev-util/git-bug-0.12.0

Description

Distributed, offline-first bug tracker embedded in git

Added to portage

2026-11-12

go - 1.26.11
Ebuild name:

dev-lang/go-1.26.11

Description

A concurrent garbage collected and typesafe programming language

Added to portage

2026-11-12

go - 1.27.4
Ebuild name:

dev-lang/go-1.27.4

Description

A concurrent garbage collected and typesafe programming language

Added to portage

2026-11-12

google-chrome - 157.0.8103.50
Ebuild name:

www-client/google-chrome-157.0.8103.50

Description

The web browser from Google

Added to portage

2026-11-12

google-chrome-unstable - 159.0.8144.0
Ebuild name:

www-client/google-chrome-unstable-159.0.8144.0

Description

The web browser from Google

Added to portage

2026-11-12

gpyutils - 0.16.1
Ebuild name:

app-portage/gpyutils-0.16.1

Description

Utitilies for maintaining Python packages

Added to portage

2026-11-12

gunicorn - 27.0.0
Ebuild name:

www-servers/gunicorn-27.0.0

Description

A WSGI HTTP Server for UNIX

Added to portage

2026-11-12

hexter - 1.1.1-r1
Ebuild name:

media-plugins/hexter-1.1.1-r1

Description

Yamaha DX7 modeling DSSI plugin

Added to portage

2026-11-12

icinga-php-library - 1.2.1
Ebuild name:

dev-libs/icinga-php-library-1.2.1

Description

Icinga PHP libraries for Icinga Web 2

Added to portage

2026-11-12

icinga-php-thirdparty - 1.1.0
Ebuild name:

dev-libs/icinga-php-thirdparty-1.1.0

Description

Icinga PHP libraries for Icinga Web 2

Added to portage

2026-11-12

icingadb - 1.6.0
Ebuild name:

net-misc/icingadb-1.6.0

Description

Icinga configuration and state database supporting multiple environments

Added to portage

2026-11-12

icingadb-web - 1.5.0
Ebuild name:

www-apps/icingadb-web-1.5.0

Description

UI for Icinga DB

Added to portage

2026-11-12

icingaweb2 - 2.14.1
Ebuild name:

www-apps/icingaweb2-2.14.1

Description

Icinga Web 2 - Frontend for icinga2

Added to portage

2026-11-12

icingaweb2-module-graphite - 1.3.1
Ebuild name:

www-apps/icingaweb2-module-graphite-1.3.1

Description

Icinga Web 2 plugin for Graphite

Added to portage

2026-11-12

julia-repl - 1.5.2
Ebuild name:

app-emacs/julia-repl-1.5.2

Description

Run an inferior Julia REPL in a terminal inside Emacs

Added to portage

2026-11-12

jupyter-builder - 1.3.0
Ebuild name:

dev-python/jupyter-builder-1.3.0

Description

JupyterLab build tools

Added to portage

2026-11-12

kaolin-themes - 1.7.6
Ebuild name:

app-emacs/kaolin-themes-1.7.6

Description

Set of eye pleasing themes for GNU Emacs

Added to portage

2026-11-12

kaolin-themes - 1.7.7
Ebuild name:

app-emacs/kaolin-themes-1.7.7

Description

Set of eye pleasing themes for GNU Emacs

Added to portage

2026-11-12

key-chord - 0.8.2
Ebuild name:

app-emacs/key-chord-0.8.2

Description

Map pairs of simultaneously pressed keys to commands

Added to portage

2026-11-12

keymap-popup - 0.3.0
Ebuild name:

app-emacs/keymap-popup-0.3.0

Description

Described keymaps with popup help

Added to portage

2026-11-12

libansilove - 1.4.5
Ebuild name:

dev-libs/libansilove-1.4.5

Description

library to convert ANSi and artscene related file formats into PNG image

Added to portage

2026-11-12

libjxl - 0.13.0
Ebuild name:

media-libs/libjxl-0.13.0

Description

JPEG XL image format reference implementation

Added to portage

2026-11-12

libspf2 - 1.2.11-r2
Ebuild name:

mail-filter/libspf2-1.2.11-r2

Description

implementation of Sender Policy Framework (SPF)

Added to portage

2026-11-12

libtorrent - 0.16.28
Ebuild name:

net-libs/libtorrent-0.16.28

Description

BitTorrent library written in C++ for *nix

Added to portage

2026-11-12

loguru - 0.8.0
Ebuild name:

dev-python/loguru-0.8.0

Description

Python logging made (stupidly) simple

Added to portage

2026-11-12

memcached_exporter - 0.18.0
Ebuild name:

app-metrics/memcached_exporter-0.18.0

Description

Prometheus exporter for memcached

Added to portage

2026-11-12

microsoft-edge - 157.0.4341.46
Ebuild name:

www-client/microsoft-edge-157.0.4341.46

Description

The web browser from Microsoft

Added to portage

2026-11-12

microsoft-edge-beta - 158.0.4370.12
Ebuild name:

www-client/microsoft-edge-beta-158.0.4370.12

Description

The web browser from Microsoft

Added to portage

2026-11-12

microsoft-edge-beta - 158.0.4370.16
Ebuild name:

www-client/microsoft-edge-beta-158.0.4370.16

Description

The web browser from Microsoft

Added to portage

2026-11-12

microsoft-edge-beta - 158.0.4370.7
Ebuild name:

www-client/microsoft-edge-beta-158.0.4370.7

Description

The web browser from Microsoft

Added to portage

2026-11-12

microsoft-edge-dev - 159.0.4393.0
Ebuild name:

www-client/microsoft-edge-dev-159.0.4393.0

Description

The web browser from Microsoft

Added to portage

2026-11-12

mockito - 2.28.2-r2
Ebuild name:

dev-java/mockito-2.28.2-r2

Description

Mockito mock objects library core API and implementation

Added to portage

2026-11-12

mockito - 4.11.0-r1
Ebuild name:

dev-java/mockito-4.11.0-r1

Description

Mockito mock objects library core API and implementation

Added to portage

2026-11-12

mongodb_exporter - 0.54.0
Ebuild name:

app-metrics/mongodb_exporter-0.54.0

Description

Prometheus exporter for MongoDB

Added to portage

2026-11-12

mysqld_exporter - 0.20.0
Ebuild name:

app-metrics/mysqld_exporter-0.20.0

Description

Prometheus exporter for MySQL server metrics

Added to portage

2026-11-12

nim - 2.4.0-r2
Ebuild name:

dev-lang/nim-2.4.0-r2

Description

Compiled, garbage-collected systems programming language

Added to portage

2026-11-12

nodejs - 22.23.5
Ebuild name:

net-libs/nodejs-22.23.5

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2026-11-12

nodejs - 22.23.5-r1
Ebuild name:

net-libs/nodejs-22.23.5-r1

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2026-11-12

nodejs - 24.22.3
Ebuild name:

net-libs/nodejs-24.22.3

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2026-11-12

nodejs - 24.22.3-r1
Ebuild name:

net-libs/nodejs-24.22.3-r1

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2026-11-12

nodejs - 26.13.1
Ebuild name:

net-libs/nodejs-26.13.1

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2026-11-12

nodejs - 26.13.1-r1
Ebuild name:

net-libs/nodejs-26.13.1-r1

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2026-11-12

ocaml-tar - 3.5.0
Ebuild name:

dev-ml/ocaml-tar-3.5.0

Description

Decode and encode tar format files in pure OCaml

Added to portage

2026-11-12

opam - 2.6.1
Ebuild name:

dev-ml/opam-2.6.1

Description

A source-based package manager for OCaml

Added to portage

2026-11-12

opam-common - 2.6.1
Ebuild name:

dev-ml/opam-common-2.6.1

Description

Core libraries for opam

Added to portage

2026-11-12

opam-installer - 2.6.1
Ebuild name:

dev-ml/opam-installer-2.6.1

Description

Core installer for opam packages

Added to portage

2026-11-12

openjdk-bin - 8.512_p09
Ebuild name:

dev-java/openjdk-bin-8.512_p09

Description

Prebuilt Java JDK binaries provided by Eclipse Temurin

Added to portage

2026-11-12

opera - 140.0.6074.17
Ebuild name:

www-client/opera-140.0.6074.17

Description

A fast and secure web browser

Added to portage

2026-11-12

opera-developer - 141.0.6079.0
Ebuild name:

www-client/opera-developer-141.0.6079.0

Description

A fast and secure web browser

Added to portage

2026-11-12

opera-gx - 139.0.6053.42
Ebuild name:

www-client/opera-gx-139.0.6053.42

Description

Opera, but for 'gamers'

Added to portage

2026-11-12

optint - 0.3.0
Ebuild name:

dev-ml/optint-0.3.0

Description

Efficient integer types on 64-bit architectures

Added to portage

2026-11-12

oslo-config - 10.8.1
Ebuild name:

dev-python/oslo-config-10.8.1

Description

Oslo Configuration API

Added to portage

2026-11-12

oslo-utils - 10.3.0
Ebuild name:

dev-python/oslo-utils-10.3.0

Description

Oslo Utility library

Added to portage

2026-11-12

outline-indent - 1.2.4
Ebuild name:

app-emacs/outline-indent-1.2.4

Description

GNU Emacs package for folding text based on indentation

Added to portage

2026-11-12

pandoc-bin - 3.14
Ebuild name:

app-text/pandoc-bin-3.14

Description

Conversion between markup formats (binary package)

Added to portage

2026-11-12

pymdown-extensions - 13.1
Ebuild name:

dev-python/pymdown-extensions-13.1

Description

Extensions for Python Markdown

Added to portage

2026-11-12

pysimdjson - 8.0.0
Ebuild name:

dev-python/pysimdjson-8.0.0

Description

Python bindings for simdjson

Added to portage

2026-11-12

qbittorrent - 5.3.0
Ebuild name:

net-p2p/qbittorrent-5.3.0

Description

BitTorrent client in C++ and Qt

Added to portage

2026-11-12

redis - 8.10.3
Ebuild name:

dev-db/redis-8.10.3

Description

A persistent caching system, key-value, and data structures database

Added to portage

2026-11-12

redis - 8.2.11
Ebuild name:

dev-db/redis-8.2.11

Description

A persistent caching system, key-value, and data structures database

Added to portage

2026-11-12

redis - 8.4.8
Ebuild name:

dev-db/redis-8.4.8

Description

A persistent caching system, key-value, and data structures database

Added to portage

2026-11-12

redis - 8.6.8
Ebuild name:

dev-db/redis-8.6.8

Description

A persistent caching system, key-value, and data structures database

Added to portage

2026-11-12

redis - 8.8.4
Ebuild name:

dev-db/redis-8.8.4

Description

A persistent caching system, key-value, and data structures database

Added to portage

2026-11-12

redis_exporter - 1.97.0
Ebuild name:

app-metrics/redis_exporter-1.97.0

Description

Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x an

Added to portage

2026-11-12

rtorrent - 0.16.28
Ebuild name:

net-p2p/rtorrent-0.16.28

Description

BitTorrent Client using libtorrent

Added to portage

2026-11-12

send2trash - 2.2.0
Ebuild name:

dev-python/send2trash-2.2.0

Description

Sends files to the Trash (or Recycle Bin)

Added to portage

2026-11-12

snmp_exporter - 0.31.0
Ebuild name:

app-metrics/snmp_exporter-0.31.0

Description

Prometheus exporter for snmp metrics

Added to portage

2026-11-12

stripe - 17.0.0
Ebuild name:

dev-python/stripe-17.0.0

Description

Stripe Python bindings

Added to portage

2026-11-12

tatt - 0.12
Ebuild name:

app-portage/tatt-0.12

Description

Arch testing tool

Added to portage

2026-11-12

terminaltables3 - 4.1.0
Ebuild name:

dev-python/terminaltables3-4.1.0

Description

Generate simple tables in terminals from a nested list of strings

Added to portage

2026-11-12

textile - 4.0.5
Ebuild name:

dev-python/textile-4.0.5

Description

A Python port of Textile, A humane web text generator

Added to portage

2026-11-12

thunderbird - 153.7.0
Ebuild name:

mail-client/thunderbird-153.7.0

Description

Thunderbird Mail Client

Added to portage

2026-11-12

thunderbird - 160.0
Ebuild name:

mail-client/thunderbird-160.0

Description

Thunderbird Mail Client

Added to portage

2026-11-12

thunderbird-bin - 153.7.0
Ebuild name:

mail-client/thunderbird-bin-153.7.0

Description

Thunderbird Mail Client

Added to portage

2026-11-12

thunderbird-bin - 160.0
Ebuild name:

mail-client/thunderbird-bin-160.0

Description

Thunderbird Mail Client

Added to portage

2026-11-12

thunderbird-l10n - 153.7.0
Ebuild name:

mail-client/thunderbird-l10n-153.7.0

Description

Thunderbird mail client's translation files

Added to portage

2026-11-12

thunderbird-l10n - 160.0
Ebuild name:

mail-client/thunderbird-l10n-160.0

Description

Thunderbird mail client's translation files

Added to portage

2026-11-12

typer - 0.29.1
Ebuild name:

dev-python/typer-0.29.1

Description

Build great CLIs. Easy to code. Based on Python type hints

Added to portage

2026-11-12

types-psutil - 7.2.2.20261111
Ebuild name:

dev-python/types-psutil-7.2.2.20261111

Description

Typing stubs for psutil

Added to portage

2026-11-12

unison-ts-mode - 0.3.2
Ebuild name:

app-emacs/unison-ts-mode-0.3.2

Description

GNU Emacs major mode for the Unison language that uses Tree-sitter

Added to portage

2026-11-12

urwid - 5.1.2
Ebuild name:

dev-python/urwid-5.1.2

Description

Curses-based user interface library for Python

Added to portage

2026-11-12

vivaldi - 8.3.4191.30
Ebuild name:

www-client/vivaldi-8.3.4191.30

Description

A browser for our friends

Added to portage

2026-11-12

vivaldi - 8.3.4191.35
Ebuild name:

www-client/vivaldi-8.3.4191.35

Description

A browser for our friends

Added to portage

2026-11-12

vivaldi-snapshot - 8.4.4226.3
Ebuild name:

www-client/vivaldi-snapshot-8.4.4226.3

Description

A browser for our friends

Added to portage

2026-11-12

xfsprogs - 7.2.1-r1
Ebuild name:

sys-fs/xfsprogs-7.2.1-r1

Description

XFS filesystem utilities

Added to portage

2026-11-12

xvfbwrapper - 0.2.38
Ebuild name:

dev-python/xvfbwrapper-0.2.38

Description

Python wrapper for running a display inside X virtual framebuffer

Added to portage

2026-11-12

rdf newsfeed | rss newsfeed | Atom newsfeed
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
- Copyright and legal notices -
Time to create this page: 758.2 ms