01-25-2011
dear signor Corona,
I could have understood badly also, but my solution it was alone to help...
I don't need his useless lesson
10 More Discussions You Might Find Interesting
1. Solaris
I am trying to run a sript on cron to SFTP data to a company. Private and public keys are set up.
When I run this manully it works fine, however it was failing when run on cron. I have narrowed down the problem - it fails at the code that says if the error code is 0 then continue
. . . I... (2 Replies)
Discussion started by: Heidi.Ebbs
2 Replies
2. Shell Programming and Scripting
Hi,
I have a simple script that is trying to put a file that resides on a local machine to a remote machine. It runs fine manually but does not complete when scheduling to run in cron. Here is what the script looks like. Any idea what I am doing wrong here?
#!/bin/ksh
cd /path
sftp... (4 Replies)
Discussion started by: ewilson0265
4 Replies
3. Solaris
I am using a script to transfer a file from a unix host to another unix host. The code snippet for sftp in the script is as below.
sftp -oIdentityFile=$ID_FILE_NAME -oNumberOfPasswordPrompts=0 $REMOTE_USERID@$REMOTE_HOST <<EOF
cd incoming
put $REPORT_FILE... (2 Replies)
Discussion started by: msabhilash
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am running simple script to automate sftp transfer to remote box. I have setup public/private keys to have sftp connect automatically and have test script that list remote directory:
#!/bin/ksh
echo "OK, starting now..."
sftp userid@host <<EOI
cd dir
ls -lt
bye
EOI... (2 Replies)
Discussion started by: r1omen
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have been searching for older posts and I've found many entries with identical problems, but I was not able to find the solution (or when I thought I found it, my trial didn't worked :(). Anyway, here is my question.
I wrote a sftp.sh file that runs perfect from command line. It uses scp... (6 Replies)
Discussion started by: Kronos
6 Replies
6. UNIX for Dummies Questions & Answers
Hi Newbie here
I am having problems with automating sFTP transfers.
Just to save time - SCP is not an option as sFTP is stipulated by controllers of far end server.
Ineed to automate sFTP transfer of a single file, once a day to a remote server to which i have no control over.
I am using:... (6 Replies)
Discussion started by: robbien
6 Replies
7. Shell Programming and Scripting
Hello,
I am facing a very strange problem when I run my script manuallu ./Fetchcode which is using to connect with MKS integrity from linux end it workks fine but when I run it from cron it doesn't work.Can someone help me
1) How could I check my script when it is running from cron like... (3 Replies)
Discussion started by: anuragpgtgerman
3 Replies
8. Shell Programming and Scripting
Help. My script is working fine when executed manually but the cron seems not to catch up the command when registered.
The script is as follow:
#!/bin/sh
for file in file_1.txt file_2.txt file_3.txt
do
awk '{ print "0" }' $file > tmp.tmp
mv tmp.tmp $file
done
And the cron... (2 Replies)
Discussion started by: jasperux
2 Replies
9. Shell Programming and Scripting
Dears,
I am new to linux scripting and I was look for a way to auto login to a server using sftp to download a file.
I found one and it is working fine. But i don't know the meaning of <<EOF in the code. Any one explain it to me:
#!/bin/sh
HOST=yourservername
USER=yourusername ... (1 Reply)
Discussion started by: torabi
1 Replies
10. Shell Programming and Scripting
hi Team,
I am connecting from one (A) linux server to another(C)/any linux server by sftp
on A linux server:
sftp userid@C
password:
mget is Not working fine
I am using mget to pull the files. it shows mget as invalid command.
But from (B) Linux server to (C) /to Any server Linux... (15 Replies)
Discussion started by: johnsnow
15 Replies
LEARN ABOUT DEBIAN
gtypist
GTYPIST(1) User Commands GTYPIST(1)
NAME
gtypist - a typing tutor with lessons for different keyboards and languages
SYNOPSIS
gtypist [ options... ] [ script-file ]
DESCRIPTION
`gtypist' is a typing tutor with several lessons for different keyboards and languages. New lessons can be written by the user easily.
OPTIONS
-b --personal-best
track personal best typing speeds
-e % --max-error=%
default maximum error percentage (default 3.0); valid values are between 0.0 and 100.0
-n --notimer
turn off WPM timer in drills
-t --term-cursor
use the terminal's hardware cursor
-f P --curs-flash=P
cursor flash period P*.1 sec (default 10); valid values are between 0 and 512; this is ignored if -t is specified
-c F,B --colours=F,B
set initial display colours where available
-s --silent
don't beep on errors
-q --quiet
same as -s, --silent
-l L --start-label=L
start the lesson at label 'L'
-w --word-processor try to mimic word processors
-k --no-skip
forbid the user to skip exercises
-i --show-errors
highlight errors with reverse video
-h --help
print this message
-v --version
output version information and exit
-S --always-sure
do not ask confirmation questions
--banner-colors=F,B,P,V set top banner colours (background, foreground,
package and version respectively)
--scoring=wpm,cpm
set scoring mode (words per minute or characters per minute)
If not supplied, script-file defaults to '/usr/local/share/gtypist/gtypist.typ'. The path $GTYPIST_PATH is searched for script files.
EXAMPLES
To run the default lesson in english `gtypist.typ':
gtypist
To run the lesson in spanish:
gtypist esp.typ
To instruct gtypist to look for lesson `bar.typ' in a non standard directory:
GTYPIST_PATH="/home/foo" gtypist bar.typ
To run the lesson in the file `test.typ' of directory `temp', starting at label `TEST1', using the terminal's cursor, and run
silently:
gtypist -t -q -l TEST1 /temp/test.typ
AUTHOR
Written by Simon Baldwin
REPORTING BUGS
Report bugs to bug-gtypist@gnu.org
COPYRIGHT
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Simon Baldwin.
Copyright (C) 2003, 2004, 2008, 2011 GNU Typist Development Team. This program comes with ABSOLUTELY NO WARRANTY; for details please see
the file 'COPYING' supplied with the source code.
This is free software, and you are welcome to redistribute it under certain conditions; again, see 'COPYING' for details. This program is
released under the GNU General Public License.
SEE ALSO
The full documentation for gtypist is maintained as a Texinfo manual. If the info and gtypist programs are properly installed at your
site, the command
info gtypist
should give you access to the complete manual.
gtypist 2.9.1 November 2011 GTYPIST(1)