9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I tried giving the following command
echo $$a
I got an output like 32178a
Can some one please explain why echo $$ is returning 32178
Thanks in advance (6 Replies)
Discussion started by: Sri3001
6 Replies
2. UNIX for Advanced & Expert Users
Folks,
I am hoping someone out there can help me. I have been writing code for in-excess of 10 years. Throughout all this time I have used Xemacs. I have picked up bits of customizations here and there over the years, but would not profess to be anything of an expert in Lisp (or have a heavily... (3 Replies)
Discussion started by: petermc
3 Replies
3. Shell Programming and Scripting
Hi friends..
I am using the below command to search few files from many folders which is under one folder..
i mean let say the path is A/B/C...and inside C...i have 1-10 folder...
the below command is working fine....
for i in 1 3 5 7; do
find /A/B/C/${i} -name "*.txt" -o -name "*.csv"... (9 Replies)
Discussion started by: sapan123
9 Replies
4. Shell Programming and Scripting
Hi all,
I m giving an alias to a command in bash shell under solaris o.s. As following.
alias "rm -r"="sh /dir1/move.sh"
It is throwing an error:
-bash: alias: `rm -r': invalid alias name
Please can anyone help me out for this.
Thank U
Naree (5 Replies)
Discussion started by: naree
5 Replies
5. Shell Programming and Scripting
Hi i need some help...
1.i have one main folder XYZ.
2.Many folders inside xyz say abc,def,mno
3.And inside each folder, i have many files .
want to print what ever files are present inside the subfolder abc,def,mno (what ever todays file ) in output file.out put file should be in xyz(say... (13 Replies)
Discussion started by: sapan123
13 Replies
6. Shell Programming and Scripting
I am trying to extract two fields from the output of ifconfig command on one of my sun server . The output looks like :
root@e08k18:/tmp/test# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0:... (9 Replies)
Discussion started by: kpatel786
9 Replies
7. Shell Programming and Scripting
if i give dir=/tmp/${0##*/}
what would b the value stored in dir ..i'm more concerned about the 0##*/ part.. (1 Reply)
Discussion started by: suri
1 Replies
8. AIX
Hi All,
As i asked you in my previous post, I want to read username and lastupdate only from /etc/security/passwd and write the same data to another file:
The data in /etc/security/passwd will be in this form for example:
smith:
password = MGURSj.F056Dj
lastupdate = 623078865
flags =... (0 Replies)
Discussion started by: me_haroon
0 Replies
9. UNIX for Dummies Questions & Answers
How do you get an awk output into columns i.e.
awk (print $1,$2,$3) doesn't come out into nice columns but lots of lines of txt want something more like.
I am crap
at unix so
give me a
hand thx Rich (3 Replies)
Discussion started by: RichardB
3 Replies
ctorrent(1) 2008-10-11 ctorrent(1)
NAME
ctorrent - Download bittorrent files from command line
SYNOPSIS
ctorrent - [options] *.torrent
OPTIONS
-a Preallocate files on disk
-A USER-AGENT-STRING
Set User-Agent header (default "Enhanced-CTorrent/dnh3.2")
-b FILE
Bitfield save FILE (default is torrent+".bf")
-c Check pieces only, don't download
-d Daemon mode (fork to background)
-D rate
Max bandwidth down (unit KiB/s)
-e hours
Exit while seed HOURS later (default 72 hours)
-E ratio
Exit after seeding to RATIO (UL:DL)
-f Force saved bitfield or seed mode (skip initial hash check)
-h|-H
Display short help.
-i IP
Listen for connections on specific IP address (default all/any)
-l LENGTH
Piece length (default 262144)
-m PEERS-MIN
Min peers count (default 1)
-M PEERS-MAX
Max peers count (default 100)
-n FILE-NBR-LIST
Specify file number(s) to download
-p PORT
Listen PORT (default 2706 -> 2106)
-P ID
Set Peer ID prefix (default "-CD0302-")
-s SAVEFILE|DIR
Download ("save as") to a different file or directory
-t Create a new torrent file
-t URL
Tracker's URL
-v Verbose output (for debugging)
-x Decode metainfo (torrent) file only, don't download
-z SLICE-SIZE
Download slice/block size, unit KB (default 16, max 128)
DESCRIPTION
CTorrent is a BitTorrent Client program written in C/C++. Fast and small are CTorrent's two strengths.
EXAMPLES
ctorrent -s save.iso -e 12 -C 32 -p 6881 iso.torrent
ENVIRONMENT
None.
FILES
None.
SEE ALSO
azureus(1) bittornado(1) bittorrent(1) ktorrent(1) qbittorrent(1) qtorrent(1) rtorrent(1) transmission-cli(1)
AUTHORS
This manual page was written by Jari Aalto <jari.aalto@cante.net>, for the Debian GNU system (but may be used by others). Released under
license GNU GPL v2 or (at your option) any later version.
The program development was discontinued 2006-06-07. See project page https://sourceforge.net/projects/ctorrent
ctorrent 2008-10-11 ctorrent(1)