Search Results

Search: Posts Made By: rinku
13,859
Posted By rinku
$ date +%F 2008-09-04 $ date +%F -d '-1 day' ...
$ date +%F
2008-09-04
$ date +%F -d '-1 day'
2008-09-03

This code return the Month name(September) not "2008-09-03".
13,859
Posted By rinku
want to get previous date from date command in ksh
I want to get previous date from date command. I am using ksh shell.

Exmp:

today is 2008.09.04

I want the result : 2008.09.03

Please help.

Thanks in advance.
5,111
Posted By rinku
It's working.... Thanks....
It's working....

Thanks....
5,111
Posted By rinku
I am sorry. I forgot to mention that i am using...
I am sorry. I forgot to mention that i am using this script in the ksh.

so I can not use the eval.

Please suggest me another way.

Thanks.
5,111
Posted By rinku
Want to use awk instead of cut
I want to use awk instead of cut command.

Following is my code:

line="slNumber=US78AJF11643, slName=USJFKAAUSYDAAUL80441032900095, dummy sl found? sqlca.sqlcode=0"
sl_WORD=`echo $line| cut...
9,041
Posted By rinku
found error 138 while run shell script
I found error 138 while run a shell script.
Please tell me what it's mean?? and how can i prevent that error.


Thanks in advance.....
13,431
Posted By rinku
sftp using authorized_keys in unix
I am creating public and private key for sftp in ksh.

then copy the name1.pub file into /.ssh/authorized_keys directory in remote server.

Now my question is how to write that script which do...
7,973
Posted By rinku
calculate the date of next satureday of current date.
I want to calculate the date of next satureday of current date using shell script.

Suppose, today is 27-feb-08
I want to get the date of next satureday, which means 01-mar-08, in the formate ''...
2,998
Posted By rinku
compare two files using filename
I want to compare two file using filename.

suppose two files are same directory.

what is the command for this.

thanks in advance...
Forum: Programming 01-22-2008
6,931
Posted By rinku
creating GUI using C programing in unix server
I want to write GUI using C programing in Unix server. But I can not use windows.h header file.

I want to create some text box using C programing.

Please suggest me any sample code or tutorial...
3,048
Posted By rinku
get only two letter from any string
I want get middle two latter of any string.

Input:
var="070108"

output:

var1="01"

please help.
1,862
Posted By rinku
how to remove first two latter of any string
Hi,

I have a variable with contain "fl080114". I want only "080114" into an another variable.

input:
name="fl080114"

output:
nm="080114"

Please help.

Thanks in advance.
4,552
Posted By rinku
read and write from a file
I have tried to show the file name whose size is greater than 200 byte in current directory.
Please help me.

ls -l | tr -s " " " " | cut -f 5,9 -d " " >out.txt

#set -a x `cat out.txt`
i=0...
14,281
Posted By rinku
Try it
Please try to do it. I think it will increament the value of i.:)

#!/bin/sh

i=0
while [ $i -le 5 ]
do
echo "value of i is...$i"
i=`expr $i + 1`

done
2,303
Posted By rinku
want to echo "hello" with ""
I want to echo any word wthi "".

My desired output is: "hello"

I worked in ksh.

please help me.
11,509
Posted By rinku
find charecter from its ascii value.
how could find charecter from its ascii value.
please suggest me any code for that.
thannks in advance.
2,543
Posted By rinku
how could I check whether ftp a file is successfully done or not
how could i check that the ftp oof any file is successfully done.

thanks in advance.
7,862
Posted By rinku
Thanks, but I cann't use it.
Thanks,
but I cann't use it.
7,862
Posted By rinku
Sorry I forgot to answer. No, there is no...
Sorry I forgot to answer.
No, there is no problem with access permission.
I used the command "chmod 777 input.xls"

I have a file input.xls and I want to store the records into database.
So, I...
7,862
Posted By rinku
I want to store the data of .xls file into...
I want to store the data of .xls file into database.
For that purpose I want a comma separeted file.
Then I can insert the data into database.
7,862
Posted By rinku
I have tried to make .xls file to .csv file. ...
I have tried to make .xls file to .csv file.
But .csv file could not open.
plz help me if there is any another process.

Thanks in advance.
7,862
Posted By rinku
connvert xls file to any other file
I want to read xls file ussing unix ksh shell.

thanks.
24,123
Posted By rinku
Thanks
Thanks.
Its work.
24,123
Posted By rinku
change file type to hidden using chmod command
I want to make a hidden file with chmod command.
Example:
I have a file name inputfile.txt

-rw-r--r-- 1 xxxxxx xxxxxx 1388 Sep 12 05:41 inputfile.txt

I want to hide that file...
1,419
Posted By rinku
You can try this: if [ `expr $current_min...
You can try this:


if [ `expr $current_min - $timestamp_min` -le 2 -o `expr $current_min - $timestamp_min` -le 2 ]
then
echo "testing"
fi
Showing results 1 to 25 of 54

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