Sponsored Content
Full Discussion: using alias in cygwin unix
Top Forums Shell Programming and Scripting using alias in cygwin unix Post 302277811 by npatwardhan on Sunday 18th of January 2009 07:59:42 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
savemeta(8)						      System Manager's Manual						       savemeta(8)

NAME
savemeta - Takes a snapshot of an AdvFS domain's metadata SYNOPSIS
/sbin/advfs/savemeta [-LSTt] [-f fileset] domain savedir OPTIONS
Saves the structure information from the frag file in each named fileset to the savedir. If this option is not specified, the default is to write no frag file information to the savedir. Do not save the domain's log file to the savedir. If this option is not specified, the default is to write the log file to the savedir. Do not save each volume's storage bitmap (SBM) to the savedir. If this option is not specified, the default is to write each volume's SBM to the savedir. Do not save the domain's root tag file to the savedir. If this option is not specified, the default is to write the root tag file to the savedir. Do not save the fileset tag files to the savedir. If this option is not specified, the default is to write the fileset tag files to the savedir. OPERANDS
The name of the AdvFS file domain from which you want to obtain the metadata. The name of a directory into which the saved metadata is to be written. DESCRIPTION
This script saves a snapshot of the specified domain metadata into a directory, savedir, that has the following structure: savedir/volume_directory/RBMT_file /BMT_file /SBM_file /log_file /tag_file /fileset_directory/frag_file /tag_file By default, the savemeta command saves all the bitfile metadata (BMT), all the SBM, the log and root tag files, and the fileset tag files. If you specify the -f option, the command saves the frag file information for each fileset. RESTRICTIONS
You must be the root user to use this command. EXIT STATUS
This command returns a 0 (zero) on success. Otherwise, it returns a 1 and displays an error diagnostic. FILES
The command path. SEE ALSO
Commands: nvbmtpg(8), nvfragpg(8), nvlogpg(8), nvtagpg(8), vsbmpg(8) savemeta(8)
All times are GMT -4. The time now is 10:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy