Search Results

Search: Posts Made By: luckybalaji
1,847
Posted By luckybalaji
If i have understood your question correctly you...
If i have understood your question correctly you can try this..
<code>
#include<stdio.h>
//char a,b,c;
//float x,y,z;
#include "globalvariables.h"
int main()
{
// int d,e,f;
#include...
6,892
Posted By luckybalaji
First try tnsping ora11g It this...
First try

tnsping ora11g


It this works it should work for sqlplus also. Otherwise listener might not be running. If no problem in listener. Are you sure you are giving $user/$pass rather...
2,118
Posted By luckybalaji
Pls try to execute this way . ./script_name
Pls try to execute this way

. ./script_name
6,470
Posted By luckybalaji
if you are using linux you can try this. ...
if you are using linux you can try this.


today=`date '+%Y%m%d'`
lastweek=`date -date='1 week ago' ''+%Y%m%d'`


If it is other OS you need to write simple script. Let me know which OS your...
3,624
Posted By luckybalaji
I didnt test this. Hope this will work. I have...
I didnt test this. Hope this will work. I have given just a skeleton you need some work to make this work.


upload()
{
ftp $hostname
user $user_name
password $password
put $file_name...
1,847
Posted By luckybalaji
Are you saying file names are same in a...
Are you saying file names are same in a directroy? Is it possible? Pls run ls -ltra on your working directory and point us having two files on same name.
1,847
Posted By luckybalaji
Before help I want to know 1) Need help to...
Before help I want to know
1) Need help to write script in KSH to detect a duplicate file.
Question: duplicate file name in two different directories or duplicate content in two different file...
24,858
Posted By luckybalaji
nawk '{gsub(/\[[A-Z0-9.,]*\]/,""); print; }'...
nawk '{gsub(/\[[A-Z0-9.,]*\]/,""); print; }' file_name
4,448
Posted By luckybalaji
i'm sorry for wasting every'1 time. the problem...
i'm sorry for wasting every'1 time. the problem is /tmp was not having enough it was having only 600 bytes free. After increasing /tmp free space everything is working.
4,448
Posted By luckybalaji
different behaviour for ksh and ksh -x
I'm getting different behaviour when executing below script in debug option.
$ cat ss.ksh
ff=$(pwd)
echo " ff : $ff"
$ ksh ss.ksh
ff : /tmp
$ ksh -x ss.ksh
+ + pwd
ff=
+ echo ff :
ff : ...
8,141
Posted By luckybalaji
Help on "tr' command
Hi All,

I was asked to rewrite a script which is working in Solaris to Linux. In the existing script i have following 'tr' command.

tr -d '\002\003\013\032\001\014\272' <$INPUT_FILE | tr -cd...
2,153
Posted By luckybalaji
In your example given fill string is always...
In your example given fill string is always starts with 15 or to be fill lines always have space in the start of the line?
8,873
Posted By luckybalaji
man write ==> for one directional man talk ...
man write ==> for one directional
man talk ==> for two directional

for your case talk <terminal name/id>
4,816
Posted By luckybalaji
There is no problem in the statements used in...
There is no problem in the statements used in both the approaches.
1. check that zero file size is created as soon as you ran the perl script. Or output or previous run.
2. Check the file was...
5,060
Posted By luckybalaji
Actually in my example i have used "_" before for...
Actually in my example i have used "_" before for all date format. But actually some cases it is like (yyyymmdd_fee_file2.dat). In some cases it is like hh_mm_ss:yyyymmmdd also. So this wouldnt work...
5,060
Posted By luckybalaji
Finding exact match string
Hi All,

I'm writing unix script, it should find exact matching in search string. Looks simple but when i started i'm stuck to find the exact match character string.

The unix script reads the...
3,857
Posted By luckybalaji
using unix variable in select column in awk
Hi,

I have file on below pattern, and i want to write a generic awk to handle all cases.

input_file:
col1~col2~col3~col4~col5~col6

I need to generate 4 files something like this
File1:...
5,256
Posted By luckybalaji
Save the below code say get_output ...
Save the below code say get_output

#!/usr/bin/awk -f
BEGIN {
prev_line_text=$0;
next_line_of_error=0;
cur_line=0
error_found_line_no=cur_line;
...
1,473
Posted By luckybalaji
I think it is definitely not due to OS problem....
I think it is definitely not due to OS problem. Can you tell us 3rd field length and size of that column in the table.
4,546
Posted By luckybalaji
you can use find <directory where you have file>...
you can use find <directory where you have file> -type f -mtime -30 -exec rm -i {} \;

The code looks for files modified in last 30 days, it asks for conformation before deleting it. If you dont...
Forum: Solaris 07-05-2009
8,857
Posted By luckybalaji
True Type Font in Solaris
Hello,

It is not related to scripting or unix command but it is related to Solaris environment setup. I'm a web developer, in my web application (J2EE using WebLogic 8.1) currently it's running in...
11,950
Posted By luckybalaji
Try with escape character. sed "s/$/\'/g"...
Try with escape character.

sed "s/$/\'/g" filename
sed "s/$/\'/g" < filename
sed -e "s/$/\'/g" filename
Forum: Solaris 07-13-2008
2,119
Posted By luckybalaji
calling script from awk
Hi,

I'm not sure, there is solution exist for this problem. I'm facing problem in calling a unix script from awk code. Here is code

nawk -F'=' '
BEGIN { }
function runtest(string)
{
LINE...
24,145
Posted By luckybalaji
Existing : sh import Testfolder change to ...
Existing :
sh import Testfolder

change to
sh <full_path>/import Testfolder
Showing results 1 to 24 of 24

 
All times are GMT -4. The time now is 04:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy