File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes ln cmd Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply Bookmark "ln cmd" Watch "ln cmd" New topic
Author

ln cmd

Bill Koo
Greenhorn

Joined: Feb 05, 2002
Posts: 13
I want to type:
ln -s /dev/ttyS2 /dev/modem
but mistyped to:
ln -s /dev/ttys2 /dev/modem
I want to break this link,but forget the cmd.Now whenever ls -l /dev/modem,always -->/dev/ttys2.I want it -->/dev/ttyS2. I haven't find the cmd in man.Any idea?
Bill
[ February 11, 2002: Message edited by: Bill Koo ]
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
It's probably too obvious, just
rm /dev/modem
and then re-link with the proper link.


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
 
 
subject: ln cmd
 
Threads others viewed
executing shell script from java
How to change the default icon of a shortcut file on Mac using Java
Modem question
LINUX SERIAL PORT
to check the modem
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com