Hello,
I am having an issue setting the locale. This issue is only as root, and not as another user, which means there is something overwriting as root user.
when I do locale as root, it gives me the following:
LANG=en_US.utf8
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"...
Hello,
when I do locale in HP-UX, I see the following:
# locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=
Does this mean no locale set? Is there a default set to English?
Also, how can i set this to japanese in SJIS?
THANKS
Srikanth
Hello, I am trying to the following. can you let me know how?
1. I have a tab delimited file. I need to enclose the first field in double quotes.
2. I need to replace the tab with comma.
Thanks for the help.
I know Informatica 7.1.3 has bulk processing capability. When you create partitions in a session, do you also need to create partition on the actual Oracle source table or does the session take care of it? Also what about parallel processing in Informatica? How does it work? Does it have to be...
How do I specify a process to use a specific number of CPU's?
Also, how can I kill all instances of a process for a specific user. Kill -9 PID would kill one instance but I want to kill all instances.
thanks
I am trying to understand sed but this seems to be very confusing to me. What is the best way to learn sed?
I am trying to debug a program and not sure what the following lines of code mean -
export ARGS=`echo $line | sed 's/,/" "/g'`
ARGS=`echo $ARGS | sed 's/^/"/'`
ARGS=`echo $ARGS | sed...
The output generated from diff is not easy to understand for a common user. what is the quickest way to format it so the user will be able to understand?
I am comparing 2 db schemas and printing the table info using diff.
Thanks
If I have main folder called /var/opt/dshs
and there are several subfolders like A1, A2, A3,....
The complete dir structure is
/var/opt/dshs/A1/input/myfile.txt
This myfile.txt is under each folder, A1, A2,...
I want to grep a specific word from each of these files myfile.txt.
Do I have to...
I am trying to do a grep on a file, but I am always getting this message -
Binary file tmp.log matches.
I am giving the following command to search for 3038 and display all the lines in the file -
grep -40 '3038' tmp.log
I am kind of new to grep and trying to figure it out...
thanks
I am using elm command to email a file from my script. This file is in regular format and not in a zipped format. However, the file goes in the body of the email instead of as a seperate attachment.
elm -s "Test Mail" my_email@yahoo.com < /dir/file.txt
How can I send it as a seperate...
I am trying to send out an email that has a zipped attachment. But the attachment is going in the body of the mail instead of a seperate attachment.
I am using gzip to zip the file.
(cat myrep.txt; uuencode $attach myrep1.tar.gz) | mailx -s "${sub}" "${email}"
The email is going to the...
I am trying to use sed command to search for a character in a text file and replace all the instances with another character. Can someone give me an example?
Thanks
We have records in a text file in the file format:
I only want to grep records where the last but one field is not null. How do I grep these records?
C~234~AS~~~~~~~~~40003~~ (I want to grep this line)
C~234~AS~~~~~~~~~~~~ (I dont want to grep this)
A~234~AS~~~~~~~~~40003~~ (I dont want to...
I have a .dat.gz file. When I use 'gunzip' command on the prompt, it works just fine. The file is unzipped as .dat
However when I use the same command from a script, it gives the following error -
gunzip: compressed data not read from a terminal. Use -f to force decompression.
Any ideas? I...
Hello gurus, here is the situation. I am receiving several files from a remote server through an automated process. One of these files is zipped. It initially has a .dat.gz extension.
I know there is 'gunzip' command to unzip and read the files. However, when this file arrives into our server...
I have an external system create a file which contains the number of lines in the file. I need to make sure that this number is correct. So as soon as the file is created, I need to count the number of lines in the file and edit it if the information in the file is not correct. Any ideas how to...
my script is kicked off by an external process. so whenever a log file is created, it is created with the external process' owner id, thus making it difficult for me to read the file.
I tried chown and also copying the file onto a seperate dir. No help so far.
Any ideas?
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.