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:

82564

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
2025-12-22
adwaita-icon-theme - 49.0
Ebuild name:

x11-themes/adwaita-icon-theme-49.0

Description

GNOME default icon theme

Added to portage

2025-12-22

expected-lite - 0.10.0
Ebuild name:

dev-cpp/expected-lite-0.10.0

Description

Expected objects in C++11 and later in a single-file header-only libra

Added to portage

2025-12-22

gcc - 16.0.0_p20251221
Ebuild name:

sys-devel/gcc-16.0.0_p20251221

Description

The GNU Compiler Collection

Added to portage

2025-12-22

git-sources - 6.19_rc2
Ebuild name:

sys-kernel/git-sources-6.19_rc2

Description

The very latest -git version of the Linux kernel

Added to portage

2025-12-22

gnome-backgrounds - 49.0
Ebuild name:

x11-themes/gnome-backgrounds-49.0

Description

A set of backgrounds packaged with the GNOME desktop

Added to portage

2025-12-22

idea-community - 2025.3.1
Ebuild name:

dev-util/idea-community-2025.3.1

Description

A complete toolset for web, mobile and enterprise development

Added to portage

2025-12-22

langkit - 25.0.0-r6
Ebuild name:

dev-ada/langkit-25.0.0-r6

Description

A Python framework to generate language parsers

Added to portage

2025-12-22

libnotify - 0.8.7
Ebuild name:

x11-libs/libnotify-0.8.7

Description

A library for sending desktop notifications

Added to portage

2025-12-22

lxterminal - 0.4.0_p20230917-r1
Ebuild name:

lxde-base/lxterminal-0.4.0_p20230917-r1

Description

Lightweight vte-based tabbed terminal emulator for LXDE

Added to portage

2025-12-22

mpv - 0.41.0
Ebuild name:

media-video/mpv-0.41.0

Description

Media player for the command line

Added to portage

2025-12-22

mpvqt - 1.1.1-r2
Ebuild name:

media-libs/mpvqt-1.1.1-r2

Description

libmpv wrapper for QtQuick2 and QML

Added to portage

2025-12-22

pyro5 - 5.16
Ebuild name:

dev-python/pyro5-5.16

Description

Distributed object middleware for Python (RPC)

Added to portage

2025-12-22

qgis - 3.44.6
Ebuild name:

sci-geosciences/qgis-3.44.6

Description

User friendly Geographic Information System

Added to portage

2025-12-22

qmidiarp - 0.7.1_p20251217-r1
Ebuild name:

media-sound/qmidiarp-0.7.1_p20251217-r1

Description

Arpeggiator, sequencer and MIDI LFO for ALSA

Added to portage

2025-12-22

vte - 0.80.4-r1
Ebuild name:

gui-libs/vte-0.80.4-r1

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

vte - 0.80.4-r1
Ebuild name:

x11-libs/vte-0.80.4-r1

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

vte - 0.82.2
Ebuild name:

gui-libs/vte-0.82.2

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

vte - 0.82.2
Ebuild name:

x11-libs/vte-0.82.2

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

vte-common - 0.82.2
Ebuild name:

gui-libs/vte-common-0.82.2

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

xfce4-terminal - 1.1.4-r1
Ebuild name:

x11-terms/xfce4-terminal-1.1.4-r1

Description

A terminal emulator for the Xfce desktop environment

Added to portage

2025-12-22

xfce4-terminal - 1.1.5-r1
Ebuild name:

x11-terms/xfce4-terminal-1.1.5-r1

Description

A terminal emulator for the Xfce desktop environment

Added to portage

2025-12-22

2025-12-21
borgmatic - 2.0.13
Ebuild name:

app-backup/borgmatic-2.0.13

Description

Automatically create, prune and verify backups with borgbackup

Added to portage

2025-12-21

debootstrap - 1.0.142
Ebuild name:

dev-util/debootstrap-1.0.142

Description

Debian/Ubuntu bootstrap scripts

Added to portage

2025-12-21

dmidecode - 3.7
Ebuild name:

sys-apps/dmidecode-3.7

Description

DMI (Desktop Management Interface) table related utilities

Added to portage

2025-12-21

doggo - 1.1.3
Ebuild name:

net-dns/doggo-1.1.3

Description

Command-line DNS Client for Humans

Added to portage

2025-12-21

ed - 1.22.3
Ebuild name:

sys-apps/ed-1.22.3

Description

Your basic line editor

Added to portage

2025-12-21

epiphany - 49.2
Ebuild name:

www-client/epiphany-49.2

Description

GNOME webbrowser based on Webkit

Added to portage

2025-12-21

flog - 4.9.1
Ebuild name:

dev-ruby/flog-4.9.1

Description

Flog reports the most tortured code in an easy to read pain report

Added to portage

2025-12-21

fq - 0.16.0
Ebuild name:

dev-util/fq-0.16.0

Description

Tool for working with binary data (app-misc/jq for binary formats)

Added to portage

2025-12-21

gammastep - 2.0.11-r1
Ebuild name:

x11-misc/gammastep-2.0.11-r1

Description

A screen color temperature adjusting software

Added to portage

2025-12-21

gcc - 13.4.1_p20251218
Ebuild name:

sys-devel/gcc-13.4.1_p20251218

Description

The GNU Compiler Collection

Added to portage

2025-12-21

gcc - 14.3.1_p20251219
Ebuild name:

sys-devel/gcc-14.3.1_p20251219

Description

The GNU Compiler Collection

Added to portage

2025-12-21

gcc - 15.2.1_p20251220
Ebuild name:

sys-devel/gcc-15.2.1_p20251220

Description

The GNU Compiler Collection

Added to portage

2025-12-21

git-cola - 4.16.1
Ebuild name:

dev-vcs/git-cola-4.16.1

Description

The highly caffeinated git GUI

Added to portage

2025-12-21

gitea - 1.25.3
Ebuild name:

www-apps/gitea-1.25.3

Description

A painless self-hosted Git service

Added to portage

2025-12-21

glibc - 2.41-r8
Ebuild name:

sys-libs/glibc-2.41-r8

Description

GNU libc C library

Added to portage

2025-12-21

glibc - 2.42-r3
Ebuild name:

sys-libs/glibc-2.42-r3

Description

GNU libc C library

Added to portage

2025-12-21

gnatcoll-db - 26.0.0
Ebuild name:

dev-ada/gnatcoll-db-26.0.0

Description

GNAT Component Collection

Added to portage

2025-12-21

gnome-connections - 49.0
Ebuild name:

net-misc/gnome-connections-49.0

Description

A remote desktop client for the GNOME desktop environment

Added to portage

2025-12-21

gnome-font-viewer - 49.0
Ebuild name:

media-gfx/gnome-font-viewer-49.0

Description

Font viewer utility for GNOME

Added to portage

2025-12-21

gnome-maps - 49.2
Ebuild name:

sci-geosciences/gnome-maps-49.2

Description

A map application for GNOME

Added to portage

2025-12-21

gnome-music - 49.1
Ebuild name:

media-sound/gnome-music-49.1

Description

Music management for Gnome

Added to portage

2025-12-21

gnome-online-accounts - 3.54.8
Ebuild name:

net-libs/gnome-online-accounts-3.54.8

Description

GNOME framework for accessing online accounts

Added to portage

2025-12-21

gnome-online-accounts - 3.56.2
Ebuild name:

net-libs/gnome-online-accounts-3.56.2

Description

GNOME framework for accessing online accounts

Added to portage

2025-12-21

gnome-usage - 48.0
Ebuild name:

sys-process/gnome-usage-48.0

Description

A nice way to view information about use of system resources

Added to portage

2025-12-21

gphoto2 - 2.5.32
Ebuild name:

media-gfx/gphoto2-2.5.32

Description

Free, redistributable digital camera software application

Added to portage

2025-12-21

humanize - 4.15.0
Ebuild name:

dev-python/humanize-4.15.0

Description

Common humanization utilities

Added to portage

2025-12-21

igbinary - 3.2.15_p20251126
Ebuild name:

dev-php/igbinary-3.2.15_p20251126

Description

A fast drop-in replacement for the standard PHP serialize

Added to portage

2025-12-21

labwc - 0.9.2-r1
Ebuild name:

gui-wm/labwc-0.9.2-r1

Description

Openbox alternative for wayland

Added to portage

2025-12-21

labwc - 0.9.3-r1
Ebuild name:

gui-wm/labwc-0.9.3-r1

Description

Openbox alternative for wayland

Added to portage

2025-12-21

libgphoto2 - 2.5.33
Ebuild name:

media-libs/libgphoto2-2.5.33

Description

Library that implements support for numerous digital cameras

Added to portage

2025-12-21

libnetfilter_acct - 1.0.3-r1
Ebuild name:

net-libs/libnetfilter_acct-1.0.3-r1

Description

Library providing interface to extended accounting infrastructu

Added to portage

2025-12-21

libpanel - 1.10.3
Ebuild name:

gui-libs/libpanel-1.10.3

Description

A dock/panel library for GTK 4

Added to portage

2025-12-21

libvisual-projectm - 2.1.2
Ebuild name:

media-plugins/libvisual-projectm-2.1.2

Description

A libvisual graphical music visualization plugin similar to

Added to portage

2025-12-21

libwpe - 1.16.3
Ebuild name:

gui-libs/libwpe-1.16.3

Description

Platform-agnostic interfaces for WPE WebKit

Added to portage

2025-12-21

magiccube4d - 4.3.343-r1
Ebuild name:

games-puzzle/magiccube4d-4.3.343-r1

Description

Four-dimensional analog of Rubik's cube

Added to portage

2025-12-21

mobile-broadband-provider-info - 20251101
Ebuild name:

net-misc/mobile-broadband-provider-info-20251101

Description

Database of mobile broadband service providers

Added to portage

2025-12-21

mpg123-base - 1.33.4
Ebuild name:

media-sound/mpg123-base-1.33.4

Description

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

Added to portage

2025-12-21

mpg123-output-plugins - 1.33.4
Ebuild name:

media-plugins/mpg123-output-plugins-1.33.4

Description

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

Added to portage

2025-12-21

mycli - 1.42.0
Ebuild name:

dev-db/mycli-1.42.0

Description

CLI for MySQL Database with auto-completion and syntax highlighting

Added to portage

2025-12-21

networkmanager - 1.54.3
Ebuild name:

net-misc/networkmanager-1.54.3

Description

A set of co-operative tools that make networking simple and straight

Added to portage

2025-12-21

nodeenv - 1.10.0
Ebuild name:

dev-python/nodeenv-1.10.0

Description

Node.js virtual environment builder

Added to portage

2025-12-21

numpy - 2.4.0
Ebuild name:

dev-python/numpy-2.4.0

Description

Fast array and numerical python library

Added to portage

2025-12-21

osinfo-db - 20251212
Ebuild name:

sys-apps/osinfo-db-20251212

Description

Osinfo database for virtualization provisioning tools

Added to portage

2025-12-21

pecl-imagick - 3.8.1
Ebuild name:

dev-php/pecl-imagick-3.8.1

Description

PHP wrapper for the ImageMagick library

Added to portage

2025-12-21

pecl-redis - 6.3.0
Ebuild name:

dev-php/pecl-redis-6.3.0

Description

PHP extension for interfacing with Redis

Added to portage

2025-12-21

pkgcraft-tools - 0.0.31
Ebuild name:

sys-apps/pkgcraft-tools-0.0.31

Description

pkgcraft-based tools for Gentoo

Added to portage

2025-12-21

pkgcruft - 0.0.18
Ebuild name:

dev-util/pkgcruft-0.0.18

Description

QA library and tools based on pkgcraft

Added to portage

2025-12-21

pkgcruft-git - 0.0.5
Ebuild name:

dev-vcs/pkgcruft-git-0.0.5

Description

QA support for verifying git commits via pkgcruft

Added to portage

2025-12-21

radicale - 3.5.10
Ebuild name:

www-apps/radicale-3.5.10

Description

A simple CalDAV calendar server

Added to portage

2025-12-21

rb_sys - 0.9.123
Ebuild name:

dev-ruby/rb_sys-0.9.123

Description

Easily build Ruby native extensions in Rust

Added to portage

2025-12-21

redshift - 1.12-r14
Ebuild name:

x11-misc/redshift-1.12-r14

Description

A screen color temperature adjusting software

Added to portage

2025-12-21

rest - 0.10.2
Ebuild name:

net-libs/rest-0.10.2

Description

Helper library for RESTful services

Added to portage

2025-12-21

rhythmbox - 3.4.9
Ebuild name:

media-sound/rhythmbox-3.4.9

Description

Music management and playback software for GNOME

Added to portage

2025-12-21

ruby_parser - 3.22.0
Ebuild name:

dev-ruby/ruby_parser-3.22.0

Description

A ruby parser written in pure ruby

Added to portage

2025-12-21

safeeyes - 3.3.0
Ebuild name:

x11-misc/safeeyes-3.3.0

Description

Linux alternative to EyeLeo

Added to portage

2025-12-21

scikit-image - 0.26.0
Ebuild name:

dev-python/scikit-image-0.26.0

Description

Image processing routines for SciPy

Added to portage

2025-12-21

shotwell - 0.32.14
Ebuild name:

media-gfx/shotwell-0.32.14

Description

Open source photo manager for GNOME

Added to portage

2025-12-21

simsimd - 6.5.12
Ebuild name:

dev-python/simsimd-6.5.12

Description

Fastest SIMD-Accelerated Vector Similarity Functions for x86 and Arm

Added to portage

2025-12-21

sip - 6.15.1
Ebuild name:

dev-python/sip-6.15.1

Description

Python bindings generator for C/C++ libraries

Added to portage

2025-12-21

smbus2 - 0.6.0
Ebuild name:

dev-python/smbus2-0.6.0

Description

A drop-in replacement for smbus-cffi/smbus-python in pure Python

Added to portage

2025-12-21

soju - 0.10.1
Ebuild name:

net-irc/soju-0.10.1

Description

soju is a user-friendly IRC bouncer

Added to portage

2025-12-21

subtitleeditor - 0.55.0
Ebuild name:

media-video/subtitleeditor-0.55.0

Description

GTK+3 subtitle editing tool

Added to portage

2025-12-21

widelands - 1.3
Ebuild name:

games-strategy/widelands-1.3

Description

Game similar to Settlers 2

Added to portage

2025-12-21

wpebackend-fdo - 1.16.1
Ebuild name:

gui-libs/wpebackend-fdo-1.16.1

Description

WPE backend designed for Linux desktop systems

Added to portage

2025-12-21

xdg-desktop-portal-gnome - 49.0
Ebuild name:

sys-apps/xdg-desktop-portal-gnome-49.0

Description

Backend implementation for xdg-desktop-portal using GNOME

Added to portage

2025-12-21

zen-sources - 6.18.2
Ebuild name:

sys-kernel/zen-sources-6.18.2

Description

The Zen Kernel Live Sources

Added to portage

2025-12-21

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