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:

83411

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-02-22
bomberclone - 0.11.9-r1
Ebuild name:

games-action/bomberclone-0.11.9-r1

Description

Bomberman clone with network game support

Added to portage

2026-02-22

chromium - 147.0.7695.0
Ebuild name:

www-client/chromium-147.0.7695.0

Description

Open-source version of Google Chrome web browser

Added to portage

2026-02-22

cmd2 - 3.2.2
Ebuild name:

dev-python/cmd2-3.2.2

Description

Extra features for standard library's cmd module

Added to portage

2026-02-22

darktable - 5.4.1
Ebuild name:

media-gfx/darktable-5.4.1

Description

A virtual lighttable and darkroom for photographers

Added to portage

2026-02-22

ffmpeg-chromium - 147
Ebuild name:

media-video/ffmpeg-chromium-147

Description

FFmpeg built specifically for codec support in Chromium-based brows

Added to portage

2026-02-22

inline-snapshot - 0.32.2
Ebuild name:

dev-python/inline-snapshot-0.32.2

Description

Create and update inline snapshots in your Python tests

Added to portage

2026-02-22

lttng-modules - 2.13.23
Ebuild name:

dev-util/lttng-modules-2.13.23

Description

LTTng Kernel Tracer Modules

Added to portage

2026-02-22

lttng-modules - 2.14.4
Ebuild name:

dev-util/lttng-modules-2.14.4

Description

LTTng Kernel Tracer Modules

Added to portage

2026-02-22

lttng-tools - 2.14.1
Ebuild name:

dev-util/lttng-tools-2.14.1

Description

Linux Trace Toolkit - next generation

Added to portage

2026-02-22

lttng-ust - 2.13.10
Ebuild name:

dev-util/lttng-ust-2.13.10

Description

Linux Trace Toolkit - UST library

Added to portage

2026-02-22

lttng-ust - 2.14.1
Ebuild name:

dev-util/lttng-ust-2.14.1

Description

Linux Trace Toolkit - UST library

Added to portage

2026-02-22

lvm2 - 9999
Ebuild name:

sys-fs/lvm2-9999

Description

User-land utilities for LVM2 (device-mapper) software

Added to portage

2026-02-22

mpg123-el - 1.65
Ebuild name:

app-emacs/mpg123-el-1.65

Description

Emacs front-end to mpg123 audio player and OggVorbis audio player

Added to portage

2026-02-22

mycli - 1.55.0
Ebuild name:

dev-db/mycli-1.55.0

Description

CLI for MySQL Database with auto-completion and syntax highlighting

Added to portage

2026-02-22

mysql-connector-c++ - 9.6.0
Ebuild name:

dev-db/mysql-connector-c++-9.6.0

Description

MySQL database connector for C++ (mimics JDBC 4.0 API)

Added to portage

2026-02-22

python-box - 7.4.1
Ebuild name:

dev-python/python-box-7.4.1

Description

Python dictionaries with advanced dot notation access

Added to portage

2026-02-22

typer - 0.24.1
Ebuild name:

dev-python/typer-0.24.1

Description

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

Added to portage

2026-02-22

uutils-coreutils - 0.6.0
Ebuild name:

sys-apps/uutils-coreutils-0.6.0

Description

GNU coreutils rewritten in Rust

Added to portage

2026-02-22

vivaldi - 7.8.3925.73
Ebuild name:

www-client/vivaldi-7.8.3925.73

Description

A browser for our friends

Added to portage

2026-02-22

weston - 15.0.0
Ebuild name:

dev-libs/weston-15.0.0

Description

Wayland reference compositor

Added to portage

2026-02-22

xdp-tools - 1.6.2
Ebuild name:

net-libs/xdp-tools-1.6.2

Description

The libxdp library and various tools for use with XDP

Added to portage

2026-02-22

xfce4-whiskermenu-plugin - 2.10.1
Ebuild name:

xfce-extra/xfce4-whiskermenu-plugin-2.10.1

Description

Alternate application launcher for Xfce

Added to portage

2026-02-22

xmltodict - 1.0.4
Ebuild name:

dev-python/xmltodict-1.0.4

Description

Makes working with XML feel like you are working with JSON

Added to portage

2026-02-22

yt-dlp - 2026.02.21
Ebuild name:

net-misc/yt-dlp-2026.02.21

Description

youtube-dl fork with additional features and fixes

Added to portage

2026-02-22

yt-dlp-ejs - 0.5.0
Ebuild name:

dev-python/yt-dlp-ejs-0.5.0

Description

External JavaScript for yt-dlp supporting many runtimes

Added to portage

2026-02-22

2026-02-21
0ad - 0.28.0
Ebuild name:

games-strategy/0ad-0.28.0

Description

A free, real-time strategy game

Added to portage

2026-02-21

async-lru - 2.2.0
Ebuild name:

dev-python/async-lru-2.2.0

Description

Simple lru_cache for asyncio

Added to portage

2026-02-21

awscli - 1.44.44
Ebuild name:

app-admin/awscli-1.44.44

Description

Universal Command Line Environment for AWS

Added to portage

2026-02-21

boto3 - 1.42.54
Ebuild name:

dev-python/boto3-1.42.54

Description

The AWS SDK for Python

Added to portage

2026-02-21

botocore - 1.42.54
Ebuild name:

dev-python/botocore-1.42.54

Description

Low-level, data-driven core of boto 3

Added to portage

2026-02-21

ccid - 1.7.1
Ebuild name:

app-crypt/ccid-1.7.1

Description

CCID free software driver

Added to portage

2026-02-21

devedeng - 4.21.2
Ebuild name:

media-video/devedeng-4.21.2

Description

DevedeNG is a program to create video DVDs and CDs (VCD, sVCD or CVD)

Added to portage

2026-02-21

django-polymorphic - 4.11.1
Ebuild name:

dev-python/django-polymorphic-4.11.1

Description

Seamless Polymorphic Inheritance for Django Models

Added to portage

2026-02-21

drgn - 0.1.0
Ebuild name:

dev-debug/drgn-0.1.0

Description

Programmable debugger

Added to portage

2026-02-21

environs - 14.6.0
Ebuild name:

dev-python/environs-14.6.0

Description

Python library for simplified environment variable parsing

Added to portage

2026-02-21

fixtures - 4.3.0
Ebuild name:

dev-python/fixtures-4.3.0

Description

Fixtures, reusable state for writing clean tests and more

Added to portage

2026-02-21

free42 - 3.3.11
Ebuild name:

app-emulation/free42-3.3.11

Description

An HP-42S Calculator Simulator

Added to portage

2026-02-21

gcc - 13.4.1_p20260219
Ebuild name:

sys-devel/gcc-13.4.1_p20260219

Description

The GNU Compiler Collection

Added to portage

2026-02-21

gcc - 14.3.1_p20260220
Ebuild name:

sys-devel/gcc-14.3.1_p20260220

Description

The GNU Compiler Collection

Added to portage

2026-02-21

ginac - 1.8.10
Ebuild name:

sci-mathematics/ginac-1.8.10

Description

C++ library and tools for symbolic calculations

Added to portage

2026-02-21

greenlet - 3.3.2
Ebuild name:

dev-python/greenlet-3.3.2

Description

Lightweight in-process concurrent programming

Added to portage

2026-02-21

heroic-bin - 2.20.0
Ebuild name:

games-util/heroic-bin-2.20.0

Description

GOG and Epic Games Launcher for Linux

Added to portage

2026-02-21

i2p - 2.11.0
Ebuild name:

net-vpn/i2p-2.11.0

Description

A privacy-centric, anonymous network

Added to portage

2026-02-21

iptables - 1.8.12
Ebuild name:

net-firewall/iptables-1.8.12

Description

Linux kernel (2.4+) firewall, NAT and packet mangling tools

Added to portage

2026-02-21

jsonschema-path - 0.4.1
Ebuild name:

dev-python/jsonschema-path-0.4.1

Description

JSONSchema Spec with object-oriented paths

Added to portage

2026-02-21

keystoneauth1 - 5.13.1
Ebuild name:

dev-python/keystoneauth1-5.13.1

Description

This package contains tools for authenticating to an OpenStack-base

Added to portage

2026-02-21

lego - 4.32.0
Ebuild name:

app-crypt/lego-4.32.0

Description

Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go

Added to portage

2026-02-21

libsdl3 - 3.4.2
Ebuild name:

media-libs/libsdl3-3.4.2

Description

Simple Direct Media Layer

Added to portage

2026-02-21

mac - 12.34
Ebuild name:

media-sound/mac-12.34

Description

Monkey's Audio Codecs

Added to portage

2026-02-21

maturin - 1.12.4
Ebuild name:

dev-util/maturin-1.12.4

Description

Build and publish crates with pyo3, rust-cpython and cffi bindings

Added to portage

2026-02-21

metalog - 20260221
Ebuild name:

app-admin/metalog-20260221

Description

Highly configurable replacement for syslogd/klogd

Added to portage

2026-02-21

microsoft-edge - 145.0.3800.70
Ebuild name:

www-client/microsoft-edge-145.0.3800.70

Description

The web browser from Microsoft

Added to portage

2026-02-21

microsoft-edge-beta - 146.0.3856.13
Ebuild name:

www-client/microsoft-edge-beta-146.0.3856.13

Description

The web browser from Microsoft

Added to portage

2026-02-21

microsoft-edge-dev - 146.0.3856.13
Ebuild name:

www-client/microsoft-edge-dev-146.0.3856.13

Description

The web browser from Microsoft

Added to portage

2026-02-21

mkdocs-static-i18n - 1.3.1
Ebuild name:

dev-python/mkdocs-static-i18n-1.3.1

Description

MkDocs i18n plugin using static translation markdown files

Added to portage

2026-02-21

mkdocstrings-python - 2.0.3
Ebuild name:

dev-python/mkdocstrings-python-2.0.3

Description

Python handler for dev-python/mkdocstrings

Added to portage

2026-02-21

mu-cite - 8.1_p202011031127
Ebuild name:

app-emacs/mu-cite-8.1_p202011031127

Description

Message citation utilities for emacsen

Added to portage

2026-02-21

multi-term - 1.4-r1
Ebuild name:

app-emacs/multi-term-1.4-r1

Description

Manage multiple terminal buffers in Emacs

Added to portage

2026-02-21

multiple-cursors - 1.5.0
Ebuild name:

app-emacs/multiple-cursors-1.5.0

Description

Multiple cursors for Emacs

Added to portage

2026-02-21

mumble - 1.6.0_pre20260215-r1
Ebuild name:

net-voip/mumble-1.6.0_pre20260215-r1

Description

Open source, low-latency, high quality voice chat software

Added to portage

2026-02-21

murmur - 1.6.0_pre20260215-r1
Ebuild name:

net-voip/murmur-1.6.0_pre20260215-r1

Description

Open source, low-latency, high quality voice chat server

Added to portage

2026-02-21

nss - 3.121
Ebuild name:

dev-libs/nss-3.121

Description

Mozilla's Network Security Services library that implements PKI support

Added to portage

2026-02-21

openpgp-keys-dovecot - 20260122
Ebuild name:

sec-keys/openpgp-keys-dovecot-20260122

Description

OpenPGP keys used by net-mail/dovecot

Added to portage

2026-02-21

openpgp-keys-postfix - 20260122
Ebuild name:

sec-keys/openpgp-keys-postfix-20260122

Description

OpenPGP keys used by mail-mta/postfix

Added to portage

2026-02-21

oslo-concurrency - 7.4.0
Ebuild name:

dev-python/oslo-concurrency-7.4.0

Description

Oslo Concurrency library

Added to portage

2026-02-21

oslo-utils - 10.0.0
Ebuild name:

dev-python/oslo-utils-10.0.0

Description

Oslo Utility library

Added to portage

2026-02-21

pathable - 0.5.0
Ebuild name:

dev-python/pathable-0.5.0

Description

Object-oriented paths

Added to portage

2026-02-21

pcsc-tools - 1.7.4
Ebuild name:

sys-apps/pcsc-tools-1.7.4

Description

PC/SC Architecture smartcard tools

Added to portage

2026-02-21

pdns - 5.0.3
Ebuild name:

net-dns/pdns-5.0.3

Description

The PowerDNS Daemon

Added to portage

2026-02-21

peewee - 4.0.0
Ebuild name:

dev-python/peewee-4.0.0

Description

Small Python ORM

Added to portage

2026-02-21

pipdeptree - 2.31.0
Ebuild name:

dev-python/pipdeptree-2.31.0

Description

Utility for displaying installed packages in a dependency tree

Added to portage

2026-02-21

pipewire - 1.6.0
Ebuild name:

media-video/pipewire-1.6.0

Description

Multimedia processing graphs

Added to portage

2026-02-21

pipewire - 1.6.9999
Ebuild name:

media-video/pipewire-1.6.9999

Description

Multimedia processing graphs

Added to portage

2026-02-21

pkcs11-helper - 1.31.0
Ebuild name:

dev-libs/pkcs11-helper-1.31.0

Description

PKCS11 helper library

Added to portage

2026-02-21

plus42 - 1.3.13
Ebuild name:

app-emulation/plus42-1.3.13

Description

An Enhanced HP-42S Calculator Simulator

Added to portage

2026-02-21

puremagic - 2.0.0
Ebuild name:

dev-python/puremagic-2.0.0

Description

Pure python implementation of magic file detection

Added to portage

2026-02-21

pylint - 4.0.5
Ebuild name:

dev-python/pylint-4.0.5

Description

Python code static checker

Added to portage

2026-02-21

selenium - 4.41.0
Ebuild name:

dev-python/selenium-4.41.0

Description

Python language binding for Selenium Remote Control

Added to portage

2026-02-21

selenium-manager - 4.41.0
Ebuild name:

dev-util/selenium-manager-4.41.0

Description

CLI tool that manages the browser/driver infrastructure required b

Added to portage

2026-02-21

sphinxcontrib-programoutput - 0.19
Ebuild name:

dev-python/sphinxcontrib-programoutput-0.19

Description

Extension to sphinx to include program output

Added to portage

2026-02-21

spotify - 1.2.82
Ebuild name:

media-sound/spotify-1.2.82

Description

Spotify is a social music platform

Added to portage

2026-02-21

stestr - 4.2.1
Ebuild name:

dev-python/stestr-4.2.1

Description

A parallel Python test runner built around subunit

Added to portage

2026-02-21

stevedore - 5.7.0
Ebuild name:

dev-python/stevedore-5.7.0

Description

Manage dynamic plugins for Python applications

Added to portage

2026-02-21

subliminal - 2.6.0
Ebuild name:

media-video/subliminal-2.6.0

Description

Python library to search and download subtitles

Added to portage

2026-02-21

talk-desktop-bin - 2.1.1
Ebuild name:

net-im/talk-desktop-bin-2.1.1

Description

Nextcloud Talk Desktop client

Added to portage

2026-02-21

tifffile - 2026.2.20
Ebuild name:

dev-python/tifffile-2026.2.20

Description

Read and write TIFF files

Added to portage

2026-02-21

tox - 4.44.0
Ebuild name:

dev-python/tox-4.44.0

Description

virtualenv-based automation of test activities

Added to portage

2026-02-21

virtualbox-modules - 7.2.6-r2
Ebuild name:

app-emulation/virtualbox-modules-7.2.6-r2

Description

Kernel Modules for Virtualbox

Added to portage

2026-02-21

wine-staging - 11.3
Ebuild name:

app-emulation/wine-staging-11.3

Description

Free implementation of Windows(tm) on Unix, with Wine-Staging patch

Added to portage

2026-02-21

wine-vanilla - 11.3
Ebuild name:

app-emulation/wine-vanilla-11.3

Description

Free implementation of Windows(tm) on Unix, without external patchs

Added to portage

2026-02-21

xvfbwrapper - 0.2.20
Ebuild name:

dev-python/xvfbwrapper-0.2.20

Description

Python wrapper for running a display inside X virtual framebuffer

Added to portage

2026-02-21

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