Search Results

Search: Posts Made By: urfrnddpk
2,053
Posted By urfrnddpk
Redirect the piped information in garbage
hello,

i was trying to detect one particular type of file through my script(which is running in loop to detect the file )
so i used the follwing command
ls $PATH/*GLB*|grep CTL > /dev/null...
1,365
Posted By urfrnddpk
the target is to use the variable of A.ksh into...
the target is to use the variable of A.ksh into B.ksh .
because the same variable can be used differently in both the script and
in real time both the script will run pararlly and one script can...
1,365
Posted By urfrnddpk
Use of exported variable
i have to use the exported variable from one script into another script

ex :
A.ksh


# !/bin/ksh
chk1=56
export chk1

B.ksh...
1,225
Posted By urfrnddpk
security for unix korn shell script
hello

I am using a korn shell script.
I want to make them password protected.
Please suggest some ways to do it.


thanks in advance for your sufggestion !
1,503
Posted By urfrnddpk
executing ksh script
I am trying to call a ksh script from another ksh script.
in the called script , i am doing sum calculation(used typeset etc)

suppose a.ksh is the calling script and b.ksh is the called script ....
13,401
Posted By urfrnddpk
awk command is not working either. input...
awk command is not working either.

input file :
[|104566918;-1;3324231;-1; ; ;; ;; ; ;09-1CQIBM;;T;2009-06-23 02:00:00; ;2012-04-09 14:56:19
[|104566920;-1;3324231;-1;-1; ;; ;;...
13,401
Posted By urfrnddpk
cut command in solaris
hello

i am running a shell script on hp unix and getting a file with control m characters through teradata fastexport(file name -fast_export_tmp.txt).

to remove the control m i applied cut...
8,301
Posted By urfrnddpk
disk space used in percentage
hello

is there any command so that i can get the percentage space used by a particular directory?
ex : i want to know how much space is used(in percentage) or free in /varsoft/EXAMPLE ...
3,797
Posted By urfrnddpk
actually it is a mix of mmddyyyy and yyyymmdd....
actually it is a mix of mmddyyyy and yyyymmdd. but somehow i can distinguish these two formats . the logic(-k1.4 -k5) is working fine in yyyymmdd format and am getting the latest date in the end of...
3,797
Posted By urfrnddpk
if the input is(mmddyyyy) : 12012012 22112011...
if the input is(mmddyyyy) :
12012012
22112011
01122011

then it is not working fine. 12012012 should come either in first position or in last .

your logic is working fine in case of...
3,797
Posted By urfrnddpk
thanks for the solution can you also tell me...
thanks for the solution
can you also tell me the logic of parameters you have given (-k1.4 -k5)??
3,797
Posted By urfrnddpk
date(ddmmyyyy) sorting
input :
20110730
20110730
20110731
20110731
20110801
20110801
20110801
20110813
20110815
01062011
01062011

OUTPUT : i need to sort this input in such a way so that the latest date comes...
29,774
Posted By urfrnddpk
can u expalin some more ? and tell me the...
can u expalin some more ?
and tell me the reason behind it?
29,774
Posted By urfrnddpk
Broken Pipe error
Hello

while doing sftp over server "A" , i am getting a broken pipe error i.e


cat: write error: Broken pipe

what does that mean? please let me know if you want any other info on this..
896
Posted By urfrnddpk
Display a message if the server is prompting
Hello

i have to perform a sftp from server "A" to server "B"(remote server).
when i execute the sftp command it prompts for password.

right now we haven't establish the ssh key exchange so...
27,097
Posted By urfrnddpk
SFTP to transfer files from one server to another
Hello,

i have to write a script to perform sftp from the remote server to another server.
the files which are at the remote location are huge data log files which should be transfered...
2,661
Posted By urfrnddpk
date substraction
hello
i have obtained the current date ..
current_date=date "+%m/%d%y"

and i have another date ,stored in my log file which i have already retrieved. i want to store the subtraction in a...
2,170
Posted By urfrnddpk
their are some folder in the disk which have some...
their are some folder in the disk which have some authentication. if i put this command on th prompt ,it is fine but if i use this command in the script . the script gives an error of permission...
2,170
Posted By urfrnddpk
permission denied issue
hello
I m trying to enter in a folder through my script but getting permission denied error ..

Is there any command or somthing else so that i can access these folder through my script.
2,105
Posted By urfrnddpk
awk is doing the required stuff.. but when i...
awk is doing the required stuff..
but when i tried the same with grep -Ev ....
it is giving :
grep: illegal option -- E
Usage: grep -hblcnsviw pattern file . . .
Showing results 1 to 20 of 20

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