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:

67405

userrating:

average rating: 1.2 (8 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.5 (22 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
2024-05-25
bpftop - 0.5.1
Ebuild name:

dev-util/bpftop-0.5.1

Description

Process monitor for BPF programs

Added to portage

2024-05-25

calibre - 7.11.0
Ebuild name:

app-text/calibre-7.11.0

Description

Ebook management application

Added to portage

2024-05-25

cargo-tarpaulin - 0.30.0
Ebuild name:

dev-util/cargo-tarpaulin-0.30.0

Description

Cargo-Tarpaulin is a tool to determine code coverage achieved via t

Added to portage

2024-05-25

check-jsonschema - 0.28.4
Ebuild name:

app-misc/check-jsonschema-0.28.4

Description

A CLI and set of pre-commit hooks for jsonschema validation

Added to portage

2024-05-25

difftastic - 0.58.0
Ebuild name:

dev-util/difftastic-0.58.0

Description

A structural diff that understands syntax.

Added to portage

2024-05-25

fig2dev - 3.2.9-r4
Ebuild name:

media-gfx/fig2dev-3.2.9-r4

Description

Set of tools for creating TeX documents with graphics

Added to portage

2024-05-25

kwallet - 6.2.1
Ebuild name:

kde-frameworks/kwallet-6.2.1

Description

Framework providing desktop-wide storage for passwords

Added to portage

2024-05-25

kwidgetsaddons - 6.2.2
Ebuild name:

kde-frameworks/kwidgetsaddons-6.2.2

Description

An assortment of high-level widgets for common tasks

Added to portage

2024-05-25

libbpf - 1.4.2
Ebuild name:

dev-libs/libbpf-1.4.2

Description

Stand-alone build of libbpf from the Linux kernel

Added to portage

2024-05-25

pbs-installer - 2024.4.24
Ebuild name:

dev-python/pbs-installer-2024.4.24

Description

Installer for Python Build Standalone

Added to portage

2024-05-25

perl - 5.40.0_rc1
Ebuild name:

dev-lang/perl-5.40.0_rc1

Description

Larry Wall's Practical Extraction and Report Language

Added to portage

2024-05-25

perl-Archive-Tar - 3.20.10_rc
Ebuild name:

virtual/perl-Archive-Tar-3.20.10_rc

Description

Virtual for

Added to portage

2024-05-25

perl-Attribute-Handlers - 1.30.0-r1
Ebuild name:

virtual/perl-Attribute-Handlers-1.30.0-r1

Description

Virtual for

Added to portage

2024-05-25

perl-AutoLoader - 5.740.0-r13
Ebuild name:

virtual/perl-AutoLoader-5.740.0-r13

Description

Virtual for

Added to portage

2024-05-25

perl-autodie - 2.370.0
Ebuild name:

virtual/perl-autodie-2.370.0

Description

Virtual for

Added to portage

2024-05-25

perl-bignum - 0.670.0
Ebuild name:

virtual/perl-bignum-0.670.0

Description

Virtual for

Added to portage

2024-05-25

plasma-wayland-protocols - 1.13.0
Ebuild name:

dev-libs/plasma-wayland-protocols-1.13.0

Description

Plasma Specific Protocols for Wayland

Added to portage

2024-05-25

pulseaudio-qt - 1.5.0
Ebuild name:

media-libs/pulseaudio-qt-1.5.0

Description

Qt bindings for libpulse

Added to portage

2024-05-25

pythran - 0.15.0-r2
Ebuild name:

dev-python/pythran-0.15.0-r2

Description

Ahead of Time compiler for numeric kernels

Added to portage

2024-05-25

pythran - 0.16.0
Ebuild name:

dev-python/pythran-0.16.0

Description

Ahead of Time compiler for numeric kernels

Added to portage

2024-05-25

regress - 0.4.5
Ebuild name:

dev-python/regress-0.4.5

Description

Python bindings to the Rust regress crate

Added to portage

2024-05-25

scipy - 1.13.1
Ebuild name:

dev-python/scipy-1.13.1

Description

Scientific algorithms library for Python

Added to portage

2024-05-25

simdjson - 3.9.2
Ebuild name:

dev-libs/simdjson-3.9.2

Description

SIMD accelerated C++ JSON library

Added to portage

2024-05-25

stumpwm-contrib - 20180128-r1
Ebuild name:

x11-wm/stumpwm-contrib-20180128-r1

Description

Extension Modules for StumpWM

Added to portage

2024-05-25

tifffile - 2024.5.22
Ebuild name:

dev-python/tifffile-2024.5.22

Description

Read and write TIFF files

Added to portage

2024-05-25

tig - 2.5.10
Ebuild name:

dev-vcs/tig-2.5.10

Description

text mode interface for git

Added to portage

2024-05-25

zig-bin - 0.12.0
Ebuild name:

dev-lang/zig-bin-0.12.0

Description

A robust, optimal, and maintainable programming language

Added to portage

2024-05-25

2024-05-24
asteval - 0.9.33
Ebuild name:

dev-python/asteval-0.9.33

Description

Evaluator of Python expression using ast module

Added to portage

2024-05-24

awscli - 1.32.112
Ebuild name:

app-admin/awscli-1.32.112

Description

Universal Command Line Environment for AWS

Added to portage

2024-05-24

bcftools - 1.20
Ebuild name:

sci-biology/bcftools-1.20

Description

Utilities for variant calling and manipulating VCF and BCF files

Added to portage

2024-05-24

bitwarden-desktop-bin - 2024.5.0
Ebuild name:

app-admin/bitwarden-desktop-bin-2024.5.0

Description

Bitwarden password manager desktop client

Added to portage

2024-05-24

boogie - 3.1.6
Ebuild name:

dev-lang/boogie-3.1.6

Description

SMT-based program verifier

Added to portage

2024-05-24

boto3 - 1.34.112
Ebuild name:

dev-python/boto3-1.34.112

Description

The AWS SDK for Python

Added to portage

2024-05-24

botocore - 1.34.112
Ebuild name:

dev-python/botocore-1.34.112

Description

Low-level, data-driven core of boto 3

Added to portage

2024-05-24

bottleneck - 1.4.0_rc5
Ebuild name:

dev-python/bottleneck-1.4.0_rc5

Description

Fast NumPy array functions written in C

Added to portage

2024-05-24

cffi - 1.17.0_rc1
Ebuild name:

dev-python/cffi-1.17.0_rc1

Description

Foreign Function Interface for Python calling C code

Added to portage

2024-05-24

crqt-ng - 1.0.14
Ebuild name:

app-text/crqt-ng-1.0.14

Description

Cross-platform e-book reader

Added to portage

2024-05-24

docker - 7.1.0
Ebuild name:

dev-python/docker-7.1.0

Description

Python client for Docker

Added to portage

2024-05-24

earthly - 0.8.12
Ebuild name:

app-containers/earthly-0.8.12

Description

Build automation tool that executes in containers

Added to portage

2024-05-24

eisl - 3.95
Ebuild name:

dev-lang/eisl-3.95

Description

Interpreter and compiler compatible with the ISLisp standard

Added to portage

2024-05-24

fast_gettext - 3.0.0
Ebuild name:

dev-ruby/fast_gettext-3.0.0

Description

GetText but 3.5x faster, 560x less memory, clean namespace and threadsa

Added to portage

2024-05-24

fheroes2 - 1.1.0
Ebuild name:

games-engines/fheroes2-1.1.0

Description

Recreation of HoMM2 game engine

Added to portage

2024-05-24

fsautocomplete - 0.73.1
Ebuild name:

dev-dotnet/fsautocomplete-0.73.1

Description

F language server using the Language Server Protocol

Added to portage

2024-05-24

gcc - 11.4.1_p20240522
Ebuild name:

sys-devel/gcc-11.4.1_p20240522

Description

The GNU Compiler Collection

Added to portage

2024-05-24

gcc - 12.3.1_p20240523
Ebuild name:

sys-devel/gcc-12.3.1_p20240523

Description

The GNU Compiler Collection

Added to portage

2024-05-24

gentoo-functions - 1.6
Ebuild name:

sys-apps/gentoo-functions-1.6

Description

Base functions required by all Gentoo systems

Added to portage

2024-05-24

getoptlong - 0.2.1
Ebuild name:

dev-ruby/getoptlong-0.2.1

Description

Allows you to parse command line options similarly to getopt_long()

Added to portage

2024-05-24

griffe - 0.45.2
Ebuild name:

dev-python/griffe-0.45.2

Description

Signature generator for Python programs

Added to portage

2024-05-24

gtkmm - 2.24.5-r2
Ebuild name:

dev-cpp/gtkmm-2.24.5-r2

Description

C++ interface for GTK+

Added to portage

2024-05-24

htslib - 1.20
Ebuild name:

sci-libs/htslib-1.20

Description

C library for high-throughput sequencing data formats

Added to portage

2024-05-24

hypothesis - 6.102.6
Ebuild name:

dev-python/hypothesis-6.102.6

Description

A library for property based testing

Added to portage

2024-05-24

i2p - 2.3.0-r4
Ebuild name:

net-vpn/i2p-2.3.0-r4

Description

A privacy-centric, anonymous network

Added to portage

2024-05-24

jaq - 1.4.0
Ebuild name:

app-misc/jaq-1.4.0

Description

Just another JSON query tool

Added to portage

2024-05-24

jupyter-client - 8.6.2
Ebuild name:

dev-python/jupyter-client-8.6.2

Description

Jupyter protocol implementation and client libraries

Added to portage

2024-05-24

jupyterlab - 4.2.1
Ebuild name:

dev-python/jupyterlab-4.2.1

Description

JupyterLab computational environment

Added to portage

2024-05-24

lgogdownloader - 3.13-r1
Ebuild name:

games-util/lgogdownloader-3.13-r1

Description

Unofficial GOG.com downloader for Linux

Added to portage

2024-05-24

mesa - 24.0.8-r1
Ebuild name:

media-libs/mesa-24.0.8-r1

Description

OpenGL-like graphic library for Linux

Added to portage

2024-05-24

mesa - 24.1.0-r1
Ebuild name:

media-libs/mesa-24.1.0-r1

Description

OpenGL-like graphic library for Linux

Added to portage

2024-05-24

oslo-log - 6.0.0
Ebuild name:

dev-python/oslo-log-6.0.0

Description

OpenStack logging config library, configuration for all openstack project

Added to portage

2024-05-24

perf - 6.9
Ebuild name:

dev-util/perf-6.9

Description

Userland tools for Linux Performance Counters

Added to portage

2024-05-24

powershell - 0.3_pre20220805
Ebuild name:

app-emacs/powershell-0.3_pre20220805

Description

GNU Emacs mode for editing and running PowerShell code

Added to portage

2024-05-24

projectile - 2.8.0-r1
Ebuild name:

app-emacs/projectile-2.8.0-r1

Description

A project interaction library for Emacs

Added to portage

2024-05-24

pycollada - 0.8-r1
Ebuild name:

dev-python/pycollada-0.8-r1

Description

Python library for reading and writing COLLADA documents

Added to portage

2024-05-24

pypugjs - 5.11.0
Ebuild name:

dev-python/pypugjs-5.11.0

Description

Pug (Jade) syntax adapter for Django, Jinja2 and Mako templates

Added to portage

2024-05-24

pysam - 0.22.1
Ebuild name:

sci-biology/pysam-0.22.1

Description

Python interface for the SAM/BAM sequence alignment and mapping format

Added to portage

2024-05-24

pytest-reserial - 0.4.1
Ebuild name:

dev-python/pytest-reserial-0.4.1

Description

Pytest plugin for recording and replaying serial port traffic duri

Added to portage

2024-05-24

python-swiftclient - 4.6.0
Ebuild name:

dev-python/python-swiftclient-4.6.0

Description

Python bindings to the OpenStack Object Storage API

Added to portage

2024-05-24

qmplay2 - 24.05.23
Ebuild name:

media-video/qmplay2-24.05.23

Description

A Qt-based video player, which can play most formats and codecs

Added to portage

2024-05-24

raxml - 8.2.13
Ebuild name:

sci-biology/raxml-8.2.13

Description

Sequential, Parallel & Distributed Inference of Large Phylogenetic Trees

Added to portage

2024-05-24

remmina - 1.4.35-r2
Ebuild name:

net-misc/remmina-1.4.35-r2

Description

A GTK+ RDP, SPICE, VNC and SSH client

Added to portage

2024-05-24

retroshare - 0.6.7
Ebuild name:

net-p2p/retroshare-0.6.7

Description

Friend to Friend secure communication and sharing application

Added to portage

2024-05-24

rtf2html - 0.2.0-r2
Ebuild name:

app-text/rtf2html-0.2.0-r2

Description

RTF to HTML converter

Added to portage

2024-05-24

samtools - 1.20
Ebuild name:

sci-biology/samtools-1.20

Description

Utilities for analysing and manipulating the SAM/BAM alignment formats

Added to portage

2024-05-24

sentry-sdk - 2.3.1
Ebuild name:

dev-python/sentry-sdk-2.3.1

Description

Python client for Sentry

Added to portage

2024-05-24

sphinx-autoapi - 3.1.1
Ebuild name:

dev-python/sphinx-autoapi-3.1.1

Description

A new approach to API documentation in Sphinx

Added to portage

2024-05-24

sphinx-notfound-page - 1.0.2
Ebuild name:

dev-python/sphinx-notfound-page-1.0.2

Description

Create a custom 404 page with absolute URLs hardcoded

Added to portage

2024-05-24

sphobjinv - 2.3.1.1
Ebuild name:

dev-python/sphobjinv-2.3.1.1

Description

Sphinx objects.inv Inspection/Manipulation Tool

Added to portage

2024-05-24

sqlglot - 24.0.1
Ebuild name:

dev-python/sqlglot-24.0.1

Description

An easily customizable SQL parser and transpiler

Added to portage

2024-05-24

stripe - 9.8.0
Ebuild name:

dev-python/stripe-9.8.0

Description

Stripe python bindings

Added to portage

2024-05-24

sway - 1.9-r1
Ebuild name:

gui-wm/sway-1.9-r1

Description

i3-compatible Wayland window manager

Added to portage

2024-05-24

sys-filesystem - 1.4.5
Ebuild name:

dev-ruby/sys-filesystem-1.4.5

Description

Cross-platform interface for filesystem information

Added to portage

2024-05-24

tempest - 39.0.0
Ebuild name:

dev-python/tempest-39.0.0

Description

OpenStack Integration Testing

Added to portage

2024-05-24

types-setuptools - 70.0.0.20240524
Ebuild name:

dev-python/types-setuptools-70.0.0.20240524

Description

Typing stubs for setuptools

Added to portage

2024-05-24

typing-extensions - 4.12.0
Ebuild name:

dev-python/typing-extensions-4.12.0

Description

Backported and Experimental Type Hints for Python 3.7+

Added to portage

2024-05-24

ueberzug - 18.2.3
Ebuild name:

media-gfx/ueberzug-18.2.3

Description

Command line util to draw images on terminals by using child windows

Added to portage

2024-05-24

watchdog - 4.0.1
Ebuild name:

dev-python/watchdog-4.0.1

Description

Python API and shell utilities to monitor file system events

Added to portage

2024-05-24

zope-interface - 6.4_p1
Ebuild name:

dev-python/zope-interface-6.4_p1

Description

Interfaces for Python

Added to portage

2024-05-24

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 82.5 ms