The UNIX and Linux Forums  

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
setEnv.sh is found in which directory(path) sachin.tendulka UNIX for Dummies Questions & Answers 8 12-13-2007 01:38 AM
Deletion of Data from Lost+Found Directory Ranganai SUN Solaris 1 11-17-2006 02:10 PM
Deleted Lost+Found directory BG_JrAdmin SUN Solaris 1 11-06-2006 06:07 AM
Monitoring a directory for new files with .xx and executing command if found krkan Shell Programming and Scripting 4 03-14-2006 07:16 PM
lost+found directory Ben070371 UNIX for Dummies Questions & Answers 2 11-30-2003 02:11 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-19-2004
Registered User
 

Join Date: Oct 2002
Posts: 670
Solaris-ksh: directory not found

Solaris 8 using ksh:

I have a directory called apps...in that directory there are some flat files and some directories. I can't access one particular subdirectory called netscape-old. I am NOT logged in as root

Here is the info...
Code:
user@machine[/apps]>ls -l
drwxr-xr-x   3 root     other        512 Apr 17  2003 iplanet/
-rw-r--r--   1 root     other       8022 Jul 17  2002 LICENSE.txt
drwx------   2 root     root        8192 Sep  6  2002 lost+found/
drwxr-xr-x   3 root     other        512 Sep 10  2002 netscape-old/
drwxr-xr-x   3 root     other        512 Jul 15  2003 netscape/

user@machine[/apps]>cd netscape-old
ksh: netscape-old:  not found

user@machine[/apps]>ls -ld netscape-old
netscape-old: No such file or directory
Any ideas why I can't access this directory? I have read permissions on it.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-19-2004
flim flam flamma jamma
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
1) can you get into the netscape dir?
2) try ./netscape-old or use the full path to that directory.
Reply With Quote
  #3 (permalink)  
Old 02-19-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,462
From the apps directory, run the command:
/usr/bin/ls -lb
and post the results of that.
Reply With Quote
  #4 (permalink)  
Old 02-19-2004
Registered User
 

Join Date: Oct 2002
Posts: 670
I am able to get into the netscape directory and any other directory within apps ( with the exception of netscape-old ).
Here are the results from /usr/bin/ls -lb

Code:
user@machine[/apps]>/usr/bin/ls -lb
total 121604

drwxr-xr-x   3 root     other        512 Apr 17  2003 iplanet
-rw-r--r--   1 root     other       8022 Jul 17  2002 LICENSE.txt
drwx------   2 root     root        8192 Sep  6  2002 lost+found
drwxr-xr-x   3 root     other        512 Sep 10  2002 nes\010tscape-old
drwxr-xr-x   3 root     other        512 Jul 15  2003 netscape
Now netscape-old looks a lot different
I tried the following:

Code:
user@machine[/apps]>cd nes\010tscape-old
ksh: nes010tscape-old:  not found
Reply With Quote
  #5 (permalink)  
Old 02-19-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,462
That \010 is a backspace character. Try something like:
cd *-old
Reply With Quote
  #6 (permalink)  
Old 02-19-2004
Registered User
 

Join Date: Oct 2002
Posts: 670
Thanks Perderabo. It worked!

-b Forces printing of non-printable characters to be in
the octal \ddd notation.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0