Sponsored Content
Operating Systems Solaris junk characters in ls -l output in solaris10 Post 302304315 by ragtechy on Monday 6th of April 2009 05:42:20 AM
Old 04-06-2009
MySQL

Quote:
Originally Posted by seg
Please give output of:
ls -l
locale
cat /etc/default/init
Dear seg,

Please find the data as below
ls -l output
--------------
total 26437
lrwxrwxrwx 1 root root 9 मार्च 28 15:27 bin -> ./usr/bin
drwxr-xr-x 6 root sys 512 मार्च 28 15:35 boot
drwxr-xr-x 2 root root 512 मार्च 28 15:40 cdrom
-rw------- 1 root root 13217842 ...प्रैल 4 14:00 core
drwxr-xr-x 17 root sys 4096 ...प्रैल 6 14:52 dev
drwxr-xr-x 2 root sys 512 ...प्रैल 6 14:37 devices
drwxr-xr-x 85 root sys 4608 ...प्रैल 6 14:52 etc
drwxr-xr-x 2 root sys 512 मार्च 28 15:46 export
dr-xr-xr-x 3 root root 512 मार्च 28 15:36 home
-rw-r--r-- 1 root root 798 ...प्रैल 6 14:41 init.txt
drwxr-xr-x 16 root sys 512 मार्च 28 15:34 kernel
-rw-r--r-- 1 root root 139 ...प्रैल 6 14:41 lc.txt
drwxr-xr-x 7 root bin 5632 मार्च 28 16:17 lib
-rw-r--r-- 1 root root 139 ...प्रैल 6 14:41 locale.txt
drwx------ 2 root root 8192 मार्च 28 15:27 lost+found
-rw-r--r-- 1 root root 0 ...प्रैल 6 14:53 lsl.txt
drwxr-xr-x 2 root sys 512 मार्च 28 15:27 mnt
dr-xr-xr-x 1 root root 1 ...प्रैल 6 14:37 net
-rw-r--r-- 1 root root 0 मार्च 28 15:35 noautoshutdown
drwxr-xr-x 5 root sys 512 मार्च 28 16:23 opt
drwxr-xr-x 4 root sys 512 मार्च 28 15:32 platform
dr-xr-xr-x 36 root root 257984 ...प्रैल 6 14:53 proc
drwxr-xr-x 3 root nobody 512 ...प्रैल 6 14:52 rmdisk
-rw-r--r-- 1 root root 24 ...प्रैल 3 17:31 S99ddc
drwxr-xr-x 2 root sys 1024 मार्च 28 15:48 sbin
drwxr-xr-x 4 root root 512 मार्च 28 15:27 system
drwxrwxrwt 3 root sys 254 ...प्रैल 6 14:52 tmp
drwxr-xr-x 39 root sys 1024 मार्च 28 16:20 usr
drwxr-xr-x 44 root sys 1024 ...प्रैल 3 17:38 var
dr-xr-xr-x 6 root root 512 ...प्रैल 6 14:37 vol

locale
---------
LANG=
LC_CTYPE=hi_IN.UTF-8
LC_NUMERIC=hi_IN.UTF-8
LC_TIME=hi_IN.UTF-8
LC_COLLATE=hi_IN.UTF-8
LC_MONETARY=hi_IN.UTF-8
LC_MESSAGES=C
LC_ALL=
/etc/idefault/init
-----------------
#
# Copyright 1992, 1999-2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "@(#)init.dfl 1.7 02/12/03 SMI"
#
# This file is /etc/default/init. /etc/TIMEZONE is a symlink to this file.
# This file looks like a shell script, but it is not. To maintain
# compatibility with old versions of /etc/TIMEZONE, some shell constructs
# (i.e., export commands) are allowed in this file, but are ignored.
#
# Lines of this file should be of the form VAR=value, where VAR is one of
# TZ, LANG, CMASK, or any of the LC_* environment variables. value may
# be enclosed in double quotes (") or single quotes (').
#
TZ=Asia/Calcutta
CMASK=022
LC_COLLATE=hi_IN.UTF-8
LC_CTYPE=hi_IN.UTF-8
LC_MESSAGES=C
LC_MONETARY=hi_IN.UTF-8
LC_NUMERIC=hi_IN.UTF-8
LC_TIME=hi_IN.UTF-8



Thanks,
ragtechy
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Email ends with Junk Characters

I have written the following code ...to include the Subject, Message Body and Attachment with sendmail. When I send mail from my Unix account to diffrent mail servers like Yahoo , Hotmail etc..I recv the Message Body but there is no newline character at the end of each line.... Also I recv the... (5 Replies)
Discussion started by: Amruta Pitkar
5 Replies

2. Shell Programming and Scripting

Remove junk characters using Perl

Guys, can you help me in removing the junk character "^S" from the below line using perl Reference Data Not Recognised ^S Where a value is provided by the consuming system, which is not reco Thanks, M.Mohan (1 Reply)
Discussion started by: mohan_xunil
1 Replies

3. Shell Programming and Scripting

finding junk characters

Hi, Is there anyway to find the junk characters in a file.Consider the file has data as given below: 123|abc^M|Doctor^C #record 1 234|def|Med #record 2 345|dfg^C|Wrong^V #record 3 The junk characters are highlighted and this is a pipe delimited file. Is there anyway to... (20 Replies)
Discussion started by: ashwin3086
20 Replies

4. Shell Programming and Scripting

Replacing junk characters

Hi, I have a file with data as given below $cat file1 123|abc|345 345|def|567 The first record is good record. The second record has an invisible junk character like \032. I was replace all the occurences of that invisible character with #. I want to do this for a set of... (16 Replies)
Discussion started by: ashwin3086
16 Replies

5. UNIX for Dummies Questions & Answers

how to grep junk characters in a file

hi guys, I am generating a file from datastage (an etl tool). Now the file is having some junk characters like ( ,L, and so on).. I want to use the grep function to figure out all the junk characters and their location. Can somebody help me out in finding it out.. if possible i... (1 Reply)
Discussion started by: mac4rfree
1 Replies

6. Shell Programming and Scripting

Handling Junk Characters

Urgently ur help is needed. Actually my req is i have an input file, that input file may have junk characters (^M, ^Z) etc... eg: cat file name abc^Z addres name2 msdmskd^Z address2 I want to validate the record and display where exactly this junk character resides. I want to... (3 Replies)
Discussion started by: help_scr_seeker
3 Replies

7. Shell Programming and Scripting

Junk characters in mailx output

I have script which send a mail with top output. The script look like $ cat health.sh #!/bin/sh maillist="email address" rm /home/rtq1/file top -n 1 | head 15 > file cat file | mailx -s "Daily Health Report from `hostname` ..." "${maillist}" But now i am getting some junk characters along... (1 Reply)
Discussion started by: Renjesh
1 Replies

8. UNIX for Dummies Questions & Answers

How to remove JUNK characters (FROM�)

Hi I have to remove the junk characters from my file. Please help.. File content : CURITY_CODE_GSD) FROM� DL_CB_SOD_EOD_VALUATION WHERE� ASOF (1 Reply)
Discussion started by: arukuku
1 Replies

9. Solaris

Junk characters in Solaris 11

Hi, I rebooted a Solaris 11 box and after that date stamp is coming in junk in almost all directories. root@tstilp05 # ls -l total 112 drwxrwxr-x 9 root sys 19 juin 1 03:10 adm drwxr-xr-x 6 root sys 6 sept. 19 2012 ai drwxr-xr-x 3 root bin ... (3 Replies)
Discussion started by: solaris_1977
3 Replies

10. UNIX for Beginners Questions & Answers

Need to remove Junk characters

Hi All, I have a issue that we are getting Junk characters from source and i am not able to load that records to Database. Line breakers Junk Characters ( and different every time) Japanese Characters Every time I am using grep command and awk -F "\007" to find them and delete that... (1 Reply)
Discussion started by: spradeep86
1 Replies
All times are GMT -4. The time now is 06:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy