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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-19-2004
dangral dangral is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2002
Posts: 699
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.
  #2 (permalink)  
Old 02-19-2004
Optimus_P Optimus_P is offline Forum Advisor  
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.
  #3 (permalink)  
Old 02-19-2004
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
From the apps directory, run the command:
/usr/bin/ls -lb
and post the results of that.
  #4 (permalink)  
Old 02-19-2004
dangral dangral is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2002
Posts: 699
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
  #5 (permalink)  
Old 02-19-2004
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
That \010 is a backspace character. Try something like:
cd *-old
  #6 (permalink)  
Old 02-19-2004
dangral dangral is offline Forum Advisor  
Registered User
  
 

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

-b Forces printing of non-printable characters to be in
the octal \ddd notation.
Closed Thread

Bookmarks

Tags
solaris

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 01:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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