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:

88783

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

(from gentoo-wiki.com)
The alias command allows you to make new shortcuts and synonyms for commonly used comands. The basic usage is:
  alias newcommand='yourcommand -arguments'


If you want to start aterm according to your preferences with the command term, do something like:
  alias term='aterm -ls -fg gray -bg black'


If you want a quick alias like ll for a more informative file listing:
  ls -al --color=yes


Starting alias without any options lists the current aliases:
  alias


  alias ls='ll'

alias ls -al --color=yes
alias term='aterm -ls -fg gray -bg black'

Use unalias to remove an alias.
  unalias term


You can also make aliases for existing commands. If you want ls to show colors by default, do:
  alias ls='ls --color=yes'


These aliases can be put in your login script (.bash_profile or .profile depending on what shell you are using).

Alias with variables


You can not make aliases with variables. But you can make functions, having a function in your .profile/.bashrc will work just like an
alias. To use ssh to copy files to a location on a server you can use
  sendpic () { scp "$@" mina@foo.bar.ca:/www/misc/Pictures/; }


Another way for aliases with variables


If you dont like to use a function, if you need variables, try the following to change to the last working directory:
  alias cdo="cd \"\$OLDPWD\""


Note: it is important, that there are ONLY double quotes in the expression above, no single quotes like in the other examples!

Creating aliases on shell startup


You can have your aliases created anytime you open an instance of a
shell. If you are using bash, edit your ~/.bashrc file and add one
alias per line. Once you save and close the file, run this to load your
new aliases immediately:
  source ~/.bashrc


Otherwise, the new aliases will load whenever you open a new instance of the shell.
Another place to put your aliases if you want them to be
system-wide for all users is in /etc/bashrc. To load those aliases, add
this line to ~/.bashrc
  source /etc/bashrc



rate this article:
current rating: average rating: 1.3 (69 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-09-30
cifs-utils - 7.8
Ebuild name:

net-fs/cifs-utils-7.8

Description

Tools for Managing Linux CIFS Client Filesystems

Added to portage

2026-09-30

cpu-x - 5.4.1
Ebuild name:

sys-apps/cpu-x-5.4.1

Description

A Free software that gathers information on CPU, motherboard and more

Added to portage

2026-09-30

duplicity - 3.2.1
Ebuild name:

app-backup/duplicity-3.2.1

Description

Secure backup system using GnuPG to encrypt data

Added to portage

2026-09-30

grep-ast - 20250508
Ebuild name:

dev-python/grep-ast-20250508

Description

Grep source code and see useful code context about matching lines

Added to portage

2026-09-30

groff - 1.24.2
Ebuild name:

sys-apps/groff-1.24.2

Description

Text formatter used for man pages

Added to portage

2026-09-30

haskell-mode - 17.4
Ebuild name:

app-emacs/haskell-mode-17.4

Description

Mode for editing (and running) Haskell programs in Emacs

Added to portage

2026-09-30

iperf - 3.22
Ebuild name:

net-misc/iperf-3.22

Description

TCP, UDP, and SCTP network bandwidth measurement tool

Added to portage

2026-09-30

kmscon - 10.0.4
Ebuild name:

sys-apps/kmscon-10.0.4

Description

KMS/DRM based virtual Console Emulator

Added to portage

2026-09-30

kvantum - 1.1.8-r1
Ebuild name:

x11-themes/kvantum-1.1.8-r1

Description

SVG-based theme engine for Qt, KDE Plasma and LXQt

Added to portage

2026-09-30

libtsm - 4.8.0
Ebuild name:

dev-libs/libtsm-4.8.0

Description

Terminal Emulator State Machine

Added to portage

2026-09-30

man-pages - 6.17-r2
Ebuild name:

sys-apps/man-pages-6.17-r2

Description

A somewhat comprehensive collection of Linux man pages

Added to portage

2026-09-30

man-pages-l10n - 4.32.2
Ebuild name:

app-i18n/man-pages-l10n-4.32.2

Description

A somewhat comprehensive collection of man page translations

Added to portage

2026-09-30

mirrorselect - 2.8.0
Ebuild name:

app-portage/mirrorselect-2.8.0

Description

Tool to help select distfiles mirrors for Gentoo

Added to portage

2026-09-30

netdata - 2.11.1
Ebuild name:

net-analyzer/netdata-2.11.1

Description

Linux real time system monitoring, done right

Added to portage

2026-09-30

ntfs3g - 2026.9.28
Ebuild name:

sys-fs/ntfs3g-2026.9.28

Description

Open source read-write NTFS driver that runs under FUSE

Added to portage

2026-09-30

openpgp-keys-groff - 20260929
Ebuild name:

sec-keys/openpgp-keys-groff-20260929

Description

OpenPGP keys used by GNU roff

Added to portage

2026-09-30

openssl - 3.4.8
Ebuild name:

dev-libs/openssl-3.4.8

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-09-30

openssl - 3.5.9
Ebuild name:

dev-libs/openssl-3.5.9

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-09-30

openssl - 3.6.5
Ebuild name:

dev-libs/openssl-3.6.5

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-09-30

openssl - 4.0.3
Ebuild name:

dev-libs/openssl-4.0.3

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-09-30

qtkeychain - 0.17.0-r1
Ebuild name:

dev-libs/qtkeychain-0.17.0-r1

Description

Qt API for storing passwords securely

Added to portage

2026-09-30

qtkeychain - 0.17.0-r2
Ebuild name:

dev-libs/qtkeychain-0.17.0-r2

Description

Qt API for storing passwords securely

Added to portage

2026-09-30

qtpbfimageplugin - 5.2-r1
Ebuild name:

dev-qt/qtpbfimageplugin-5.2-r1

Description

Qt image plugin for displaying Mapbox vector tiles

Added to portage

2026-09-30

qwt - 6.3.0-r2
Ebuild name:

x11-libs/qwt-6.3.0-r2

Description

2D plotting library for Qt

Added to portage

2026-09-30

2026-09-29
aws-c-s3 - 1.3.0
Ebuild name:

dev-libs/aws-c-s3-1.3.0

Description

AWS C S3 async library

Added to portage

2026-09-29

awscli - 2.37.5
Ebuild name:

app-admin/awscli-2.37.5

Description

Universal Command Line Environment for AWS

Added to portage

2026-09-29

badkeys - 0.0.21
Ebuild name:

app-crypt/badkeys-0.0.21

Description

Check cryptographic keys for known weaknesses

Added to portage

2026-09-29

boto3 - 1.43.104
Ebuild name:

dev-python/boto3-1.43.104

Description

The AWS SDK for Python

Added to portage

2026-09-29

botocore - 1.43.104
Ebuild name:

dev-python/botocore-1.43.104

Description

Low-level, data-driven core of boto 3

Added to portage

2026-09-29

cfn-lint - 1.57.1
Ebuild name:

dev-python/cfn-lint-1.57.1

Description

CloudFormation Linter

Added to portage

2026-09-29

cftime - 1.6.6
Ebuild name:

dev-python/cftime-1.6.6

Description

Time-handling functionality from netcdf4-python

Added to portage

2026-09-29

clang - 24.0.0_pre20260929
Ebuild name:

dev-python/clang-24.0.0_pre20260929

Description

Python bindings for llvm-core/clang

Added to portage

2026-09-29

clang - 24.0.0_pre20260929
Ebuild name:

llvm-core/clang-24.0.0_pre20260929

Description

C language family frontend for LLVM

Added to portage

2026-09-29

clang-common - 24.0.0_pre20260929
Ebuild name:

llvm-core/clang-common-24.0.0_pre20260929

Description

Common files shared between multiple slots of clang

Added to portage

2026-09-29

codeblocks - 25.03-r3
Ebuild name:

dev-util/codeblocks-25.03-r3

Description

The open source, cross platform, free C, C++ and Fortran IDE

Added to portage

2026-09-29

compiler-rt - 24.0.0_pre20260929
Ebuild name:

llvm-runtimes/compiler-rt-24.0.0_pre20260929

Description

Compiler runtime library for clang (built-in part)

Added to portage

2026-09-29

compiler-rt-sanitizers - 24.0.0_pre20260929
Ebuild name:

llvm-runtimes/compiler-rt-sanitizers-24.0.0_pre20260929

Description

Compiler runtime libraries for clang (sanit

Added to portage

2026-09-29

configargparse - 1.8.0
Ebuild name:

dev-python/configargparse-1.8.0

Description

Drop-in replacement for argparse supporting config files and env va

Added to portage

2026-09-29

cysignals - 1.13.0
Ebuild name:

dev-python/cysignals-1.13.0

Description

Interrupt and signal handling for Cython

Added to portage

2026-09-29

dbus-python - 1.5.0
Ebuild name:

dev-python/dbus-python-1.5.0

Description

Python bindings for the D-Bus messagebus

Added to portage

2026-09-29

diffoscope - 332
Ebuild name:

dev-util/diffoscope-332

Description

Will try to get to the bottom of what makes files or directories different

Added to portage

2026-09-29

faker - 40.40.0
Ebuild name:

dev-python/faker-40.40.0

Description

A Python package that generates fake data for you

Added to portage

2026-09-29

filelock - 4.0.6
Ebuild name:

dev-python/filelock-4.0.6

Description

A platform independent file lock for Python

Added to portage

2026-09-29

firefox - 153.4.0
Ebuild name:

www-client/firefox-153.4.0

Description

Firefox Web Browser

Added to portage

2026-09-29

firefox - 157.0
Ebuild name:

www-client/firefox-157.0

Description

Firefox Web Browser

Added to portage

2026-09-29

firefox-l10n - 153.4.0
Ebuild name:

www-client/firefox-l10n-153.4.0

Description

Firefox Web Browser's translation files

Added to portage

2026-09-29

firefox-l10n - 157.0
Ebuild name:

www-client/firefox-l10n-157.0

Description

Firefox Web Browser's translation files

Added to portage

2026-09-29

flang - 24.0.0_pre20260929
Ebuild name:

llvm-core/flang-24.0.0_pre20260929

Description

LLVM's Fortran frontend

Added to portage

2026-09-29

flang-rt - 24.0.0_pre20260929
Ebuild name:

llvm-runtimes/flang-rt-24.0.0_pre20260929

Description

LLVM's Fortran runtime

Added to portage

2026-09-29

flatpak - 1.18.4
Ebuild name:

sys-apps/flatpak-1.18.4

Description

Linux application sandboxing and distribution framework

Added to portage

2026-09-29

fqdn - 1.6.0
Ebuild name:

dev-python/fqdn-1.6.0

Description

RFC-compliant FQDN validation and manipulation for Python

Added to portage

2026-09-29

freerdp - 3.32.1
Ebuild name:

net-misc/freerdp-3.32.1

Description

Free implementation of the Remote Desktop Protocol

Added to portage

2026-09-29

git - 2.56.0
Ebuild name:

dev-vcs/git-2.56.0

Description

Stupid content tracker distributed VCS designed for speed and efficiency

Added to portage

2026-09-29

glibc - 2.43-r5
Ebuild name:

sys-libs/glibc-2.43-r5

Description

GNU libc C library

Added to portage

2026-09-29

glibc - 2.44-r3
Ebuild name:

sys-libs/glibc-2.44-r3

Description

GNU libc C library

Added to portage

2026-09-29

glibmm - 2.66.8-r1
Ebuild name:

dev-cpp/glibmm-2.66.8-r1

Description

C++ interface for glib2

Added to portage

2026-09-29

gnupg - 2.5.24-r1
Ebuild name:

app-crypt/gnupg-2.5.24-r1

Description

The GNU Privacy Guard, a GPL OpenPGP implementation

Added to portage

2026-09-29

google-auth - 2.59.0
Ebuild name:

dev-python/google-auth-2.59.0

Description

Google Authentication Library

Added to portage

2026-09-29

gumbo - 0.14.1
Ebuild name:

dev-libs/gumbo-0.14.1

Description

The HTML5 parsing algorithm implemented as a pure C99 library

Added to portage

2026-09-29

haskell-mode - 17.5_p20260206
Ebuild name:

app-emacs/haskell-mode-17.5_p20260206

Description

Mode for editing (and running) Haskell programs in Emacs

Added to portage

2026-09-29

imageio - 2.38.0
Ebuild name:

dev-python/imageio-2.38.0

Description

Python library for reading and writing image data

Added to portage

2026-09-29

isort - 9.0.2
Ebuild name:

dev-python/isort-9.0.2

Description

A python utility/library to sort imports

Added to portage

2026-09-29

kirigami-addons - 1.14.2
Ebuild name:

dev-libs/kirigami-addons-1.14.2

Description

Visual end user components for Kirigami-based applications

Added to portage

2026-09-29

kodi - 22.0_rc1
Ebuild name:

media-tv/kodi-22.0_rc1

Description

A free and open source media-player and entertainment hub

Added to portage

2026-09-29

libclc - 24.0.0_pre20260929
Ebuild name:

llvm-runtimes/libclc-24.0.0_pre20260929

Description

OpenCL C library

Added to portage

2026-09-29

libcxx - 24.0.0_pre20260929
Ebuild name:

llvm-runtimes/libcxx-24.0.0_pre20260929

Description

New implementation of the C++ standard library, targeting C

Added to portage

2026-09-29

libcxxabi - 24.0.0_pre20260929
Ebuild name:

llvm-runtimes/libcxxabi-24.0.0_pre20260929

Description

Low level support for a standard C++ library

Added to portage

2026-09-29

libgcc - 24.0.0_pre20260929
Ebuild name:

llvm-runtimes/libgcc-24.0.0_pre20260929

Description

Compiler runtime library for clang, compatible with libgcc_

Added to portage

2026-09-29

libpcre2 - 10.49
Ebuild name:

dev-libs/libpcre2-10.49

Description

Perl-compatible regular expression library

Added to portage

2026-09-29

libpcre2-internals - 10.49
Ebuild name:

virtual/libpcre2-internals-10.49

Description

Virtual for dev-libs/libpcre2 internals

Added to portage

2026-09-29

librt - 0.16.0
Ebuild name:

dev-python/librt-0.16.0

Description

Mypyc runtime library

Added to portage

2026-09-29

libunwind - 24.0.0_pre20260929
Ebuild name:

llvm-runtimes/libunwind-24.0.0_pre20260929

Description

C++ runtime stack unwinder from LLVM

Added to portage

2026-09-29

lit - 24.0.0_pre20260929
Ebuild name:

dev-python/lit-24.0.0_pre20260929

Description

A stand-alone install of the LLVM suite testing tool

Added to portage

2026-09-29

lld - 24.0.0_pre20260929
Ebuild name:

llvm-core/lld-24.0.0_pre20260929

Description

The LLVM linker (link editor)

Added to portage

2026-09-29

lldb - 24.0.0_pre20260929
Ebuild name:

llvm-core/lldb-24.0.0_pre20260929

Description

The LLVM debugger

Added to portage

2026-09-29

llvm - 24.0.0_pre20260929
Ebuild name:

dev-ml/llvm-24.0.0_pre20260929

Description

OCaml bindings for LLVM

Added to portage

2026-09-29

llvm - 24.0.0_pre20260929
Ebuild name:

llvm-core/llvm-24.0.0_pre20260929

Description

Low Level Virtual Machine

Added to portage

2026-09-29

llvm-common - 24.0.0_pre20260929
Ebuild name:

llvm-core/llvm-common-24.0.0_pre20260929

Description

Common files shared between multiple slots of LLVM

Added to portage

2026-09-29

mlir - 24.0.0_pre20260929
Ebuild name:

llvm-core/mlir-24.0.0_pre20260929

Description

Multi-Level Intermediate Representation (library only)

Added to portage

2026-09-29

msgpack - 1.2.3
Ebuild name:

dev-python/msgpack-1.2.3

Description

MessagePack (de)serializer for Python

Added to portage

2026-09-29

nushell - 0.116.0
Ebuild name:

app-shells/nushell-0.116.0

Description

A new type of shell, written in Rust

Added to portage

2026-09-29

oauthlib - 4.0.0
Ebuild name:

dev-python/oauthlib-4.0.0

Description

Spec-compliant and thorough implementation of the OAuth request-signing l

Added to portage

2026-09-29

openmp - 24.0.0_pre20260929
Ebuild name:

llvm-runtimes/openmp-24.0.0_pre20260929

Description

OpenMP runtime libraries for LLVM/clang compiler

Added to portage

2026-09-29

openmp-amdgcn-amd-amdhsa - 24.0.0_pre20260929
Ebuild name:

llvm-runtimes/openmp-amdgcn-amd-amdhsa-24.0.0_pre20260929

Description

OpenMP target library for amdgcn devices

Added to portage

2026-09-29

openmp-nvptx64-nvidia-cuda - 24.0.0_pre20260929
Ebuild name:

llvm-runtimes/openmp-nvptx64-nvidia-cuda-24.0.0_pre20260929

Description

OpenMP target library for nvptx64 devic

Added to portage

2026-09-29

openmp-spirv64-intel - 24.0.0_pre20260929
Ebuild name:

llvm-runtimes/openmp-spirv64-intel-24.0.0_pre20260929

Description

OpenMP target library for spirv64 Intel devic

Added to portage

2026-09-29

php - 8.2.34
Ebuild name:

dev-lang/php-8.2.34

Description

The PHP language runtime engine

Added to portage

2026-09-29

php - 8.3.35
Ebuild name:

dev-lang/php-8.3.35

Description

The PHP language runtime engine

Added to portage

2026-09-29

php - 8.4.26
Ebuild name:

dev-lang/php-8.4.26

Description

The PHP language runtime engine

Added to portage

2026-09-29

php - 8.5.11
Ebuild name:

dev-lang/php-8.5.11

Description

The PHP language runtime engine

Added to portage

2026-09-29

pikepdf - 10.15.0
Ebuild name:

dev-python/pikepdf-10.15.0

Description

Python library to work with pdf files based on qpdf

Added to portage

2026-09-29

platformdirs - 4.12.1
Ebuild name:

dev-python/platformdirs-4.12.1

Description

A small Python module for determining appropriate platform-specific

Added to portage

2026-09-29

polly - 24.0.0_pre20260929
Ebuild name:

llvm-core/polly-24.0.0_pre20260929

Description

Polyhedral optimizations for LLVM

Added to portage

2026-09-29

powerdevil - 6.7.5-r3
Ebuild name:

kde-plasma/powerdevil-6.7.5-r3

Description

Power management for KDE Plasma Shell

Added to portage

2026-09-29

pyjwt - 2.15.1
Ebuild name:

dev-python/pyjwt-2.15.1

Description

JSON Web Token implementation in Python

Added to portage

2026-09-29

pysnmp - 7.1.30
Ebuild name:

dev-python/pysnmp-7.1.30

Description

Python SNMP library

Added to portage

2026-09-29

pyudev - 0.24.5
Ebuild name:

dev-python/pyudev-0.24.5

Description

Python binding to libudev

Added to portage

2026-09-29

qgpgme - 2.2.0-r1
Ebuild name:

dev-libs/qgpgme-2.2.0-r1

Description

GnuPG Made Easy is a library for making GnuPG easier to use (Qt bindings)

Added to portage

2026-09-29

regex - 2026.9.29
Ebuild name:

dev-python/regex-2026.9.29

Description

Alternative regular expression module to replace re

Added to portage

2026-09-29

ruff - 0.14.9
Ebuild name:

dev-util/ruff-0.14.9

Description

An extremely fast Python linter, written in Rust

Added to portage

2026-09-29

ruff - 0.15.22
Ebuild name:

dev-util/ruff-0.15.22

Description

An extremely fast Python linter, written in Rust

Added to portage

2026-09-29

ruff - 0.16.1
Ebuild name:

dev-util/ruff-0.16.1

Description

An extremely fast Python linter, written in Rust

Added to portage

2026-09-29

ruff - 0.16.2
Ebuild name:

dev-util/ruff-0.16.2

Description

An extremely fast Python linter, written in Rust

Added to portage

2026-09-29

ruff - 0.16.3
Ebuild name:

dev-util/ruff-0.16.3

Description

An extremely fast Python linter, written in Rust

Added to portage

2026-09-29

ruff - 0.16.5
Ebuild name:

dev-util/ruff-0.16.5

Description

An extremely fast Python linter, written in Rust

Added to portage

2026-09-29

rutorrent - 5.3.15
Ebuild name:

www-apps/rutorrent-5.3.15

Description

ruTorrent is a front-end for the popular Bittorrent client rTorrent

Added to portage

2026-09-29

sc-controller - 1.0.1
Ebuild name:

games-util/sc-controller-1.0.1

Description

User-mode driver and GTK-based GUI for Steam Controllers and others

Added to portage

2026-09-29

tree-sitter-css - 0.25.0-r1
Ebuild name:

dev-libs/tree-sitter-css-0.25.0-r1

Description

CSS grammar for Tree-sitter

Added to portage

2026-09-29

tree-sitter-markdown - 0.5.3-r1
Ebuild name:

dev-libs/tree-sitter-markdown-0.5.3-r1

Description

Markdown grammar for Tree-sitter

Added to portage

2026-09-29

tree-sitter-meta - 1-r6
Ebuild name:

dev-libs/tree-sitter-meta-1-r6

Description

Metapackage for Tree Sitter packages

Added to portage

2026-09-29

tree-sitter-xml - 0.7.0
Ebuild name:

dev-libs/tree-sitter-xml-0.7.0

Description

HTML grammar for Tree-sitter

Added to portage

2026-09-29

uv - 0.12.20
Ebuild name:

dev-python/uv-0.12.20

Description

A Python package installer and resolver, written in Rust

Added to portage

2026-09-29

uv-build - 0.12.20
Ebuild name:

dev-python/uv-build-0.12.20

Description

PEP517 uv build backend

Added to portage

2026-09-29

wireplumber - 0.5.18
Ebuild name:

media-video/wireplumber-0.5.18

Description

Replacement for pipewire-media-session

Added to portage

2026-09-29

xdelta - 1.2.1
Ebuild name:

dev-util/xdelta-1.2.1

Description

Computes changes between binary or text files and creates deltas

Added to portage

2026-09-29

xdelta - 3.2.1
Ebuild name:

dev-util/xdelta-3.2.1

Description

Computes changes between binary or text files and creates deltas

Added to portage

2026-09-29

xdg-dbus-proxy - 0.1.9
Ebuild name:

sys-apps/xdg-dbus-proxy-0.1.9

Description

Filtering proxy for D-Bus connections

Added to portage

2026-09-29

zeroconf - 0.151.5
Ebuild name:

dev-python/zeroconf-0.151.5

Description

Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi comp

Added to portage

2026-09-29

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