Found by accident: Cygwin tips that still work (most of them)


 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Found by accident: Cygwin tips that still work (most of them)
# 1  
Old 05-11-2009
Found by accident: Cygwin tips that still work (most of them)

The link:
Cygwin Tips by zzapper Linux Like Environment for Windows

The tip I found most useful:
Scroll down to this line:
Quote:
# Use mount to make windows paths appear like unix paths
It describes how to add useful Windows-side folders to your Cygwin install by changing them into POSIX paths, accessible via cd /<shortcutname> but invisible to Windows Explorer, unlike soft symlinks and .lnk files. It eliminates the annoyance to treat the spaces in folder names with backwhacks or enclosing the whole path in quotes.

I still have two aliases that point my Cygwin rxvt (or whatever terminal I happen to be using) to my XP Desktop and My Documents folders, and for practical reasons I intend to keep them in my *aliases file, but I doubt if I'll use them as often with these new mount points in place.

BZT
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

File not found when using cygwin

files="UserRightAssignment.txt" echo $files echo '1.1.1.2.2.1;' `grep -ai '^Modify an object label' $files`Hi there, I got such an output when using unix,please advise 1.1.1.2.2.1; : No such file or directoryxt I am using sh ura.sh (3 Replies)
Discussion started by: alvinoo
3 Replies

2. UNIX for Advanced & Expert Users

Compiling libcdio-paranoia, gcc found - C compiler doesnt work

Heyas I'm currently trying to make a fresh build from scratch/source of FFMPEG. This said, it brings quite a tail with it, so the use of a script was very obvious. Anyway, i'm currently stuck at named package. Lets ignore the tarball/download line, as the error is after. Commands... (0 Replies)
Discussion started by: sea
0 Replies

3. IP Networking

Discussion at work, would a router work pluging a cable in wan1 and lan1?

hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view situation a router, with linux of some sort, dhcp client requesting for ip in wan1 (as usual with wan ports) dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies

4. Shell Programming and Scripting

script under cygwin suddenly says command not found

Running bash in cygwin under 2003 Server. I run about 6 shell windows. Every now and then when I check the machine, all of the scripts are scrolling and returning /usr/bin/whatever: command not found. I checked the event log for a windows event that would cause it, but there was nothing. I... (9 Replies)
Discussion started by: gman804s
9 Replies

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

6. UNIX for Advanced & Expert Users

Accident use of arp -d command:Not able to login to server

Hi , I am working in a Unix Solaris server which has apache installed. I was logged into the server using ssh . I accidentally ran the arp -d command with the hostname of the logged in server and deleted the entry :confused:. Now I am not able to access the server. Is there anyway I can access... (14 Replies)
Discussion started by: Blunder49
14 Replies

7. UNIX for Dummies Questions & Answers

tips

hi... I want some tips for standardizing shell script code... (1 Reply)
Discussion started by: xerox
1 Replies

8. UNIX for Advanced & Expert Users

Remove /dev/sdb partition using fdisk - BY ACCIDENT!

Hello everyone - Please forgive me if I violate the forum's etiquette as this is my very first post. I'm posting this on both the dummies and the advance section with the hope for any responses. I stumbled on this forum while frantically looking for an answer to a dumb, ignorant thing I did... (5 Replies)
Discussion started by: kevindoman
5 Replies

9. UNIX for Dummies Questions & Answers

Remove /dev/sdb partition using fdisk - BY ACCIDENT!

Hello everyone - Please forgive me if I violate the forum's etiquette as this is my very first post. I'm posting this on both the dummies and the advance section with the hope for any responses. I stumbled on this forum while frantically looking for an answer to a dumb, ignorant thing I did... (2 Replies)
Discussion started by: kevindoman
2 Replies

10. Shell Programming and Scripting

how can i check in csh if command found or not found ?

hello all im trying to use in sun Solaris the information received from the top command now i several machines that dont have install the top program so when im running the script im geting error saying after im running this code : set MemoryInfo = `top | grep Memory` if (... (2 Replies)
Discussion started by: umen
2 Replies
Login or Register to Ask a Question
File::Spec::Cygwin(3pm) 				 Perl Programmers Reference Guide				   File::Spec::Cygwin(3pm)

NAME
File::Spec::Cygwin - methods for Cygwin file specs SYNOPSIS
require File::Spec::Cygwin; # Done internally by File::Spec if needed DESCRIPTION
See File::Spec and File::Spec::Unix. This package overrides the implementation of these methods, not the semantics. This module is still in beta. Cygwin-knowledgeable folks are invited to offer patches and suggestions. canonpath Any "" (backslashes) are converted to "/" (forward slashes), and then File::Spec::Unix canonpath() is called on the result. file_name_is_absolute True is returned if the file name begins with "drive_letter:", and if not, File::Spec::Unix file_name_is_absolute() is called. tmpdir (override) Returns a string representation of the first existing directory from the following list: $ENV{TMPDIR} /tmp $ENV{'TMP'} $ENV{'TEMP'} C:/temp Since Perl 5.8.0, if running under taint mode, and if the environment variables are tainted, they are not used. case_tolerant Override Unix. Cygwin case-tolerance depends on managed mount settings and as with MsWin32 on GetVolumeInformation() $ouFsFlags == FS_CASE_SENSITIVE, indicating the case significance when comparing file specifications. Default: 1 COPYRIGHT
Copyright (c) 2004,2007 by the Perl 5 Porters. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.1 2010-04-27 File::Spec::Cygwin(3pm)