10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
HI Friends ,
I have a script which cp xml files from linux to other server thru ftp
my xml file contains charcters in hebrew
although , the command Binary exists in the script . the files contains Undefined Charcters after converting.
script :
ftp -p -n $HOST << EOF
user $USER $PASSWORD... (9 Replies)
Discussion started by: naamas03
9 Replies
2. Linux
Hi All,
i am trying to put ls -lRt command to run in the background but it fails.
i continue to get output on screen and didnt get the command prompt right after i put the command in background.
command i am using is
ls -lRt &
i am using bash.
Can someone let me know how to... (6 Replies)
Discussion started by: omkar.jadhav
6 Replies
3. Shell Programming and Scripting
Hi all,
i have to sftp a file to another server
I don't have "expect" or sshpass on my machine its solaris 10,
i want to pass password in command line or
after doing this
sftp user@server how to automatically provide the password as input ( stored in some variable or so)
... (1 Reply)
Discussion started by: zozoo
1 Replies
4. Shell Programming and Scripting
Greetings,
I have an issue that has baffled me. I have done many searches, read the man documentation, and I have yet to find a solution. I am trying to run the following command within a script to copy a file across servers:
$(dd if="$FDIR" bs=1024 2> /dev/null | ssh "$(whoami)@$SERVER"... (5 Replies)
Discussion started by: unaligned
5 Replies
5. Shell Programming and Scripting
Hi,
Let say I have these 3 files (state, list and myscript). I want to be able get the sample output like below when I run myscript. Any one know how to fix the code? TIA.
~~~~~~~~~~~~~~~
> cat /home/state
CA
> cat /home/list
CA 100 50 20
AUS 120 61 10
> cat myscript... (6 Replies)
Discussion started by: joker_789us
6 Replies
6. Shell Programming and Scripting
Can i capture the status of put command after i ftp a file? (4 Replies)
Discussion started by: aixjadoo
4 Replies
7. UNIX for Dummies Questions & Answers
Hello,I am trying to put something on the ftp server using the put command. Whenever I try, I get this error:
ftp> put SIMS.war
local: SIMS.war remote: SIMS.war
200 PORT command successful
553 Can't open that file: Permission denied
I have set rwx for all on that file and I still am... (3 Replies)
Discussion started by: mojoman
3 Replies
8. UNIX for Dummies Questions & Answers
From a remote client, I'm trying to create a timestamped directory and put a file inside the directory. The directory and the file are not present already inside the tftp server. If I need to put a file inside a tftp server, which is not existing already what should I need to do..
I face errors... (9 Replies)
Discussion started by: Amudha
9 Replies
9. Shell Programming and Scripting
Hi,
I worte a script which runs perfect when i execute it manually. But when i scheduled into cron the grep command alone is not working.
the sample script,
/usr/bin/grep FTP $subfile > /tmp/tfsrec.dat
tfs=`echo $?`
if
then
echo "FTP FOUND"
else
echo "FTP NOT FOUND"
Where... (5 Replies)
Discussion started by: thiru_cs
5 Replies
10. Shell Programming and Scripting
Hey everyone :)my problem is i want to add a command and icon to the menu panel, normally in gnome you would just right click, add to panel etc.
What i want to do is, for example , put say firefox plus a icon in the menu bar by using a bash script, what would be the command, to do this. (5 Replies)
Discussion started by: dave123
5 Replies