using alias in cygwin unix


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting using alias in cygwin unix
# 1  
Old 01-18-2009
using alias in cygwin unix

i have a cygwin unix and i would like to use alias to save a cd command.. however i lose this alias when i close out cygwin and log back in.. is there any way to save this command so that i can use it every time i log in? i am using cygwin on windows xp. thanks.
# 2  
Old 01-18-2009
Write that alias into your .bashrc or .bash_profile
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

How to run UNIX alias from plink?

Hi, I am new to unix and plink in general. I want to run plink.exe on windows to execute alias command on unix. Is it possible? I can run simple unix commands from plink for ex: plink.exe -pw mypass myusername@hostip touch filename It successfully creates the "filename" file on the hostip host. ... (1 Reply)
Discussion started by: Ivanhou8219
1 Replies

2. Windows & DOS: Issues & Discussions

Cygwin script to transfer file from windows to UNIX

Hi, Objective is to transfer files from windows server to Unix server using cygwin. I have installed cygwin, and I manually execute commands and transfer files from windows to unix using sftp. These are steps I execute 1) Run cmd 2) Run cygwin 3) At prompt type sftp user1@uniserver 4) lcd... (2 Replies)
Discussion started by: wahi80
2 Replies

3. Shell Programming and Scripting

Execute a shell script in UNIX server from Cygwin

Hi All, We have shell scripts in UNIX ( Sun OS ) server. Also in my windows machine i have Cygwin installed. Now is there a way to execute Shell script available in UNIX server from Cygwin? (4 Replies)
Discussion started by: Girish19
4 Replies

4. HP-UX

UNIX apps on CYGWIN

Hi all, am new to the forum. i would like to check with the community whether anyone had tried to run self-developed UNIX apps on the CYGWIN? Does the CYGWIN presents a friendly environment to host the UNIX apps? thanks :) (14 Replies)
Discussion started by: lchunleo
14 Replies

5. UNIX for Dummies Questions & Answers

How can I rebuild applications that developed in UNIX? I need to use it in windows os with cygwin

I need to rebuild an application that developed in unix environment and run in windows OS with cygwin. so How can I rebuild from the source code? is there any one who said something on this regard? (2 Replies)
Discussion started by: bejirond
2 Replies

6. UNIX for Dummies Questions & Answers

look up Unix server alias name

Good morning everyone, does anyone know what Unix command to use to lookup a servers alias name, thanks (3 Replies)
Discussion started by: abbya
3 Replies

7. Shell Programming and Scripting

opening new instance of cygwin from withing cygwin

I'm using cygwin on win7, What I would like to do is something like this: cygstart cygwin tail -f /foo/test.log | perl -pe 's/error/\e I know I can start a new instance using either of these: mintty -e ... cygstart tail ... But neither of those open in ANSI mode, so I can't do... (0 Replies)
Discussion started by: Validatorian
0 Replies

8. UNIX for Dummies Questions & Answers

Unix Emulator Cygwin

Hi, I installed unix emulator cygwin, it does not allow me to open vi editor. Can anybody know if cygwin supports vi. if not can somebody please refer a good emulator. (5 Replies)
Discussion started by: siquadri
5 Replies

9. Programming

How to complie a c++ program in Unix or Cygwin?

Can I use gcc to compile a piece of c++ code? Do I need to name the file that contains the code as .cpp? Thank you (14 Replies)
Discussion started by: meili100
14 Replies

10. Windows & DOS: Issues & Discussions

Basic Unix Commands for cygwin

Hi. I'm New user for this Forum.Presently i'm working with Cygwin I want to know the basic commands that will be used for Cygwin. Can anyone guide me on this regards Thanks & Regards Sanjay (0 Replies)
Discussion started by: sanjay.karthik
0 Replies
Login or Register to Ask a Question