Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Hello all,
The following script (sess.sh) runs fine and gives the correct output on a SunOS 5.9 ( default shell =/bin/ksh) but gives incorrect results on a SunOS 5.7 (default shell= /bin/sh). The script logs on to an oracle database and queries the total no of sessions running in the database... (6 Replies)
Hello to all...this is my first post (so please go easy). :)
I feel pretty solid at expect scripting, but I'm running into an issue that I'm not able to wrap my head around. I wrote a script that is a little advanced for logging into a remote Linux machine and changing text in a file using sed.... (2 Replies)
Hi All,
Using Expect script when I run it manually it works. But when I put the entry in crontab, the job is still running after 15 hours. The script was created as root. I don't think it's a permission issue. Any idea?
This is what I have under root crontab...
00 18 * * 1-5... (4 Replies)
I have a really basic expect script which I call from php. I works fine when I run the php from the shell, but from the web it appears as if the output buffer gets chopped and never gets all of the contents.
php script: (runexpect.php)
<?php... (7 Replies)
Hi all,
I'm new in this forum.
I'm looking for the difference between the HACMP commands with the prefix "cl" and "cli".
The first type are under /usr/es/sbin/cluster/sbin directory and the second are under /usr/es/sbin/cluster/cspoc directory.
I know that the first are called HACMP for AIX... (0 Replies)
Guys,
I need you help please.
The script below is not working correclty for checking via a awk/if statement . Can you tell me what i am doing wrong in the script code "if($1 == "$RETENTION_LEVEL") "
Syntax
RETENTION_LEVEL=`echo $LINE | cut -f2 -d" "`
echo " ==============... (4 Replies)
Greetings, I have a C-program that is made to implement a hidden Markov model on an input file. The program is very memory intensive.
I've installed it on my local server where I have an account and it compiles fine. The way they have the server set up is that you can either work... (1 Reply)
I'm having a problem scripting Expect to work as a Nagios check. The script runs fine from the cli, but not when run as a Nagios check. I turn on the debug output, and it looks like it's not seeing the whole buffer's worth of info, like it's paged interactively somehow. I'm new to Expect, but this... (1 Reply)
The below command works in the terminal interactively but not as part of a bash script. I though maybe I needed to escape the "$dir" so it isn't interpreted literally, but that's not it. Thank you :).
interactively in terminal
dir=/path/to
new=$(ls "$dir"/*.csv -tr | tail -n 1) && echo... (6 Replies)
Discussion started by: cmccabe
6 Replies
LEARN ABOUT DEBIAN
transmission-cli
TRANSMISSION-CLI(1) BSD General Commands Manual TRANSMISSION-CLI(1)NAME
transmission-cli -- a bittorrent client
SYNOPSIS
transmission-cli -h
transmission-cli [-b | -B] [-d number | -D] [-er | -ep | -et] [-f script] [-g directory] [-h] [-m | -M] [-p port] [-t] [-u number | -U] [-v]
[-w directory] torrent-file
DESCRIPTION
The transmission-cli program is a lightweight, command-line BitTorrent client with scripting capabilities.
The options are as follows:
-b --blocklist
Enable peer blocklists. Transmission understands the bluetack blocklist file format. New blocklists can be added by copying them
into the config-dir's "blocklists" subdirectory.
-B --no-blocklist
Disble blocklists.
-d, --downlimit number
Set the maximum download speed in KB/s
-D, --no-downlimit
Don't limit the download speed
-er --encryption-required
Encrypt all peer connections.
-ep --encryption-preferred
Prefer encrypted peer connections.
-et --encryption-tolerated
Prefer unencrypted peer connections.
-f, --finish script
Set a script to run when the torrent finishes
-g, --config-dir directory
Where to look for configuration files. This can be used to swap between using the cli, daemon, gtk, and qt clients. See
http://trac.transmissionbt.com/wiki/ConfigFiles for more information.
-h, --help
Prints a short usage summary.
-m, --portmap
Enable portmapping via NAT-PMP or UPnP
-M, --no-portmap
Disable portmapping
-n, --new sourcefile
Create torrent from the specified file or directory
-p, --port port
Set the port to listen for incoming peers. (Default: 51413)
-t, --tos
Set the peer socket TOS for local router-based traffic shaping.
-u, --uplimit number
Set the maximum upload speed in KB/s
-U, --no-uplimit
Don't limit the upload speed
-v, --verify
Verify the torrent's downloaded data.
-w, --download-dir directory
Where to save downloaded data.
SIGNALS
In addition to these options, sending transmission-cli a SIGHUP signal will contact the tracker for more peers.
ENVIRONMENT
TRANSMISSION_HOME
Sets the default config-dir.
http_proxy libcurl uses this environment variable when performing tracker announces.
FILES
~/.config/transmission
Directory where transmission-cli keeps torrent information for future seeding and resume operations.
AUTHORS
The transmission-cli program was written by Eric Petit, Josh Elsasser, Jordan Lee, and Mitchell Livingston.
SEE ALSO transmission-create(1), transmission-daemon(1), transmission-edit(1), transmission-gtk(1), transmission-qt(1), transmission-remote(1),
transmission-show(1)
http://www.transmissionbt.com/
BSD July 21, 2008 BSD