The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Production Directory Structures jbrubaker UNIX for Dummies Questions & Answers 7 04-09-2009 05:09 PM
MySQL 5.0.67 (Production (5.0.x) branch) iBot Software Releases - RSS News 0 08-10-2008 02:10 PM
production server won't start please help me! NewSolarisAdmin SUN Solaris 3 05-21-2008 01:34 AM
Dominant Unix in production? etc UNIX for Dummies Questions & Answers 1 06-28-2005 11:52 AM
music production, unix nydel UNIX for Dummies Questions & Answers 1 04-08-2002 11:47 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-22-2008
dashok.83 dashok.83 is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 18
need help.. ! Production Env.

Hi !

I want to delete a softlink... with a name..

" -> ALCATEL "

FYI:-

lrwxrwxrwx 1 infomcm develop 32 Dec 3 2007 COX -> /wlsuite/om/cm/build/sandbox/COX
lrwxrwxrwx 1 infomcm develop 33 Jul 21 05:52 WL10 -> /wlsuite/om-cm/build/sandbox/WL10
lrwxrwxrwx 1 infomcm develop 7 Aug 22 14:36 -> ALCATEL
drwxr-xr-x 2 infomcm develop 1024 Aug 22 14:43 .

Pls... help ASAP.
  #2 (permalink)  
Old 08-22-2008
Ikon's Avatar
Ikon Ikon is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2008
Location: Phoenix, Arizona
Posts: 669
This should work,

Try this fist to make sure it ONLY lists the file you want to delete.

Code:
find /path/to/*ALCATE*
If that finds only that file then:

Code:
find /path/to/*ALCATE* -exec rm {} \;
  #3 (permalink)  
Old 08-22-2008
Danny.Chouinard Danny.Chouinard is offline
Registered User
  
 

Join Date: May 2008
Posts: 21
Notice that in your ls output, there doesn't seem to be a name for that link. It's possible it's been created with a non-printable character.

Try `ls -lb`

That should list it with non-printables escaped with octal codes. Like so:

Code:
$ ls -l
total 0
lrwxrwxrwx 1 danny users 9 Aug 22 15:26 ? -> /etc/motd
lrwxrwxrwx 1 danny users 9 Aug 22 15:26   -> /etc/motd
$ 

$ ls -lb
total 0
lrwxrwxrwx 1 danny users 9 Aug 22 15:26 \002 -> /etc/motd
lrwxrwxrwx 1 danny users 9 Aug 22 15:26 \  -> /etc/motd
$
In that case, I have two links. The first is a single character, Control-B (ascii code 2), the second is named ' ' (Space).
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:03 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0