AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  I cant enter the directory?

    Posted Thu January 14, 2010 03:15 AM

    Originally posted by: raja7


    Hi all,
    I am unable to enter the below directory.. you please find the below statements.

    Note: I am switchover to oracle user aswellas root user, i cant enter that stdb directory. But i entered ARCHIVE directory.

    #ls -ltr
    total 76615992
    drwxr-xr-x 2 oracle dba 256 Jun 27 2009 ARCHIVE
    -rw-r----- 1 oracle dba 9641984 Jun 27 2009 cn1.dbf
    drwxr-xr-x 2 oracle dba 256 Jun 27 2009 stdb
    #cd stdb
    ksh: stdb: not found
    #cd /stdb
    ksh: /stdb: not found
    #AIX-Forum


  • 2.  Re: I cant enter the directory?

    Posted Thu January 14, 2010 05:22 PM

    Originally posted by: SystemAdmin


    Try using the "ls -lq" command. On occassions, we find that people create directories with non-display characters in the name, and you need the "ls -lq" to understand what is going on.

    Alternatively, try 'cd *stdb*' this way the shell will try and help with the change.

    Regards,
    George
    #AIX-Forum


  • 3.  Re: I cant enter the directory?

    Posted Thu January 14, 2010 08:33 PM

    Originally posted by: orphy


    Another way would be to user the script command and vi the output file called typescript. All the non-printable characters (e.g. Ctrl-H) will show when you vi typescript.
    Orphy
    #AIX-Forum


  • 4.  Re: I cant enter the directory?

    Posted Thu January 14, 2010 11:29 PM

    Originally posted by: raja7


    Thanks for your inputs George and Orphy,

    Now i can open.

    Raja K
    #AIX-Forum


  • 5.  Re: I cant enter the directory?

    Posted Fri January 15, 2010 01:44 AM

    Originally posted by: SystemAdmin


    One more technique, even though you have managed to access the directory:

    ls -l | cat -vte

    r/
    R
    #AIX-Forum