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:

88381

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-15
anydesk - 8.0.4-r1
Ebuild name:

net-misc/anydesk-8.0.4-r1

Description

Feature rich multi-platform remote desktop application

Added to portage

2026-09-15

bgpq4 - 1.16
Ebuild name:

net-misc/bgpq4-1.16

Description

Generate access-lists for various routers, maintained fork of bgpq3

Added to portage

2026-09-15

claude-code - 2.1.270
Ebuild name:

dev-util/claude-code-2.1.270

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2026-09-15

firefox - 156.0
Ebuild name:

www-client/firefox-156.0

Description

Firefox Web Browser

Added to portage

2026-09-15

firefox-l10n - 156.0
Ebuild name:

www-client/firefox-l10n-156.0

Description

Firefox Web Browser's translation files

Added to portage

2026-09-15

jinx - 2.8
Ebuild name:

app-emacs/jinx-2.8

Description

Enchanted Spell Checker for GNU Emacs

Added to portage

2026-09-15

jitterentropy-rngd - 1.2.8
Ebuild name:

app-crypt/jitterentropy-rngd-1.2.8

Description

Jitter RNG daemon

Added to portage

2026-09-15

joplin-mode - 202401009.2024
Ebuild name:

app-emacs/joplin-mode-202401009.2024

Description

GNU Emacs client for accessing Joplin notes

Added to portage

2026-09-15

jq-mode - 0.5.0_p20220610
Ebuild name:

app-emacs/jq-mode-0.5.0_p20220610

Description

Emacs major mode for editing jq queries

Added to portage

2026-09-15

liburing - 2.15
Ebuild name:

sys-libs/liburing-2.15

Description

Efficient I/O with io_uring

Added to portage

2026-09-15

mariadb-connector-odbc - 3.1.23
Ebuild name:

dev-db/mariadb-connector-odbc-3.1.23

Description

MariaDB Connector/ODBC

Added to portage

2026-09-15

mariadb-connector-odbc - 3.2.9
Ebuild name:

dev-db/mariadb-connector-odbc-3.2.9

Description

MariaDB Connector/ODBC

Added to portage

2026-09-15

mattermost-desktop-bin - 6.2.4_rc1
Ebuild name:

net-im/mattermost-desktop-bin-6.2.4_rc1

Description

Mattermost Desktop application

Added to portage

2026-09-15

mattermost-desktop-bin - 6.3.1_rc1
Ebuild name:

net-im/mattermost-desktop-bin-6.3.1_rc1

Description

Mattermost Desktop application

Added to portage

2026-09-15

nfft - 3.5.3-r1
Ebuild name:

sci-libs/nfft-3.5.3-r1

Description

library for nonequispaced discrete Fourier transformations

Added to portage

2026-09-15

winbox - 4.4
Ebuild name:

app-admin/winbox-4.4

Description

Management Software for MikroTik RouterOS

Added to portage

2026-09-15

2026-09-14
ardour - 9.8.0
Ebuild name:

media-sound/ardour-9.8.0

Description

Digital Audio Workstation

Added to portage

2026-09-14

ast-serialize - 0.11.2
Ebuild name:

dev-python/ast-serialize-0.11.2

Description

Python bindings for mypy AST serialization

Added to portage

2026-09-14

asterisk-g729 - 20.0.3.1.12
Ebuild name:

net-misc/asterisk-g729-20.0.3.1.12

Description

G.729 codec and supporting files for asterisk

Added to portage

2026-09-14

asterisk-g729 - 21.0.3.1.12
Ebuild name:

net-misc/asterisk-g729-21.0.3.1.12

Description

G.729 codec and supporting files for asterisk

Added to portage

2026-09-14

asterisk-g729 - 22.0.3.1.12
Ebuild name:

net-misc/asterisk-g729-22.0.3.1.12

Description

G.729 codec and supporting files for asterisk

Added to portage

2026-09-14

asterisk-g729 - 23.0.3.1.12
Ebuild name:

net-misc/asterisk-g729-23.0.3.1.12

Description

G.729 codec and supporting files for asterisk

Added to portage

2026-09-14

asterisk-opus - 23.0.1.3.0
Ebuild name:

net-misc/asterisk-opus-23.0.1.3.0

Description

OPUS codec and supporting files for asterisk

Added to portage

2026-09-14

atari800 - 7.2.1
Ebuild name:

games-emulation/atari800-7.2.1

Description

Emulator of Atari 8-bit computer systems and 5200 game console

Added to portage

2026-09-14

aws-c-s3 - 1.1.1-r1
Ebuild name:

dev-libs/aws-c-s3-1.1.1-r1

Description

AWS C S3 async library

Added to portage

2026-09-14

bcachefs-tools - 1.39.6
Ebuild name:

sys-fs/bcachefs-tools-1.39.6

Description

Tools for bcachefs

Added to portage

2026-09-14

ceph - 20.2.1-r5
Ebuild name:

sys-cluster/ceph-20.2.1-r5

Description

Ceph distributed filesystem

Added to portage

2026-09-14

ceph - 20.2.4-r1
Ebuild name:

sys-cluster/ceph-20.2.4-r1

Description

Ceph distributed filesystem

Added to portage

2026-09-14

coverage - 7.16.1
Ebuild name:

dev-python/coverage-7.16.1

Description

Code coverage measurement for Python

Added to portage

2026-09-14

dist-kernel - 6.1.188
Ebuild name:

virtual/dist-kernel-6.1.188

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-09-14

dist-kernel - 6.12.110
Ebuild name:

virtual/dist-kernel-6.12.110

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-09-14

dist-kernel - 6.18.52
Ebuild name:

virtual/dist-kernel-6.18.52

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-09-14

dist-kernel - 6.6.157
Ebuild name:

virtual/dist-kernel-6.6.157

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-09-14

dist-kernel - 7.2.6
Ebuild name:

virtual/dist-kernel-7.2.6

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-09-14

firefox-bin - 156.0
Ebuild name:

www-client/firefox-bin-156.0

Description

Firefox Web Browser

Added to portage

2026-09-14

gcc - 17.0.0_p20260913
Ebuild name:

sys-devel/gcc-17.0.0_p20260913

Description

The GNU Compiler Collection

Added to portage

2026-09-14

gentoo-kernel - 6.1.188
Ebuild name:

sys-kernel/gentoo-kernel-6.1.188

Description

Linux kernel built with Gentoo patches

Added to portage

2026-09-14

gentoo-kernel - 6.12.110
Ebuild name:

sys-kernel/gentoo-kernel-6.12.110

Description

Linux kernel built with Gentoo patches

Added to portage

2026-09-14

gentoo-kernel - 6.18.52
Ebuild name:

sys-kernel/gentoo-kernel-6.18.52

Description

Linux kernel built with Gentoo patches

Added to portage

2026-09-14

gentoo-kernel - 6.6.157
Ebuild name:

sys-kernel/gentoo-kernel-6.6.157

Description

Linux kernel built with Gentoo patches

Added to portage

2026-09-14

gentoo-kernel - 7.2.6
Ebuild name:

sys-kernel/gentoo-kernel-7.2.6

Description

Linux kernel built with Gentoo patches

Added to portage

2026-09-14

gentoo-kernel-bin - 6.1.188
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.1.188

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-09-14

gentoo-kernel-bin - 6.12.110
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.110

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-09-14

gentoo-kernel-bin - 6.18.52
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.18.52

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-09-14

gentoo-kernel-bin - 6.6.157
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.6.157

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-09-14

gentoo-kernel-bin - 7.2.6
Ebuild name:

sys-kernel/gentoo-kernel-bin-7.2.6

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-09-14

gentoo-kernel-modprep - 6.1.188
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.1.188

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-09-14

gentoo-kernel-modprep - 6.12.110
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.12.110

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-09-14

gentoo-kernel-modprep - 6.18.52
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.18.52

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-09-14

gentoo-kernel-modprep - 6.6.157
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.6.157

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-09-14

gentoo-kernel-modprep - 7.2.6
Ebuild name:

sys-kernel/gentoo-kernel-modprep-7.2.6

Description

Minimal subset of gentoo-kernel-bin for building modules, fo

Added to portage

2026-09-14

gentoo-sources - 6.1.188
Ebuild name:

sys-kernel/gentoo-sources-6.1.188

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-09-14

gentoo-sources - 6.12.110
Ebuild name:

sys-kernel/gentoo-sources-6.12.110

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-09-14

gentoo-sources - 6.18.52
Ebuild name:

sys-kernel/gentoo-sources-6.18.52

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-09-14

gentoo-sources - 6.6.157
Ebuild name:

sys-kernel/gentoo-sources-6.6.157

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-09-14

gentoo-sources - 7.2.6
Ebuild name:

sys-kernel/gentoo-sources-7.2.6

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-09-14

git-sources - 7.3_rc3
Ebuild name:

sys-kernel/git-sources-7.3_rc3

Description

The very latest -git version of the Linux kernel

Added to portage

2026-09-14

gmmlib - 22.10.2
Ebuild name:

media-libs/gmmlib-22.10.2

Description

Intel Graphics Memory Management Library

Added to portage

2026-09-14

gnome-extra-apps - 48.0-r1
Ebuild name:

gnome-base/gnome-extra-apps-48.0-r1

Description

Sub-meta package for the applications of GNOME

Added to portage

2026-09-14

gnome-photos - 44.0-r1
Ebuild name:

media-gfx/gnome-photos-44.0-r1

Description

Access, organize and share your photos on GNOME

Added to portage

2026-09-14

hip - 7.2.0-r2
Ebuild name:

dev-util/hip-7.2.0-r2

Description

C++ Heterogeneous-Compute Interface for Portability

Added to portage

2026-09-14

js-comint - 1.2.0
Ebuild name:

app-emacs/js-comint-1.2.0

Description

Run a JavaScript interpreter in an Emacs inferior process window

Added to portage

2026-09-14

js2-mode - 20230408
Ebuild name:

app-emacs/js2-mode-20230408

Description

Improved JavaScript editing mode for GNU Emacs

Added to portage

2026-09-14

js2-mode - 20231224
Ebuild name:

app-emacs/js2-mode-20231224

Description

Improved JavaScript editing mode for GNU Emacs

Added to portage

2026-09-14

julia-mode - 0.4_p20211023
Ebuild name:

app-emacs/julia-mode-0.4_p20211023

Description

Emacs major mode for the Julia programming language

Added to portage

2026-09-14

kineto - 0.4.0_p20260805-r1
Ebuild name:

sci-ml/kineto-0.4.0_p20260805-r1

Description

part of the PyTorch Profiler

Added to portage

2026-09-14

libpcap - 1.11.0
Ebuild name:

net-libs/libpcap-1.11.0

Description

System-independent library for user-level network packet capture

Added to portage

2026-09-14

libva-intel-media-driver - 26.3.3
Ebuild name:

media-libs/libva-intel-media-driver-26.3.3

Description

Intel Media Driver for VA-API (iHD)

Added to portage

2026-09-14

merkuro - 26.04.3-r1
Ebuild name:

app-office/merkuro-26.04.3-r1

Description

Calendar application using Akonadi

Added to portage

2026-09-14

merkuro - 26.08.1-r1
Ebuild name:

app-office/merkuro-26.08.1-r1

Description

Calendar application using Akonadi

Added to portage

2026-09-14

moodle - 4.5.14
Ebuild name:

www-apps/moodle-4.5.14

Description

The Moodle Course Management System

Added to portage

2026-09-14

moodle - 5.0.10
Ebuild name:

www-apps/moodle-5.0.10

Description

The Moodle Course Management System

Added to portage

2026-09-14

moodle - 5.2.3
Ebuild name:

www-apps/moodle-5.2.3

Description

The Moodle Course Management System

Added to portage

2026-09-14

mpg123-base - 1.33.7
Ebuild name:

media-sound/mpg123-base-1.33.7

Description

Realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3

Added to portage

2026-09-14

mpg123-output-plugins - 1.33.7
Ebuild name:

media-plugins/mpg123-output-plugins-1.33.7

Description

Plugins for mpg123, the realtime MPEG 1.0/2.0/2.5 audio

Added to portage

2026-09-14

mrouted - 4.7
Ebuild name:

net-misc/mrouted-4.7

Description

IP multicast routing daemon

Added to portage

2026-09-14

opencv - 4.14.0
Ebuild name:

media-libs/opencv-4.14.0

Description

A collection of algorithms and sample code for various computer vision pro

Added to portage

2026-09-14

openpgp-keys-thomasorgis - 20260913
Ebuild name:

sec-keys/openpgp-keys-thomasorgis-20260913

Description

OpenPGP keys used by Thomas Orgis

Added to portage

2026-09-14

openvox - 8.27.0-r1
Ebuild name:

app-admin/openvox-8.27.0-r1

Description

OpenVox agent and apply tools for Puppet-compatible configuration manag

Added to portage

2026-09-14

pandora_box - 0.24.0
Ebuild name:

sys-apps/pandora_box-0.24.0

Description

Syd's log inspector & profile writer

Added to portage

2026-09-14

pdm - 2.29.1
Ebuild name:

dev-python/pdm-2.29.1

Description

Python package and dependency manager supporting the latest PEP standards

Added to portage

2026-09-14

portalocker - 4.3.2
Ebuild name:

dev-python/portalocker-4.3.2

Description

A library for Python file locking

Added to portage

2026-09-14

puppet - 8.10.0-r2
Ebuild name:

app-admin/puppet-8.10.0-r2

Description

A system automation and configuration management software

Added to portage

2026-09-14

quickjs-ng - 0.16.2
Ebuild name:

dev-libs/quickjs-ng-0.16.2

Description

QuickJS, the Next Generation a mighty JavaScript engine

Added to portage

2026-09-14

samba - 4.24.7
Ebuild name:

net-fs/samba-4.24.7

Description

Samba Suite Version 4

Added to portage

2026-09-14

setuptools-scm - 10.3.0
Ebuild name:

dev-python/setuptools-scm-10.3.0

Description

Manage versions by scm tags via setuptools

Added to portage

2026-09-14

spectre-meltdown-checker - 26.36.0913490
Ebuild name:

app-admin/spectre-meltdown-checker-26.36.0913490

Description

Spectre & Meltdown vulnerability/mitigation checke

Added to portage

2026-09-14

spirv-llvm-translator - 17.0.27
Ebuild name:

dev-util/spirv-llvm-translator-17.0.27

Description

Bi-directional translator between SPIR-V and LLVM IR

Added to portage

2026-09-14

spirv-llvm-translator - 18.1.27
Ebuild name:

dev-util/spirv-llvm-translator-18.1.27

Description

Bi-directional translator between SPIR-V and LLVM IR

Added to portage

2026-09-14

spirv-llvm-translator - 19.1.22
Ebuild name:

dev-util/spirv-llvm-translator-19.1.22

Description

Bi-directional translator between SPIR-V and LLVM IR

Added to portage

2026-09-14

spirv-llvm-translator - 20.1.17
Ebuild name:

dev-util/spirv-llvm-translator-20.1.17

Description

Bi-directional translator between SPIR-V and LLVM IR

Added to portage

2026-09-14

spirv-llvm-translator - 21.1.11
Ebuild name:

dev-util/spirv-llvm-translator-21.1.11

Description

Bi-directional translator between SPIR-V and LLVM IR

Added to portage

2026-09-14

spirv-llvm-translator - 22.1.6
Ebuild name:

dev-util/spirv-llvm-translator-22.1.6

Description

Bi-directional translator between SPIR-V and LLVM IR

Added to portage

2026-09-14

spirv-llvm-translator - 23.1.1
Ebuild name:

dev-util/spirv-llvm-translator-23.1.1

Description

Bi-directional translator between SPIR-V and LLVM IR

Added to portage

2026-09-14

syd - 3.59.0
Ebuild name:

sys-apps/syd-3.59.0

Description

seccomp and landlock based application sandbox with support for namespaces

Added to portage

2026-09-14

syrupy - 6.1.1
Ebuild name:

dev-python/syrupy-6.1.1

Description

The sweeter pytest snapshot plugin

Added to portage

2026-09-14

vanilla-kernel - 6.1.188
Ebuild name:

sys-kernel/vanilla-kernel-6.1.188

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-09-14

vanilla-kernel - 6.12.110
Ebuild name:

sys-kernel/vanilla-kernel-6.12.110

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-09-14

vanilla-kernel - 6.18.52
Ebuild name:

sys-kernel/vanilla-kernel-6.18.52

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-09-14

vanilla-kernel - 6.6.157
Ebuild name:

sys-kernel/vanilla-kernel-6.6.157

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-09-14

vanilla-kernel - 7.2.6
Ebuild name:

sys-kernel/vanilla-kernel-7.2.6

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-09-14

vanilla-sources - 6.1.188
Ebuild name:

sys-kernel/vanilla-sources-6.1.188

Description

Full sources for the Linux kernel

Added to portage

2026-09-14

vanilla-sources - 6.12.110
Ebuild name:

sys-kernel/vanilla-sources-6.12.110

Description

Full sources for the Linux kernel

Added to portage

2026-09-14

vanilla-sources - 6.18.52
Ebuild name:

sys-kernel/vanilla-sources-6.18.52

Description

Full sources for the Linux kernel

Added to portage

2026-09-14

vanilla-sources - 6.6.157
Ebuild name:

sys-kernel/vanilla-sources-6.6.157

Description

Full sources for the Linux kernel

Added to portage

2026-09-14

vanilla-sources - 7.2.6
Ebuild name:

sys-kernel/vanilla-sources-7.2.6

Description

Full sources for the Linux kernel

Added to portage

2026-09-14

vcs-versioning - 2.4.0
Ebuild name:

dev-python/vcs-versioning-2.4.0

Description

Core VCS versioning functionality from setuptools-scm

Added to portage

2026-09-14

viking - 1.11-r1
Ebuild name:

sci-geosciences/viking-1.11-r1

Description

GPS data editor and analyzer

Added to portage

2026-09-14

xvfbwrapper - 0.2.32
Ebuild name:

dev-python/xvfbwrapper-0.2.32

Description

Python wrapper for running a display inside X virtual framebuffer

Added to portage

2026-09-14

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