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:

88797

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-10-01
gamescope - 3.16.31
Ebuild name:

gui-wm/gamescope-3.16.31

Description

Efficient micro-compositor for running games

Added to portage

2026-10-01

groovy-emacs-modes - 2.1
Ebuild name:

app-emacs/groovy-emacs-modes-2.1

Description

Groovy major mode, grails minor mode, and a groovy inferior mode

Added to portage

2026-10-01

innoextract - 1.13.0
Ebuild name:

app-arch/innoextract-1.13.0

Description

A tool to unpack installers created by Inno Setup

Added to portage

2026-10-01

makemkv - 2.0.0
Ebuild name:

media-video/makemkv-2.0.0

Description

Tool for ripping and streaming Blu-ray, HD-DVD and DVD discs

Added to portage

2026-10-01

phpBB - 3.3.19
Ebuild name:

www-apps/phpBB-3.3.19

Description

An open-source PHP-based bulletin board package

Added to portage

2026-10-01

teamviewer - 15.82.6
Ebuild name:

net-misc/teamviewer-15.82.6

Description

All-In-One Solution for Remote Access and Support over the Internet

Added to portage

2026-10-01

2026-09-30
awscli - 2.37.6
Ebuild name:

app-admin/awscli-2.37.6

Description

Universal Command Line Environment for AWS

Added to portage

2026-09-30

blake3 - 1.0.10
Ebuild name:

dev-python/blake3-1.0.10

Description

Python bindings for the BLAKE3 cryptographic hash function

Added to portage

2026-09-30

boto3 - 1.43.105
Ebuild name:

dev-python/boto3-1.43.105

Description

The AWS SDK for Python

Added to portage

2026-09-30

botocore - 1.43.105
Ebuild name:

dev-python/botocore-1.43.105

Description

Low-level, data-driven core of boto 3

Added to portage

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

cramjam - 2.13.0
Ebuild name:

dev-python/cramjam-2.13.0

Description

Thin Python bindings to de/compression algorithms in Rust

Added to portage

2026-09-30

dlib - 20.0.1
Ebuild name:

sci-libs/dlib-20.0.1

Description

Numerical and networking C++ library

Added to portage

2026-09-30

dropbox - 273.4.4708
Ebuild name:

net-misc/dropbox-273.4.4708

Description

Dropbox daemon (pretends to be GUI-less)

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

filelock - 4.0.7
Ebuild name:

dev-python/filelock-4.0.7

Description

A platform independent file lock for Python

Added to portage

2026-09-30

flufl-lock - 9.2.0
Ebuild name:

dev-python/flufl-lock-9.2.0

Description

NFS-safe file locking with timeouts for POSIX systems

Added to portage

2026-09-30

fonttools - 4.66.1
Ebuild name:

dev-python/fonttools-4.66.1

Description

Library for manipulating TrueType, OpenType, AFM and Type1 fonts

Added to portage

2026-09-30

gallery-dl - 1.32.14
Ebuild name:

net-misc/gallery-dl-1.32.14

Description

Download image galleries and collections from several image hosting sit

Added to portage

2026-09-30

git-credential-manager - 3.0.0
Ebuild name:

dev-vcs/git-credential-manager-3.0.0

Description

Secure Git credential storage supporing GitHub, Azure Repos, a

Added to portage

2026-09-30

google-api-core - 2.40.0
Ebuild name:

dev-python/google-api-core-2.40.0

Description

Core Library for Google Client Libraries

Added to portage

2026-09-30

google-auth-httplib2 - 0.4.3
Ebuild name:

dev-python/google-auth-httplib2-0.4.3

Description

httplib2 Transport for Google Auth

Added to portage

2026-09-30

google-auth-oauthlib - 1.5.0
Ebuild name:

dev-python/google-auth-oauthlib-1.5.0

Description

Google Authentication Library

Added to portage

2026-09-30

googleapis-common-protos - 1.75.5
Ebuild name:

dev-python/googleapis-common-protos-1.75.5

Description

Python classes generated from the common protos in the g

Added to portage

2026-09-30

gpxsee - 16.16
Ebuild name:

sci-geosciences/gpxsee-16.16

Description

Viewer and analyzer that supports gpx, tcx, kml, fit, igc and nmea fil

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

grub - 2.16-r1
Ebuild name:

sys-boot/grub-2.16-r1

Description

GNU GRUB boot loader

Added to portage

2026-09-30

gruvbox-theme - 1.30.2
Ebuild name:

app-emacs/gruvbox-theme-1.30.2

Description

Gruvbox is a retro groove color scheme, now in Emacs

Added to portage

2026-09-30

gruvbox-theme - 1.30.3
Ebuild name:

app-emacs/gruvbox-theme-1.30.3

Description

Gruvbox is a retro groove color scheme, now in Emacs

Added to portage

2026-09-30

gruvbox-theme - 1.30.4
Ebuild name:

app-emacs/gruvbox-theme-1.30.4

Description

Gruvbox is a retro groove color scheme, now in Emacs

Added to portage

2026-09-30

gruvbox-theme - 9999
Ebuild name:

app-emacs/gruvbox-theme-9999

Description

Gruvbox is a retro groove color scheme, now in Emacs

Added to portage

2026-09-30

h4x0r - 0.13-r1
Ebuild name:

app-emacs/h4x0r-0.13-r1

Description

Aid in writing like a script kiddie does

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

ig - 0.56.1
Ebuild name:

app-admin/ig-0.56.1

Description

Tools and framework for data collection and system inspection using eBPF

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

ipykernel - 7.4.0
Ebuild name:

dev-python/ipykernel-7.4.0

Description

IPython Kernel for Jupyter

Added to portage

2026-09-30

joplin-desktop - 3.7.21
Ebuild name:

app-office/joplin-desktop-3.7.21

Description

Secure note taking and to-do app with synchronization capabilities

Added to portage

2026-09-30

josm-bin - 19613
Ebuild name:

sci-geosciences/josm-bin-19613

Description

Java-based editor for the OpenStreetMap project

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

koleo-cli - 0.2.137.38
Ebuild name:

app-misc/koleo-cli-0.2.137.38

Description

A simple CLI for koleo.pl railway planner

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

libasyncns - 0.8-r5
Ebuild name:

net-libs/libasyncns-0.8-r5

Description

C library for executing name service queries asynchronously

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

loky - 3.7.0
Ebuild name:

dev-python/loky-3.7.0

Description

Robust and reusable Executor for joblib

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

marginalia - 2.13
Ebuild name:

app-emacs/marginalia-2.13

Description

Marginalia in the minibuffer

Added to portage

2026-09-30

mergiraf - 0.20.0
Ebuild name:

dev-vcs/mergiraf-0.20.0

Description

Syntax-aware git merge driver

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

ollama - 0.35.0
Ebuild name:

sci-ml/ollama-0.35.0

Description

Get up and running with Llama 3, Mistral, Gemma, and other language models

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

orderless - 1.8
Ebuild name:

app-emacs/orderless-1.8

Description

Completion style that matches multiple regexps in any order

Added to portage

2026-09-30

owntracks-recorder - 1.0.4
Ebuild name:

sci-geosciences/owntracks-recorder-1.0.4

Description

Stores and accesses location data published by the OwnTrac

Added to portage

2026-09-30

pandoc-bin - 3.12
Ebuild name:

app-text/pandoc-bin-3.12

Description

Conversion between markup formats (binary package)

Added to portage

2026-09-30

pbs-installer - 2026.9.29
Ebuild name:

dev-python/pbs-installer-2026.9.29

Description

Installer for Python Build Standalone

Added to portage

2026-09-30

pikepdf - 10.16.0
Ebuild name:

dev-python/pikepdf-10.16.0

Description

Python library to work with pdf files based on qpdf

Added to portage

2026-09-30

platformdirs - 4.12.2
Ebuild name:

dev-python/platformdirs-4.12.2

Description

A small Python module for determining appropriate platform-specific

Added to portage

2026-09-30

ppp - 2.5.4-r1
Ebuild name:

net-dialup/ppp-2.5.4-r1

Description

Point-to-Point Protocol (PPP)

Added to portage

2026-09-30

proto-plus - 1.29.0
Ebuild name:

dev-python/proto-plus-1.29.0

Description

Beautiful, Pythonic protocol buffers

Added to portage

2026-09-30

pylast - 7.2.0
Ebuild name:

dev-python/pylast-7.2.0

Description

Python interface to last.fm and other api-compatible websites

Added to portage

2026-09-30

pylint - 4.1.1
Ebuild name:

dev-python/pylint-4.1.1

Description

Python code static checker

Added to portage

2026-09-30

pyspnego - 0.12.3
Ebuild name:

dev-python/pyspnego-0.12.3

Description

Library to handle SPNEGO and CredSSP authentication

Added to portage

2026-09-30

python-gnupg - 0.5.7
Ebuild name:

dev-python/python-gnupg-0.5.7

Description

A Python wrapper for GnuPG

Added to portage

2026-09-30

python3-discogs-client - 2.10
Ebuild name:

dev-python/python3-discogs-client-2.10

Description

Continuation of the official Python API client for Discogs

Added to portage

2026-09-30

qmapshack - 1.21.1
Ebuild name:

sci-geosciences/qmapshack-1.21.1

Description

GPS mapping utility

Added to portage

2026-09-30

qmapshack - 1.21.1-r1
Ebuild name:

sci-geosciences/qmapshack-1.21.1-r1

Description

GPS mapping utility

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

radicale - 3.8.1
Ebuild name:

www-apps/radicale-3.8.1

Description

A simple CalDAV calendar server

Added to portage

2026-09-30

ruffle - 0.6.0
Ebuild name:

app-emulation/ruffle-0.6.0

Description

Flash Player emulator written in Rust

Added to portage

2026-09-30

sbcl - 2.6.9
Ebuild name:

dev-lisp/sbcl-2.6.9

Description

Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp

Added to portage

2026-09-30

sc-controller - 1.0.5
Ebuild name:

games-util/sc-controller-1.0.5

Description

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

Added to portage

2026-09-30

setuptools-gettext - 0.1.19
Ebuild name:

dev-python/setuptools-gettext-0.1.19

Description

Setuptools plugin for building mo files

Added to portage

2026-09-30

shell-maker - 0.97.4
Ebuild name:

app-emacs/shell-maker-0.97.4

Description

Interaction mode for making comint shells for GNU Emacs

Added to portage

2026-09-30

sipp - 3.7.9
Ebuild name:

net-misc/sipp-3.7.9

Description

A free Open Source test tool / traffic generator for the SIP protocol

Added to portage

2026-09-30

sphinx-autodoc-typehints - 3.13.8
Ebuild name:

dev-python/sphinx-autodoc-typehints-3.13.8

Description

Type hints support for the Sphinx autodoc extension

Added to portage

2026-09-30

thunderbird - 157.0
Ebuild name:

mail-client/thunderbird-157.0

Description

Thunderbird Mail Client

Added to portage

2026-09-30

thunderbird-bin - 157.0
Ebuild name:

mail-client/thunderbird-bin-157.0

Description

Thunderbird Mail Client

Added to portage

2026-09-30

thunderbird-l10n - 157.0
Ebuild name:

mail-client/thunderbird-l10n-157.0

Description

Thunderbird mail client's translation files

Added to portage

2026-09-30

timezone-data - 2026e
Ebuild name:

sys-libs/timezone-data-2026e

Description

Timezone data (/usr/share/zoneinfo) and utilities (tzselect/zic/zdump)

Added to portage

2026-09-30

tox - 4.64.5
Ebuild name:

dev-python/tox-4.64.5

Description

virtualenv-based automation of test activities

Added to portage

2026-09-30

urwid - 4.2.1
Ebuild name:

dev-python/urwid-4.2.1

Description

Curses-based user interface library for Python

Added to portage

2026-09-30

uv - 0.12.21
Ebuild name:

dev-python/uv-0.12.21

Description

A Python package installer and resolver, written in Rust

Added to portage

2026-09-30

uv-build - 0.12.21
Ebuild name:

dev-python/uv-build-0.12.21

Description

PEP517 uv build backend

Added to portage

2026-09-30

virtualenv - 21.14.1
Ebuild name:

dev-python/virtualenv-21.14.1

Description

Virtual Python Environment builder

Added to portage

2026-09-30

webkit-gtk - 2.54.0-r411
Ebuild name:

net-libs/webkit-gtk-2.54.0-r411

Description

Open source web browser engine

Added to portage

2026-09-30

webkit-gtk - 2.54.0-r601
Ebuild name:

net-libs/webkit-gtk-2.54.0-r601

Description

Open source web browser engine

Added to portage

2026-09-30

xarray - 2026.9.0
Ebuild name:

dev-python/xarray-2026.9.0

Description

N-D labeled arrays and datasets in Python

Added to portage

2026-09-30

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