03-16-2010
10 More Discussions You Might Find Interesting
1. Solaris
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies
2. Shell Programming and Scripting
Hi,
How to get the size of the
.tar file
.Z file
.gz file.
Please help me what command i need to use in shell scripting :(
Regards,
Kalai (3 Replies)
Discussion started by: kalpeer
3 Replies
3. Shell Programming and Scripting
Hello all, :)
I have a pattern file some what like this,
cd003
cd005
cd007
cd008
and input file like this,
abc cd001 cd002 zca
bca cd002 cd003 cza
cba cd003 cd004 zca
bac cd004 cd005 zac
cba cd005 cd006 acz
acb cd006 cd007 caz
cab cd007 ... (25 Replies)
Discussion started by: admax
25 Replies
4. Shell Programming and Scripting
Input file:
adc_0123
haa_1000
bcc_520
adc_0150
bcc_290
adc_0112
haa_8000
adc_0139
haa_7000
Output file:
adc_0123 adc_0123
haa_1000
bcc_520
adc_0150 adc_0150
bcc_290 (3 Replies)
Discussion started by: patrick87
3 Replies
5. Shell Programming and Scripting
hye there...
i have a problem to copy file in specific folder
that will change the name according to
host,time(%m%s) and date(%Y%M%D)
example folder name:
host_20100531.154101801
this folder name will always change...
but i just want to copy the AAA.txt and BBB.txt file..
really need... (17 Replies)
Discussion started by: annetote
17 Replies
6. Programming
Input file:
@HWI-BRUNOP1_header_1
GACCAATAAGTGATGATTGAATCGCGAGTGCTCGGCAGATTGCGATAAAC
+HWI-BRUNOP1_header_1
TNTTJTTTETceJSP__VRJea`_NfcefbWe
Desired output file:
>HWI-BRUNOP1_header_1
GACCAATAAGTGATGATTGAATCGCGAGTGCTCGGCAGATTGCGATAAAC
>HWI-BRUNOP1_header_2... (10 Replies)
Discussion started by: cpp_beginner
10 Replies
7. UNIX for Dummies Questions & Answers
I'm still beginner and maybe someone can help me.
I have this input:
the great warrior a, b, c
and what i want to know is, with awk, how can i detect the string with 'warrior' string on it and print the a, b, and c seperately, become like this :
Warrior Type
a
b
c
Im still very... (3 Replies)
Discussion started by: radynaraya
3 Replies
8. UNIX for Dummies Questions & Answers
Hi ,
i have some files of specific pattern ...i need to look for files which are having size greater than zero and move those files to another directory..
Ex...
abc_0702,
abc_0709,
abc_782
abc_1234 ...etc
need to find out which is having the size >0 and move those to target directory..... (7 Replies)
Discussion started by: dssyadav
7 Replies
9. Shell Programming and Scripting
how to use "awk" to print any record has pattern not equal ? for example my file has 5 records & I need to get all lines which $1=10 or 20 , $2=10 or 20 and $3 greater than "130302" as it shown :
10 20 1303252348212B030
20 10 1303242348212B030
40 34 1303252348212B030
10 20 ... (14 Replies)
Discussion started by: arm
14 Replies
10. Shell Programming and Scripting
I have input file as below I need to check for a pattern and if it is there in file then I need to print all the lines below BEGIN and END keyword. Could you please help me how to get this in AIX using sed or awk.
Input file:
ABC
******** BEGIN *****
My name is Amit.
I am learning unix.... (8 Replies)
Discussion started by: Amit Joshi
8 Replies
CAPISTRANO(1) General Commands Manual CAPISTRANO(1)
NAME
cap -- cap is an utlity to invoke capistrano tasks.
SYNOPSIS
cap <command> [options]
DESCRIPTION
Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH. It uses a simple DSL (bor-
rowed in part from Rake, http://rake.rubyforge.org/) that allows you to define _tasks_, which may be applied to machines in certain roles.
It also supports tunneling connections via some gateway machine to allow operations to be performed behind VPN's and firewalls.
Capistrano was originally designed to simplify and automate deployment of web applications to distributed environments, and originally came
bundled with a set of tasks designed for deploying Rails applications. The deployment tasks are now (as of Capistrano 2.0) opt-in and
require clients to explicitly put "load 'deploy'" in their recipes.
Capistrano is a self-documenting program by giving you an extensive help listing for each command. If you think that this manual page is
outdated, simply running
cap -h
ASSUMPTIONS
Capistrano is "opinionated software", which means it has very firm ideas about how things ought to be done, and tries to force those ideas
on you. Some of the assumptions behind these opinions are:
* You are using SSH to access the remote servers.
* You either have the same password to all target machines, or you have public keys in place to allow passwordless access to them.
Do not expect these assumptions to change.
OPTIONS
Capistrano is extensible configurable, and it has the following configuration options:
-e --explain TAKS
Displays help (if available) for the task.
-F --default-config
Always use default config, even with -f.
-f --file FILE
A recipe file to load. May be given more than once.
-H --long-help
Explain these options.
-h --help
Display this help message.
-p --password
Immediately prompt for the password.
-q --quiet
Make the output as quiet as possible.
-S --set-before NAME=VALUE
Set a variable before the recipes are loaded.
-s --set NAME=VALUE
Set a variable after the recipes are loaded.
-T --taks
List all tasks in the loaded recipe files.
-V --version
Display the Capistrano version, and exit.
-v --verbose
Be more verbose. May be given more than once.
-X --skip-system-config
Don't load the system config file (capistrano.conf)
-x --skip-user-config
Don't load the user config file (.caprc)
SEE ALSO
capify (1).
AUTHOR
This manual page was written by Leandro Nunes dos Santos leandronunes@colivre.coop.br for the Debian system (but may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any
later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
CAPISTRANO(1)