delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/17/19:17:42

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
To: anoop AT alumni DOT duke DOT edu, cygwin AT cygwin DOT com
Date: Tue, 18 Sep 2001 00:55:16 +0200
MIME-Version: 1.0
Subject: Re: using aliases for cygwin commands on win2k
Reply-to: gp AT familiehaase DOT de
Message-ID: <3BA69B74.21013.2563D161@localhost>
In-reply-to: <20010917223753.730.qmail@web11104.mail.yahoo.com>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)
X-Hops: 1
X-Sender: 320081107336-0001 AT t-dialin DOT net

Anoop Ghanwani schrieb am 2001-09-17, 15:37:

>I wanted to find out how to use aliases for cygwin commands
>on win2k.  The cygwin commands are located at c:\cygwin\bin.
>I don't run bash, but I still use commands such as ls, grep, rm, mv.
>I would like to create aliases for these commands such as
>alias ls 'ls -lF' and so on.  How do I do something like this?
>
>Thanks in advance for any help.

If you would run bash, you may put them in your ~/.bashrc

alias ll='ls -l'

and so on.

But since you are not running bash...
Maybe you write little wrapper scripts, but i would recommend to run
the shell with bash. I don't know how to alias on native windows shell.

Gerrit


-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019