Search Results

Search: Posts Made By: chandraprakash
3,776
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...
1,110
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,281
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...
3,012
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...
3,012
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:...
2,275
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
2,275
Posted By chandraprakash
how can i check that..thanks for your reply
how can i check that..thanks for your reply
2,275
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"...
15,804
Posted By chandraprakash
Hi All.. Thanks for your wonderful explanation....
Hi All.. Thanks for your wonderful explanation. It was helpful. :D
15,804
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,796
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
15,804
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...
15,804
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
15,804
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...
15,804
Posted By chandraprakash
Hi, Its UNIX environment. Chandra
Hi,

Its UNIX environment.

Chandra
15,804
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 09:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy