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:

83688

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.4 (45 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-03-11
amdgpu-pro-amf - 25.20.399
Ebuild name:

media-video/amdgpu-pro-amf-25.20.399

Description

AMD's closed source Advanced Media Framework (AMF) driver for

Added to portage

2026-03-11

amdgpu-pro-amf - 25.30.422
Ebuild name:

media-video/amdgpu-pro-amf-25.30.422

Description

AMD's closed source Advanced Media Framework (AMF) driver for

Added to portage

2026-03-11

amf-headers - 1.5.0
Ebuild name:

media-libs/amf-headers-1.5.0

Description

The Advanced Media Framework (AMF) SDK

Added to portage

2026-03-11

asyncstdlib - 3.13.3
Ebuild name:

dev-python/asyncstdlib-3.13.3

Description

The missing async toolbox

Added to portage

2026-03-11

awscli - 1.44.55
Ebuild name:

app-admin/awscli-1.44.55

Description

Universal Command Line Environment for AWS

Added to portage

2026-03-11

boto3 - 1.42.65
Ebuild name:

dev-python/boto3-1.42.65

Description

The AWS SDK for Python

Added to portage

2026-03-11

botocore - 1.42.65
Ebuild name:

dev-python/botocore-1.42.65

Description

Low-level, data-driven core of boto 3

Added to portage

2026-03-11

chrome-binary-plugins - 146.0.7680.71
Ebuild name:

www-plugins/chrome-binary-plugins-146.0.7680.71

Description

Binary plugins from Google Chrome for use in Chromi

Added to portage

2026-03-11

chromedriver-bin - 146.0.7680.71
Ebuild name:

www-apps/chromedriver-bin-146.0.7680.71

Description

WebDriver for Chrome

Added to portage

2026-03-11

chromium - 146.0.7680.71
Ebuild name:

www-client/chromium-146.0.7680.71

Description

Open-source version of Google Chrome web browser

Added to portage

2026-03-11

claude-code - 2.1.72
Ebuild name:

dev-util/claude-code-2.1.72

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2026-03-11

configargparse - 1.7.5
Ebuild name:

dev-python/configargparse-1.7.5

Description

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

Added to portage

2026-03-11

curl - 8.19.0
Ebuild name:

net-misc/curl-8.19.0

Description

A Client that groks URLs

Added to portage

2026-03-11

debugedit - 5.3
Ebuild name:

dev-util/debugedit-5.3

Description

Create debuginfo and source file distributions

Added to portage

2026-03-11

fd - 10.4.2
Ebuild name:

sys-apps/fd-10.4.2

Description

Alternative to find that provides sensible defaults for 80% of the use cases

Added to portage

2026-03-11

google-chrome - 146.0.7680.71
Ebuild name:

www-client/google-chrome-146.0.7680.71

Description

The web browser from Google

Added to portage

2026-03-11

ipyparallel - 9.1.0
Ebuild name:

dev-python/ipyparallel-9.1.0

Description

Interactive Parallel Computing with IPython

Added to portage

2026-03-11

libarchive - 3.8.6
Ebuild name:

app-arch/libarchive-3.8.6

Description

Multi-format archive and compression library

Added to portage

2026-03-11

libplacebo - 7.360.0-r1
Ebuild name:

media-libs/libplacebo-7.360.0-r1

Description

Reusable library for GPU-accelerated image processing primitives

Added to portage

2026-03-11

magic-wormhole - 0.23.0
Ebuild name:

dev-python/magic-wormhole-0.23.0

Description

Get Things From One Computer To Another, Safely

Added to portage

2026-03-11

maude - 3.2.2
Ebuild name:

dev-lang/maude-3.2.2

Description

High-level specification language for equational and logic programming

Added to portage

2026-03-11

maude - 3.3.1
Ebuild name:

dev-lang/maude-3.3.1

Description

High-level specification language for equational and logic programming

Added to portage

2026-03-11

metakernel - 0.32.0
Ebuild name:

dev-python/metakernel-0.32.0

Description

Metakernel for Jupyter

Added to portage

2026-03-11

microsoft-edge-beta - 146.0.3856.49
Ebuild name:

www-client/microsoft-edge-beta-146.0.3856.49

Description

The web browser from Microsoft

Added to portage

2026-03-11

mirrorselect - 2.5.4-r1
Ebuild name:

app-portage/mirrorselect-2.5.4-r1

Description

Tool to help select distfiles mirrors for Gentoo

Added to portage

2026-03-11

mirrorselect - 2.6.1
Ebuild name:

app-portage/mirrorselect-2.6.1

Description

Tool to help select distfiles mirrors for Gentoo

Added to portage

2026-03-11

mkdocs-get-deps - 0.2.2
Ebuild name:

dev-python/mkdocs-get-deps-0.2.2

Description

extension that lists all dependencies according to a mkdocs.yml fi

Added to portage

2026-03-11

mkdocs-material - 9.7.5
Ebuild name:

dev-python/mkdocs-material-9.7.5

Description

A Material Design theme for MkDocs

Added to portage

2026-03-11

narwhals - 2.18.0
Ebuild name:

dev-python/narwhals-2.18.0

Description

Extremely lightweight compatibility layer between dataframe libraries

Added to portage

2026-03-11

nuitka - 4.0.4
Ebuild name:

dev-python/nuitka-4.0.4

Description

Python to native compiler

Added to portage

2026-03-11

nvidia-drivers - 580.142
Ebuild name:

x11-drivers/nvidia-drivers-580.142

Description

NVIDIA Accelerated Graphics Driver

Added to portage

2026-03-11

openpgp-keys-debugedit - 20260311
Ebuild name:

sec-keys/openpgp-keys-debugedit-20260311

Description

OpenPGP key used to sign debugedit releases

Added to portage

2026-03-11

opera - 128.0.5807.66
Ebuild name:

www-client/opera-128.0.5807.66

Description

A fast and secure web browser

Added to portage

2026-03-11

opera-developer - 130.0.5832.0
Ebuild name:

www-client/opera-developer-130.0.5832.0

Description

A fast and secure web browser

Added to portage

2026-03-11

pbs-installer - 2026.3.10
Ebuild name:

dev-python/pbs-installer-2026.3.10

Description

Installer for Python Build Standalone

Added to portage

2026-03-11

pgagent - 4.2.3-r2
Ebuild name:

dev-db/pgagent-4.2.3-r2

Description

pgAgent is a job scheduler for PostgreSQL

Added to portage

2026-03-11

pikepdf - 10.5.0
Ebuild name:

dev-python/pikepdf-10.5.0

Description

Python library to work with pdf files based on qpdf

Added to portage

2026-03-11

postfix - 3.11.1
Ebuild name:

mail-mta/postfix-3.11.1

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-03-11

postfix - 3.12_pre20260310
Ebuild name:

mail-mta/postfix-3.12_pre20260310

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-03-11

python-discovery - 1.1.3
Ebuild name:

dev-python/python-discovery-1.1.3

Description

Python interpreter discovery

Added to portage

2026-03-11

scx - 1.1.0
Ebuild name:

sys-kernel/scx-1.1.0

Description

sched_ext schedulers and tools

Added to portage

2026-03-11

scx-loader - 1.1.0
Ebuild name:

sys-kernel/scx-loader-1.1.0

Description

DBUS on-demand loader of sched-ext schedulers

Added to portage

2026-03-11

sendmail - 8.19.0.0
Ebuild name:

mail-mta/sendmail-8.19.0.0

Description

Widely-used Mail Transport Agent (MTA)

Added to portage

2026-03-11

systemd - 259.3-r1
Ebuild name:

sys-apps/systemd-259.3-r1

Description

System and service manager for Linux

Added to portage

2026-03-11

systemd-initctl - 2
Ebuild name:

sys-apps/systemd-initctl-2

Description

initctl Compatibility Daemon

Added to portage

2026-03-11

tagtool - 0.12.3-r3
Ebuild name:

media-sound/tagtool-0.12.3-r3

Description

Audio Tag Tool Ogg/Mp3 Tagger

Added to portage

2026-03-11

tekore - 6.1.1
Ebuild name:

dev-python/tekore-6.1.1

Description

Spotify Web API client

Added to portage

2026-03-11

tomcat-native - 1.3.7
Ebuild name:

dev-java/tomcat-native-1.3.7

Description

Allows Tomcat to use certain native resources for better performance

Added to portage

2026-03-11

tomcat-native - 2.0.14
Ebuild name:

dev-java/tomcat-native-2.0.14

Description

Allows Tomcat to use certain native resources for better performance

Added to portage

2026-03-11

tornado - 6.5.5
Ebuild name:

dev-python/tornado-6.5.5

Description

Python web framework and asynchronous networking library

Added to portage

2026-03-11

2026-03-10
awscli - 1.44.54
Ebuild name:

app-admin/awscli-1.44.54

Description

Universal Command Line Environment for AWS

Added to portage

2026-03-10

boto3 - 1.42.64
Ebuild name:

dev-python/boto3-1.42.64

Description

The AWS SDK for Python

Added to portage

2026-03-10

botocore - 1.42.64
Ebuild name:

dev-python/botocore-1.42.64

Description

Low-level, data-driven core of boto 3

Added to portage

2026-03-10

cachetools - 7.0.5
Ebuild name:

dev-python/cachetools-7.0.5

Description

Extensible memoizing collections and decorators

Added to portage

2026-03-10

cargo-c - 0.10.21
Ebuild name:

dev-util/cargo-c-0.10.21

Description

Helper program to build and install c-like libraries

Added to portage

2026-03-10

cfortran - 20210827-r1
Ebuild name:

dev-lang/cfortran-20210827-r1

Description

Header file allowing to call Fortran routines from C and C++

Added to portage

2026-03-10

cloudflared - 2026.3.0
Ebuild name:

net-vpn/cloudflared-2026.3.0

Description

A command-line client and tunneling daemon for Cloudflare Tunnel

Added to portage

2026-03-10

duckdb - 1.5.0
Ebuild name:

dev-db/duckdb-1.5.0

Description

high-performance analytical database system

Added to portage

2026-03-10

ensurepip-setuptools - 82.0.1
Ebuild name:

dev-python/ensurepip-setuptools-82.0.1

Description

Shared setuptools wheel for ensurepip Python module

Added to portage

2026-03-10

filelock - 3.25.1
Ebuild name:

dev-python/filelock-3.25.1

Description

A platform independent file lock for Python

Added to portage

2026-03-10

firefox-bin - 148.0.2
Ebuild name:

www-client/firefox-bin-148.0.2

Description

Firefox Web Browser

Added to portage

2026-03-10

fonttools - 4.62.0
Ebuild name:

dev-python/fonttools-4.62.0

Description

Library for manipulating TrueType, OpenType, AFM and Type1 fonts

Added to portage

2026-03-10

framework_tool - 0.6.1
Ebuild name:

app-laptop/framework_tool-0.6.1

Description

Tool to control Framework Computer systems

Added to portage

2026-03-10

haproxy - 2.8.19
Ebuild name:

net-proxy/haproxy-2.8.19

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-03-10

haproxy - 3.0.18
Ebuild name:

net-proxy/haproxy-3.0.18

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-03-10

haproxy - 3.2.14
Ebuild name:

net-proxy/haproxy-3.2.14

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-03-10

haproxy - 3.3.5
Ebuild name:

net-proxy/haproxy-3.3.5

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-03-10

ibus-cangjie - 2.5.0-r1
Ebuild name:

app-i18n/ibus-cangjie-2.5.0-r1

Description

Chinese Cangjie and Quick engines for IBus

Added to portage

2026-03-10

imageio - 2.37.3
Ebuild name:

dev-python/imageio-2.37.3

Description

Python library for reading and writing image data

Added to portage

2026-03-10

kiwisolver - 1.5.0
Ebuild name:

dev-python/kiwisolver-1.5.0

Description

An efficient C++ implementation of the Cassowary constraint solving alg

Added to portage

2026-03-10

krita - 6.0.0_beta3-r1
Ebuild name:

media-gfx/krita-6.0.0_beta3-r1

Description

Free digital painting application. Digital Painting, Creative Freedo

Added to portage

2026-03-10

legion - 23.03.0-r1
Ebuild name:

sys-cluster/legion-23.03.0-r1

Description

Data-centric parallel programming system

Added to portage

2026-03-10

libobjc2 - 2.3-r1
Ebuild name:

gnustep-base/libobjc2-2.3-r1

Description

GNUstep Objective-C runtime

Added to portage

2026-03-10

libxfce4ui - 4.21.4
Ebuild name:

xfce-base/libxfce4ui-4.21.4

Description

Unified widget and session management libs for Xfce

Added to portage

2026-03-10

libxfce4ui - 4.21.7
Ebuild name:

xfce-base/libxfce4ui-4.21.7

Description

Unified widget and session management libs for Xfce

Added to portage

2026-03-10

mit-krb5-appl - 1.0.3-r4
Ebuild name:

app-crypt/mit-krb5-appl-1.0.3-r4

Description

Kerberized applications split from the main MIT Kerberos V distrib

Added to portage

2026-03-10

mit-krb5-appl - 1.0.3-r4
Ebuild name:

app-crypt/mit-krb5-appl-1.0.3-r4

Description

Kerberized applications split from the main MIT Kerberos V distrib

Added to portage

2026-03-10

mit-krb5-appl - 1.0.3-r5
Ebuild name:

app-crypt/mit-krb5-appl-1.0.3-r5

Description

Kerberized applications split from the main MIT Kerberos V distrib

Added to portage

2026-03-10

mkdocs-get-deps - 0.2.1
Ebuild name:

dev-python/mkdocs-get-deps-0.2.1

Description

extension that lists all dependencies according to a mkdocs.yml fi

Added to portage

2026-03-10

mrustc - 0.12.0
Ebuild name:

dev-lang/mrustc-0.12.0

Description

Mutabah's Rust Compiler

Added to portage

2026-03-10

numpy - 2.4.3
Ebuild name:

dev-python/numpy-2.4.3

Description

Fast array and numerical python library

Added to portage

2026-03-10

nvidia-drivers - 595.44.02
Ebuild name:

x11-drivers/nvidia-drivers-595.44.02

Description

NVIDIA Accelerated Graphics Driver

Added to portage

2026-03-10

octave-kernel - 0.39.0
Ebuild name:

dev-python/octave-kernel-0.39.0

Description

Jupyter kernel for octave

Added to portage

2026-03-10

puremagic - 2.0.2
Ebuild name:

dev-python/puremagic-2.0.2

Description

Pure python implementation of magic file detection

Added to portage

2026-03-10

python-discovery - 1.1.2
Ebuild name:

dev-python/python-discovery-1.1.2

Description

Python interpreter discovery

Added to portage

2026-03-10

rust - 1.94.0
Ebuild name:

dev-lang/rust-1.94.0

Description

Systems programming language originally developed by Mozilla

Added to portage

2026-03-10

rust - 1.95.0_beta20260310
Ebuild name:

dev-lang/rust-1.95.0_beta20260310

Description

Systems programming language originally developed by Mozilla

Added to portage

2026-03-10

rust-bin - 1.94.0
Ebuild name:

dev-lang/rust-bin-1.94.0

Description

Added to portage

2026-03-10

rust-bin - 1.95.0_beta20260310
Ebuild name:

dev-lang/rust-bin-1.95.0_beta20260310

Description

Added to portage

2026-03-10

rust-common - 1.94.0
Ebuild name:

dev-lang/rust-common-1.94.0

Description

Common files shared between multiple slots of Rust

Added to portage

2026-03-10

rust-common - 1.95.0_beta20260310
Ebuild name:

dev-lang/rust-common-1.95.0_beta20260310

Description

Common files shared between multiple slots of Rust

Added to portage

2026-03-10

rust-std - 1.94.0
Ebuild name:

sys-devel/rust-std-1.94.0

Description

Rust standard library, standalone (for crossdev)

Added to portage

2026-03-10

rust-std - 1.95.0_beta20260310
Ebuild name:

sys-devel/rust-std-1.95.0_beta20260310

Description

Rust standard library, standalone (for crossdev)

Added to portage

2026-03-10

setuptools - 82.0.1
Ebuild name:

dev-python/setuptools-82.0.1

Description

Collection of extensions to Distutils

Added to portage

2026-03-10

sphinx-autodoc-typehints - 3.9.8
Ebuild name:

dev-python/sphinx-autodoc-typehints-3.9.8

Description

Type hints support for the Sphinx autodoc extension

Added to portage

2026-03-10

sudo-rs - 0.2.13
Ebuild name:

app-admin/sudo-rs-0.2.13

Description

A memory safe implementation of sudo and su.

Added to portage

2026-03-10

systemd - 259.3
Ebuild name:

sys-apps/systemd-259.3

Description

System and service manager for Linux

Added to portage

2026-03-10

systemd-utils - 259.3
Ebuild name:

sys-apps/systemd-utils-259.3

Description

Utilities split out from systemd for OpenRC users

Added to portage

2026-03-10

testfixtures - 11.0.0
Ebuild name:

dev-python/testfixtures-11.0.0

Description

A collection of helpers and mock objects for unit tests and doc test

Added to portage

2026-03-10

tmuxp - 1.66.0
Ebuild name:

app-misc/tmuxp-1.66.0

Description

tmux session manager. built on libtmux

Added to portage

2026-03-10

tox - 4.49.1
Ebuild name:

dev-python/tox-4.49.1

Description

virtualenv-based automation of test activities

Added to portage

2026-03-10

virtualenv - 21.2.0
Ebuild name:

dev-python/virtualenv-21.2.0

Description

Virtual Python Environment builder

Added to portage

2026-03-10

wordpress - 6.9.2
Ebuild name:

www-apps/wordpress-6.9.2

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-03-10

xastir - 2.2.4
Ebuild name:

media-radio/xastir-2.2.4

Description

X Amateur Station Tracking and Information Reporting

Added to portage

2026-03-10

xvfbwrapper - 0.2.22
Ebuild name:

dev-python/xvfbwrapper-0.2.22

Description

Python wrapper for running a display inside X virtual framebuffer

Added to portage

2026-03-10

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