Search Results

Search: Posts Made By: chandraprakash
2,604
Posted By chandraprakash
Validation to be added in the shell script
I need help with one of my shell script. The script is working fine but i need to add two condition -

i need to get rid of all the below ftp messages and need to have only ftp completed or failed...
904
Posted By chandraprakash
Issue with the shell script after storing the directory in a variable
FTP is connecting to the server but i am getting an error -

Enter if the env is dev or test or prod:
test
Please enter the id no :
xxxxxxx
Connected to xxxx
220 (vsFTPd 2.2.2)
331 Please...
1,056
Posted By chandraprakash
Shell script issue
Below is my script. However when i run it, i get the below error

./dummy.sh: line 27: syntax error: unexpected end of file

#!/bin/bash
while :
do
read -r INPUT_STRING
case $INPUT_STRING in...
2,156
Posted By chandraprakash
Thanks RduiC and MadeInGermany. Very helpful. ...
Thanks RduiC and MadeInGermany. Very helpful.

I want to create the directory with 777 permission.

mkdir /wpath/to/copy/files/$input_variable/inputs/final/

The directory final should have 777...
2,156
Posted By chandraprakash
Need help on shell scripting
I need a help on my shell script. Below is my shell script which transfers the file from one server to another.

#!/bin/bash
echo "Please enter id no : "
read input_variable
echo "You entered:...
1,701
Posted By chandraprakash
i can see the ftp server is running at both the...
i can see the ftp server is running at both the end..if i give the below command i get list of users using ftp

ps -ef | grep -i ftp
1,701
Posted By chandraprakash
how can i check that..thanks for your reply
how can i check that..thanks for your reply
1,701
Posted By chandraprakash
Issue with the script
I am trying to run a script which ftp the files from one server to another.

Below is the script -

#!/bin/bash
echo "Please enter no : "
read variable
echo "You entered: $input_variable"...
13,880
Posted By chandraprakash
Hi All.. Thanks for your wonderful explanation....
Hi All.. Thanks for your wonderful explanation. It was helpful. :D
13,880
Posted By chandraprakash
Hi thanks .. it was helpful. Just a doubt. what...
Hi thanks .. it was helpful. Just a doubt. what is meant by 2>/dev/null :(

---------- Post updated at 07:49 AM ---------- Previous update was at 07:45 AM ----------

And how can I edit that in...
Forum: Solaris 11-05-2014
3,360
Posted By chandraprakash
I would say create a shell script which monitors...
I would say create a shell script which monitors the health of your server and generate mails when the server is down

Chandra
13,880
Posted By chandraprakash
Hi thanks for your command . It is useful. But I...
Hi thanks for your command . It is useful. But I want the command for standard output (which shows the data in the command prompt while unzipping the file). same like as unzip -p -a . And the worst...
13,880
Posted By chandraprakash
Thanks for your suggestion Junior helper. But the...
Thanks for your suggestion Junior helper. But the command 7z e -t zip filename.zip is not working. Please check below
<servername:/tmp>$ 7z e -t zip Test.zip
Error:
Incorrect command line
13,880
Posted By chandraprakash
Hi Thanks for your suggestion for your manual...
Hi Thanks for your suggestion for your manual workaround . But I need to know the corresponding 7z command (7z is already installed ) .Its an Linux server where we need to read a data from a...
13,880
Posted By chandraprakash
Hi, Its UNIX environment. Chandra
Hi,

Its UNIX environment.

Chandra
13,880
Posted By chandraprakash
7z command for files larger than 4GB ( unzip doesn't work)
My unzip command doesn't work for files that are greater than 4GB. Consider my file name is unzip -p -a filename.zip, the command doesn't work since the size of the file is larger. I need to know the...
Showing results 1 to 16 of 16

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