• Post Reply Bookmark Topic Watch Topic
  • New Topic

ln cmd  RSS feed

 
Bill Koo
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's probably too obvious, just
rm /dev/modem
and then re-link with the proper link.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!