Search Results

Search: Posts Made By: jhmr7
30,523
Posted By jhmr7
Shell script with input parameter
Can anyone help me how to write a shell script which accepts input parameter. My requirement is as follows:

I need to run a shell script with a input parameter, and inside the script i will create...
6,332
Posted By jhmr7
Removing leading and trailing spaces of data between the tags in xml.
Can any one help me out for this requirement.

Thank You.
6,332
Posted By jhmr7
Removing leading and trailing spaces of data between the tags in xml.
I am having xml document as below.

<transactionid>
00
</transactionid>
<tracknumber>
0
</tracknumber>
<key>
N/A
</key>

But the data contains leading and trailing spaces...
2,627
Posted By jhmr7
which option i should include in order to log all...
which option i should include in order to log all the ftp activities in a log file.

TIA.
3,722
Posted By jhmr7
searching a file in a unix server
Please let me know which command and its format to use to search for a file.

Windows provides a find option but i would like to know the equivalent in UNIX.

for example i need to search for a...
2,627
Posted By jhmr7
Script is executing fine. Thanks a lot for the...
Script is executing fine. Thanks a lot for the help.
2,627
Posted By jhmr7
Error in execting ftp script
Please find the below script:

#!/bin/ksh
host='gskprod.xyz.com'
USER='gsk'
PASSWORD='ahdpw1'
remote_dir='gsk_ds'

ftp -n "${host}"
user $USER $PASSWORD
binary
cd $remote_dir
mget *.txt...
5,041
Posted By jhmr7
copying directories from NT server to Unix server (solaris 5.8)
I need to copy around 30 directories (each directory include one or more text file(s)) from NT server to Unix server at one go. For doing this what are the privillages i should have in both NT and...
57,441
Posted By jhmr7
Thanks a lot guys. Your help is much appreciated.
Thanks a lot guys. Your help is much appreciated.
57,441
Posted By jhmr7
Thanks. Please find the display below. ...
Thanks. Please find the display below.

/home/gsk/prod> ls -l | grep ^d

drwxrwxr-x 2 gsk stage 96 Mar 17 14:01 0010
drwxrwxr-x 2 gsk stage 96 Mar 17 14:01 0011
drwxrwxr-x ...
57,441
Posted By jhmr7
list only directories in commandline.
I want to list only directories in the command line using ls command. Can anyone please help me.
Showing results 1 to 11 of 11

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