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:

90314

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-11-16
aiostream - 0.8.2
Ebuild name:

dev-python/aiostream-0.8.2

Description

Generator-based operators for asynchronous iteration

Added to portage

2026-11-16

bitarray - 3.12.4
Ebuild name:

dev-python/bitarray-3.12.4

Description

Efficient arrays of booleans -- C extension

Added to portage

2026-11-16

ccache - 4.14.3
Ebuild name:

dev-util/ccache-4.14.3

Description

Fast compiler cache

Added to portage

2026-11-16

clang - 24.0.0_pre20261115
Ebuild name:

dev-python/clang-24.0.0_pre20261115

Description

Python bindings for llvm-core/clang

Added to portage

2026-11-16

cucumber-tag-expressions - 11.2.0
Ebuild name:

dev-python/cucumber-tag-expressions-11.2.0

Description

Cucumber tag expression parser

Added to portage

2026-11-16

desktop-file-utils - 0.29
Ebuild name:

dev-util/desktop-file-utils-0.29

Description

Command line utilities to work with desktop menu entries

Added to portage

2026-11-16

fastapi - 0.163.1
Ebuild name:

dev-python/fastapi-0.163.1

Description

High performance framework, easy to learn, fast to code, ready for produ

Added to portage

2026-11-16

git-big-picture - 1.4.2
Ebuild name:

dev-vcs/git-big-picture-1.4.2

Description

Visualization tool for Git repositories

Added to portage

2026-11-16

git-delete-merged-branches - 7.7.1
Ebuild name:

dev-vcs/git-delete-merged-branches-7.7.1

Description

Command-line tool to delete merged Git branches

Added to portage

2026-11-16

ivy-rich - 0.1.7
Ebuild name:

app-emacs/ivy-rich-0.1.7

Description

More friendly interface for ivy

Added to portage

2026-11-16

jam-mode - 0.3-r1
Ebuild name:

app-emacs/jam-mode-0.3-r1

Description

An Emacs major mode for editing Jam files

Added to portage

2026-11-16

lit - 24.0.0_pre20261115
Ebuild name:

dev-python/lit-24.0.0_pre20261115

Description

A stand-alone install of the LLVM suite testing tool

Added to portage

2026-11-16

llvm - 24.0.0_pre20261115
Ebuild name:

dev-ml/llvm-24.0.0_pre20261115

Description

OCaml bindings for LLVM

Added to portage

2026-11-16

localsearch - 3.11.2-r1
Ebuild name:

app-misc/localsearch-3.11.2-r1

Description

Indexer and search engine that powers desktop search for core GNOME

Added to portage

2026-11-16

localsearch - 3.12.0-r1
Ebuild name:

app-misc/localsearch-3.12.0-r1

Description

Indexer and search engine that powers desktop search for core GNOME

Added to portage

2026-11-16

niche-elf - 0.3.7
Ebuild name:

dev-python/niche-elf-0.3.7

Description

Library that optimizes some niche operations used by debugger extensions

Added to portage

2026-11-16

niche-elf - 9999
Ebuild name:

dev-python/niche-elf-9999

Description

Library that optimizes some niche operations used by debugger extensions

Added to portage

2026-11-16

numpy - 2.5.5
Ebuild name:

dev-python/numpy-2.5.5

Description

Fast array and numerical python library

Added to portage

2026-11-16

pikepdf - 10.18.2
Ebuild name:

dev-python/pikepdf-10.18.2

Description

Python library to work with pdf files based on qpdf

Added to portage

2026-11-16

pkgconf - 3.0.11
Ebuild name:

dev-util/pkgconf-3.0.11

Description

pkg-config compatible replacement with no dependencies other than C99

Added to portage

2026-11-16

pwndbg - 20261028
Ebuild name:

dev-debug/pwndbg-20261028

Description

A GDB plug-in that makes debugging with GDB suck less

Added to portage

2026-11-16

pycryptodome - 4.5.0
Ebuild name:

dev-python/pycryptodome-4.5.0

Description

A self-contained cryptographic library for Python

Added to portage

2026-11-16

pyotp - 2.12.0
Ebuild name:

dev-python/pyotp-2.12.0

Description

PyOTP is a Python library for generating and verifying one-time passwords

Added to portage

2026-11-16

pysnmp - 7.1.33
Ebuild name:

dev-python/pysnmp-7.1.33

Description

Python SNMP library

Added to portage

2026-11-16

pytest-recording - 0.15.0
Ebuild name:

dev-python/pytest-recording-0.15.0

Description

A pytest plugin to record network interactions via VCR.py

Added to portage

2026-11-16

regex - 2026.11.15
Ebuild name:

dev-python/regex-2026.11.15

Description

Alternative regular expression module to replace re

Added to portage

2026-11-16

semver - 3.1.2
Ebuild name:

dev-python/semver-3.1.2

Description

A Python module for semantic versioning

Added to portage

2026-11-16

spacenavd - 1.4
Ebuild name:

app-misc/spacenavd-1.4

Description

The spacenavd daemon provides free alternative to the 3dxserv daemon

Added to portage

2026-11-16

syslog-message - 1.2.0-r1
Ebuild name:

dev-ml/syslog-message-1.2.0-r1

Description

Syslog message parser

Added to portage

2026-11-16

tablist - 1.3
Ebuild name:

app-emacs/tablist-1.3

Description

Extended tabulated-list mode fro Emacs

Added to portage

2026-11-16

untangle - 1.3.1
Ebuild name:

dev-python/untangle-1.3.1

Description

Convert XML documents into Python objects

Added to portage

2026-11-16

2026-11-15
JSON-XS - 4.50.0
Ebuild name:

dev-perl/JSON-XS-4.50.0

Description

JSON - JSON serialising/deserialising, done correctly and fast

Added to portage

2026-11-15

antimicrox - 3.6.2
Ebuild name:

games-util/antimicrox-3.6.2

Description

Graphical program used to map keyboard buttons and mouse controls to a

Added to portage

2026-11-15

authlib - 1.9.6
Ebuild name:

dev-python/authlib-1.9.6

Description

A Python library in building OAuth and OpenID Connect servers and clients

Added to portage

2026-11-15

bracex - 3.2.3
Ebuild name:

dev-python/bracex-3.2.3

Description

Bash style brace expansion for Python

Added to portage

2026-11-15

capstone - 6.0.0_alpha11
Ebuild name:

dev-libs/capstone-6.0.0_alpha11

Description

disassembly/disassembler framework + bindings

Added to portage

2026-11-15

citus - 13.5.0
Ebuild name:

dev-db/citus-13.5.0

Description

Open-source postgresql extension for clustering/multi-node setups

Added to portage

2026-11-15

citus - 14.3.0
Ebuild name:

dev-db/citus-14.3.0

Description

Open-source postgresql extension for clustering/multi-node setups

Added to portage

2026-11-15

clamav - 0.103.12-r7
Ebuild name:

app-antivirus/clamav-0.103.12-r7

Description

Clam Anti-Virus Scanner

Added to portage

2026-11-15

claude-code - 2.1.325
Ebuild name:

dev-util/claude-code-2.1.325

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2026-11-15

crystal - 1.22.3
Ebuild name:

dev-lang/crystal-1.22.3

Description

The Crystal Programming Language

Added to portage

2026-11-15

eid-mw - 5.1.31-r1
Ebuild name:

app-crypt/eid-mw-5.1.31-r1

Description

Electronic Identity Card middleware supplied by the Belgian Federal Gove

Added to portage

2026-11-15

email-validator - 2.4.0
Ebuild name:

dev-python/email-validator-2.4.0

Description

A robust email syntax and deliverability validation library

Added to portage

2026-11-15

fastapi - 0.163.0
Ebuild name:

dev-python/fastapi-0.163.0

Description

High performance framework, easy to learn, fast to code, ready for produ

Added to portage

2026-11-15

fastfetch - 2.71.0
Ebuild name:

app-misc/fastfetch-2.71.0

Description

Fast neofetch-like system information tool

Added to portage

2026-11-15

geneweb - 7.1.0_beta2-r1
Ebuild name:

app-misc/geneweb-7.1.0_beta2-r1

Description

Genealogy software program with a Web interface

Added to portage

2026-11-15

gpgstats - 0.5-r3
Ebuild name:

app-crypt/gpgstats-0.5-r3

Description

GPGstats calculates statistics on the keys in your key-ring

Added to portage

2026-11-15

httpx2-pytest - 2.0.0
Ebuild name:

dev-python/httpx2-pytest-2.0.0

Description

Send responses to HTTPX2 using pytest

Added to portage

2026-11-15

imapclient - 4.2.0
Ebuild name:

dev-python/imapclient-4.2.0

Description

easy-to-use, pythonic, and complete IMAP client library

Added to portage

2026-11-15

jasmin - 1.2-r2
Ebuild name:

app-emacs/jasmin-1.2-r2

Description

An Emacs major mode for editing Jasmin Java bytecode assembler files

Added to portage

2026-11-15

jinx - 2.10
Ebuild name:

app-emacs/jinx-2.10

Description

Enchanted Spell Checker for GNU Emacs

Added to portage

2026-11-15

jinx - 2.11
Ebuild name:

app-emacs/jinx-2.11

Description

Enchanted Spell Checker for GNU Emacs

Added to portage

2026-11-15

jira - 2.23.0
Ebuild name:

app-emacs/jira-2.23.0

Description

Interface to Jira, visualize and manipulate Jira issues from GNU Emacs

Added to portage

2026-11-15

jja - 0.10.0
Ebuild name:

games-board/jja-0.10.0

Description

swiss army knife for chess file formats

Added to portage

2026-11-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-11-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-11-15

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-11-15

libffi - 3.8.1
Ebuild name:

dev-libs/libffi-3.8.1

Description

Portable, high level programming interface to various calling conventions

Added to portage

2026-11-15

nim - 2.4.2
Ebuild name:

dev-lang/nim-2.4.2

Description

Compiled, garbage-collected systems programming language

Added to portage

2026-11-15

opencc - 1.4.2
Ebuild name:

app-i18n/opencc-1.4.2

Description

Library for conversion between Traditional and Simplified Chinese characters

Added to portage

2026-11-15

oprofile - 1.4.0-r2
Ebuild name:

dev-util/oprofile-1.4.0-r2

Description

A transparent low-overhead system-wide profiler

Added to portage

2026-11-15

passwordsafe - 1.26.0-r1
Ebuild name:

app-admin/passwordsafe-1.26.0-r1

Description

Password manager with wxGTK based frontend

Added to portage

2026-11-15

passwordsafe - 1.26.1
Ebuild name:

app-admin/passwordsafe-1.26.1

Description

Password manager with wxGTK based frontend

Added to portage

2026-11-15

pp_loc - 2.1.0-r1
Ebuild name:

dev-ml/pp_loc-2.1.0-r1

Description

Quote and highlight input fragments at a given source location

Added to portage

2026-11-15

pylint - 4.1.4
Ebuild name:

dev-python/pylint-4.1.4

Description

Python code static checker

Added to portage

2026-11-15

pyotp - 2.11.2
Ebuild name:

dev-python/pyotp-2.11.2

Description

PyOTP is a Python library for generating and verifying one-time passwords

Added to portage

2026-11-15

pyqt6 - 6.12.1
Ebuild name:

dev-python/pyqt6-6.12.1

Description

Python bindings for the Qt framework

Added to portage

2026-11-15

pyqt6-pdf - 6.140.1
Ebuild name:

dev-python/pyqt6-pdf-6.140.1

Description

Python bindings for QtPdf

Added to portage

2026-11-15

pyqt6-webengine - 6.140.1
Ebuild name:

dev-python/pyqt6-webengine-6.140.1

Description

Python bindings for QtWebEngine

Added to portage

2026-11-15

sigscheme - 1.0.0
Ebuild name:

dev-scheme/sigscheme-1.0.0

Description

SigScheme is an R5RS Scheme interpreter for embedded use

Added to portage

2026-11-15

snowball-stemmer - 3.2.0
Ebuild name:

dev-libs/snowball-stemmer-3.2.0

Description

Snowball compiler and stemming algorithms

Added to portage

2026-11-15

softhsm - 2.7.0-r1
Ebuild name:

dev-libs/softhsm-2.7.0-r1

Description

Software PKCS11 implementation

Added to portage

2026-11-15

soupsieve - 4.1.1
Ebuild name:

dev-python/soupsieve-4.1.1

Description

A modern CSS selector implementation for BeautifulSoup

Added to portage

2026-11-15

syrupy - 7.0.1
Ebuild name:

dev-python/syrupy-7.0.1

Description

The sweeter pytest snapshot plugin

Added to portage

2026-11-15

tekore - 7.0.0
Ebuild name:

dev-python/tekore-7.0.0

Description

Spotify Web API client

Added to portage

2026-11-15

timescaledb - 2.32.0
Ebuild name:

dev-db/timescaledb-2.32.0

Description

Open-source time-series SQL database

Added to portage

2026-11-15

ut2004 - 3374_rc3
Ebuild name:

games-fps/ut2004-3374_rc3

Description

Modern build of the Unreal Tournament 2004 engine

Added to portage

2026-11-15

wcmatch - 12.0.3
Ebuild name:

dev-python/wcmatch-12.0.3

Description

Wildcard/glob file name matcher

Added to portage

2026-11-15

yara - 4.6.0
Ebuild name:

app-forensics/yara-4.6.0

Description

A malware identification and classification tool

Added to portage

2026-11-15

yara-x - 1.23.0
Ebuild name:

app-forensics/yara-x-1.23.0

Description

A malware identification and classification tool

Added to portage

2026-11-15

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