Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My Dot (i.e ".") files are not displaying at the top ... why? 1

Status
Not open for further replies.

cptk

Technical User
Mar 18, 2003
305
0
0
US
Why, when I run a ls -la command, I'm seeing my dot files Innerspecred in my list? There must be a setting somewhere that is screwing me up ... help, this is simply #@%*& frustrating!!

It's as if the listing is not recognizing the leading dot and sorting on the 2nd character.
EXAMPLE:

[No View Set]:betta:/export/home2/cprv>ls -la
total 1154
drwxr-xr-x 36 cprv users 1536 Oct 13 15:17 .
drwxr-xr-x 34 root root 1536 Jul 26 14:57 ..
drwxr-xr-x 3 cprv users 512 Dec 5 2003 apps
-rw-rw-r-- 1 cprv users 0 Nov 14 2002 .ccase_c
drwxrwxr-x 3 cprv users 512 Feb 25 2004 Ccode
drwxrwxr-x 2 cprv users 512 Dec 5 2003 crons
-rw-rw-r-- 1 cprv users 7 Oct 12 18:52 currnt_v
drwxrwxr-x 4 cprv users 512 Feb 6 2004 D2
-rw-rw-r-- 1 cprv ddts 321 Dec 3 2002 .ddtsrc
drwx------ 2 cprv users 512 Dec 28 2000 DeadLet
-rw-rw-r-- 1 cprv users 191 Apr 16 2004 .deskdef
drwxr-xr-x 14 cprv users 512 Oct 13 14:58 .dt
-rwxr-xr-x 1 cprv users 5111 Sep 10 1999 .dtprof
drwxr-xr-x 9 cprv users 512 Oct 12 18:57 emu_files
drwxr-xr-x 3 cprv users 512 Oct 13 14:31 emu_OLD
-rw-rw-r-- 1 cprv users 0 Nov 8 2002 .gui_rm
drwxr-xr-x 4 cprv users 512 Jan 7 2004 HADDS_ST
drwxr-x--- 2 cprv users 512 May 17 2002 .hh
drwxr-xr-x 2 cprv users 512 Dec 5 2003 javaCode
drwxr-xr-x 2 cprv users 512 Jul 10 2001 .jetadmin
drwxr-xr-x 2 cprv users 512 Apr 26 21:31 .jpiu
drwxr-xr-x 4 cprv users 1024 Apr 20 14:17 KEEPERS
.
.
.

thanks for any thoughts (it's not a show stopper obviously, but it's bugging me!!)
 
Have you tried this ?
LANG=C ls -la

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
LANG=C ls -la
didn't resolve it ...
 
And this ?
LC_COLLATE=C ls -la

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
That's it ... thanks PHV !!
 
Just an update ...

The effect I was experiencing was due to the solaris upgrade from version 8 to version 9.

Read the man page for 'ls' in Solaris version 9 for more insight.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top