link to dos2unix

Fbsd1 fbsd1 at a1poweruser.com
Sun Mar 1 01:00:28 PST 2009


I use the dos2unix console command all the time. I am tried to typing in 
that long name. I tried to do a hard link on it.
ln /usr/local/bin/dos2unix /usr/local/bin/d2u
This command is accepted without error, but when it execute it
d2u xxxx.txt
I get message ==oops you renamed me using unix2dos instead.
I also tried
ln -s /usr/local/bin/dos2unix /usr/local/bin/d2u
and got same results. ls -l does not show dos2unix as linked all ready.

What am I doing wrong here?


More information about the freebsd-questions mailing list