Search Results

Search: Posts Made By: ChandanN
1,414
Posted By ChandanN
Thanks Scrutinizer. That was a typo.
Thanks Scrutinizer. That was a typo.
1,414
Posted By ChandanN
Thanks I got the solution. The code needs to be...
Thanks I got the solution. The code needs to be as below:

!/bin/ksh

echo "Please enter the string: "
read str
echo "Please enter the starting position: "
read start_position
echo "Please...
1,414
Posted By ChandanN
Extracting a part of a string
Hi,

I needed to extract some specific characters from a string based on user input. For example: After the script executes the user enters the following details:
Please enter the string: This is...
1,237
Posted By ChandanN
File Check in remote server
Hi Experts,

I need a script in which I need to scp a file /home/chandan/abc.txt to a remote server using scp. Then I need to check whether scp is successful or not.
How am I going to write this...
919
Posted By ChandanN
Urgent: File Check in remote server
Hi Experts,

I need a script in which I need to scp a file /home/chandan/abc.txt to a remote server using scp. Then I need to check whether scp is successful or not.
How am I going to write this...
941
Posted By ChandanN
Thanks Panayam and Chacko193. This is not...
Thanks Panayam and Chacko193.

This is not going to resolve the issue because the environment variable name, file name and file path will vary module wise. So, I need a more generic approach.
...
941
Posted By ChandanN
Extracting Details from string -- Help Me!!!
Hi Experts,

I am executing a script in bash profile and having file path as follows:
$FilePath=$HOST_NAME_LAND/home/chandan/abc.txt

where $HOST_NAME_LAND is an environment variable which...
976
Posted By ChandanN
OS: Linux version 2.6.18-128.el5 Shell: bash...
OS: Linux version 2.6.18-128.el5
Shell: bash shell

Thanks.
976
Posted By ChandanN
Validating files using server name and directory
Hi,

I want to check if a file is a regular file or not using server name and file path.

Example: I want to check whether //<server_name>/home/chandan/abc.txt is a regular file or not.

Need...
Showing results 1 to 9 of 9

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