04-13-2005
2>&1 | tail
would work stderr into it.
But what if there is a gigabyte line?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello everyone,
I am just looking for ideas on how I can implement a demo version of my program which will be available in unix environment (solaris and linux).
So what I have in mind is to either implement a limited-time version (trial version expires after 30 days) or a limited-number... (4 Replies)
Discussion started by: the_learner
4 Replies
2. UNIX for Advanced & Expert Users
Hi All :
I wanted a unix command by which I could be able to print the output to a file and at the same time to a printer. Any help will be greatly appreciated.
Regards,
Ramamurthy Dasari (1 Reply)
Discussion started by: rdasari
1 Replies
3. Shell Programming and Scripting
Hello,
If I run a program from within shell, the output is displayed in the command line terminal. Is there a way I can capture that output and choose only the very last string in it to send it to a new file?
Thank you (6 Replies)
Discussion started by: Lorna
6 Replies
4. Shell Programming and Scripting
Hi,
I am running a shell script called dbProcess.sh which performs shutdown and startup of various Oracle instances we have.At the time of execution the script produces the following output to the command line window
$./dbProcess.sh stop
#### Run Details ######
Hostname : server-hop-1... (4 Replies)
Discussion started by: rajan_san
4 Replies
5. Programming
hi
This is mahesh
please can any one post source of 'c'. to capture key board events.
thank u (1 Reply)
Discussion started by: smahesh2007
1 Replies
6. Shell Programming and Scripting
I am running a SAS program within K-shell. This SAS program gives me return code of 3000. However, when I check return code in my K-shell, it displays RC=2.
Can someone tell me how to capture RC from SAS to K-shell?
Thanks.
Pramodini (2 Replies)
Discussion started by: Pramodini Rode
2 Replies
7. Shell Programming and Scripting
Hi
I have a script that will run multiple unix & sql commands. I want to see the output as well as capture it to a log file for further analysis. Is there an easy way to do that instead of adding "tee -a logfile" on everyline or even on the execute line (i.e. script | tee -s logfile).
Thanks (1 Reply)
Discussion started by: nimo
1 Replies
8. Shell Programming and Scripting
I want to capture the debug for the below command in output file .
i tried like this but its not working:
sh -xv <scriptname> >> output.log
i want the output in a log file.
Anyone plz help in this (2 Replies)
Discussion started by: chakkaravarthy
2 Replies
9. Shell Programming and Scripting
Hi all,
I am using an external binary to view memory starting from a specific address and i want to automate this via PERL however there are problems. Hope you can help me ..thx
The output of the programme is like below:
bash-3.2$ mem_disp 12B21D20 100
Opening RO Data Memory File scp.ro... (4 Replies)
Discussion started by: ekckabatop
4 Replies
10. Shell Programming and Scripting
Hi,
I am trying to capture the output of the an open pipe in perl. but I am not sure how to do this. can some one please help me do that?
Below is the script I am using (2 Replies)
Discussion started by: ahmedwaseem2000
2 Replies
LEARN ABOUT DEBIAN
backupninja.conf
BACKUPNINJA.CONF(5) backupninja package BACKUPNINJA.CONF(5)
NAME
BACKUPNINJA.CONF - Configuration file(s) for backupninja (1).
SYNOPSIS
/etc/backupninja.conf
DESCRIPTION
backupninja.conf is the general configuration file. In this file you can set the log level and change the default directory locations. You
can force a different general configuration file with "backupninja -f /path/to/conf".
OPTIONS
loglevel
How verbose to make the logs.
5 = Debugging messages
4 = Informational messages
3 = Warnings
2 = Errors
1 = Fatal errors
reportemail
Send a summary of the backup status to this email address
reportsuccess
If set to 'yes', a report email will be generated even if all modules reported success.
reportwarning
If set to 'yes', a report email will be generated even if there was no error.
logfile
The path of the logfile.
configdirectory
The directory where all the backup action configuration files live.
scriptdirectory
Where backupninja handler scripts are found
usecolors
If set to 'yes', use colors in the log file and debug output.
when When to process each configuration file. The value used here will be applied for each configuration file. It is possibile to over-
ride this "when" in each each configuration file, see also section "Scheduling" in backup.d(5).
For example:
when = sundays at 02:00
when = 30th at 22
when = 30 at 22:00
when = everyday at 01 <-- the default
when = Tuesday at 05:00
These values for 'when' are equivalent:
when = tuesday at 05:30
when = TUESDAYS at 05
These values for 'when' are invalid:
when = tuesday at 2am
when = tuesday at 2
when = tues at 02
vservers
If you are using Linux-Vservers (http://linux-vserver.org), there are some special capabilities that different handlers have to make
vserver backups easier. See the example configuration files for each handler to configure the vserver specific variables.
DEFAULTS
loglevel = 4
reportemail = root
reportsuccess = yes
reportwarning = yes
logfile = /var/log/backupninja.log
configdirectory = /etc/backup.d
scriptdirectory = /usr/share/backupninja
usecolors = yes
when = everyday at 01:00
vservers = no
SEE ALSO
backupninja(1), ninjahelper(1), backup.d(5),
AUTHOR
BACKUPNINJA was written by the riseup.net collective.
riseup November 19, 2005 BACKUPNINJA.CONF(5)