search for: tee

Displaying 20 results from an estimated 865 matches for "tee".

Did you mean: te
2014 Nov 04
1
[PATCH] customize: firstboot: fix Linux log output
Pass -a to each tee invocation, otherwise just the last one (so only for the last script executed) will appear in the log file. --- customize/firstboot.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/customize/firstboot.ml b/customize/firstboot.ml index 89821f3..0b95708 100644 --- a/cus...
2023 Apr 21
1
[PATCH] ocfs2: Fix wrong search logic in __ocfs2_resv_find_window
On Fri, Apr 21, 2023 at 03:35:01PM +0800, Joseph Qi wrote: > Hi, > Could you please share a reproducer? > Anyone could access & download the URL [1] (I wrote it in patch commit log) without register SUSE account. Please check attachment file, which I downloaded from [1] and modified under the BZ comment 1. The trigger method is also in comment 1, I copy here: ./defragfs_test.sh -d
2009 Jun 24
2
Script to run Wine and save log
...er=`$wine --version` 2> /dev/null; then echo "Fatal error: Cannot run wine with command '$wine'!" 1>&2 exit 1 fi mkdir "$logpath" logname="$logpath/$1.$date.$winever.log" echo "----------------------------------------------------------"|tee "$logname" echo "Wine version: $winever" |tee -a "$logname" echo "WINEPREFIX: '$WINEPREFIX'"|tee -a "$logname" echo "WINEPREFIX state: '$wineprefixstatus'"|tee -a "$logname" echo "Working directory: '`pwd...
2014 Jan 09
3
[Bug 884] New: the rule of TEE target with '--oif' option cannot be deleted.
https://bugzilla.netfilter.org/show_bug.cgi?id=884 Summary: the rule of TEE target with '--oif' option cannot be deleted. Product: iptables Version: 1.4.x Platform: i386 OS/Version: Fedora Status: NEW Severity: minor Priority: P5 Component: iptables Assigned...
2016 Feb 25
0
Building with LLVM_PARALLEL_XXX_JOBS
...like NinjaS but I have not used it yet as software. > > From my build-script... > > [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR} > cd $BUILD_DIR > > # BUILD-VARIANT #1: CONFIGURE AND MAKE (will be DEPRECATED with LLVM v3.9) > ##../llvm/configure $CONFIGURE_OPTS 2>&1 | tee $LOGS_DIR/$CONFIGURE_LOG_FILE > ##$MAKE $MAKE_OPTS 2>&1 | tee $LOGS_DIR/$BUILD_LOG_FILE > ##sudo $MAKE install 2>&1 | tee $LOGS_DIR/$INSTALL_LOG_FILE > > # BUILD-VARIANT #2: CMAKE > $CMAKE ../llvm $CMAKE_OPTS 2>&1 | tee $LOGS_DIR/$CONFIGURE_LOG_FILE > $CMAKE -...
2016 Feb 25
4
Building with LLVM_PARALLEL_XXX_JOBS
...l build in parallel. > So, I like NinjaS but I have not used it yet as software. >From my build-script... [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR} cd $BUILD_DIR # BUILD-VARIANT #1: CONFIGURE AND MAKE (will be DEPRECATED with LLVM v3.9) ##../llvm/configure $CONFIGURE_OPTS 2>&1 | tee $LOGS_DIR/$CONFIGURE_LOG_FILE ##$MAKE $MAKE_OPTS 2>&1 | tee $LOGS_DIR/$BUILD_LOG_FILE ##sudo $MAKE install 2>&1 | tee $LOGS_DIR/$INSTALL_LOG_FILE # BUILD-VARIANT #2: CMAKE $CMAKE ../llvm $CMAKE_OPTS 2>&1 | tee $LOGS_DIR/$CONFIGURE_LOG_FILE $CMAKE --build . 2>&1 | tee $L...
2007 Aug 27
1
R 2.5.1 - Rscript through tee
...have an executable file (named "pp.R") with this contents: #!/usr/bin/Rscript options(echo=TRUE) a <- 1 Sys.sleep(3) a <- 2 If I execute "./pp.R" at the shell prompt, the output shows the timely progress of the script as expected. If I use "./pp.R | tee OUT" instead, the output seems buffered and I see it all at once at the end. The problem does not come from the "tee" program, as if I use this command: (echo a; sleep 5; echo b) | tee OUT the output is timely, not batched. So, is there a way to tell R (or Rscript) that stan...
2011 Feb 21
2
Basic Bash Script Question
I'm stuck trying to work this one out and my Google skills are apparently lacking today. This is a test bash script; #!/bin/bash do something | tee a.log if [ $? -ne 0]; then echo broken fi The problem with this script is $? contains the exit value of the tee command, but I want to check the exit value of whatever command I put in place of 'do something'. How can I achieve this without loosing the tee operation, as 'do somethin...
2014 Nov 03
2
[PATCH] customize: firstboot: make sure to run Linux scripts only once
...stomize/firstboot.ml @@ -57,10 +57,13 @@ then for f in $d/* ; do if test -x \"$f\" then + # remove +x from the script being executed, so it is not + # executed again at the next boot + chmod -x $f echo '=== Running' $f '===' 2>&1 | tee $logfile - $f 2>&1 | tee $logfile - rm -f $f + sh $f 2>&1 | tee $logfile fi + rm -f $f done fi " firstboot_dir -- 1.9.3
2014 Nov 03
1
[PATCH] customize: firstboot: make sure to run Linux scripts only once
...e/firstboot.ml index 67b9479..89821f3 100644 --- a/customize/firstboot.ml +++ b/customize/firstboot.ml @@ -47,6 +47,7 @@ module Linux = struct ### END INIT INFO d=%s/scripts +d_done=%s/scripts-done logfile=~root/virt-sysprep-firstboot.log echo \"$0\" \"$@\" 2>&1 | tee $logfile @@ -54,16 +55,20 @@ echo \"Scripts dir: $d\" 2>&1 | tee $logfile if test \"$1\" = \"start\" then + mkdir -p $d_done for f in $d/* ; do if test -x \"$f\" then + # move the script to the 'scripts-done' directory, s...
2008 Dec 27
2
Beginner - need suggestion to improve BACKUP script
...Mass-Storage /media/backup > echo "------------------------------------------------------------------------- " >> /root/backup.log > echo $(date) >> /root/backup.log > /etc/rc.d/init.d/named stop &> /dev/null > echo "CONFIGURATION backup starting "|tee -a /root/backup.log > /usr/bin/rsync -a --progress --delete /etc/ ~freedom/backup/etc/ >> /root/backup.log;echo "CONFIGURATION backup finished" |tee -a /root/backup.log;echo "VARIABLE backup starting"|tee -a /root/backup.log;/usr/bin/rsync -a --progress --delete --exclu...
2019 Apr 30
3
HERE document in docker script file
...st be doing something wrong since I get a warning message that I did not expect: EOF: line 6: warning: here-document at line 0 delimited by end-of-file (wanted `EOF') This is the sample script I am testing in my docker file: RUN bash -c "$(/bin/echo -e "cat << 'EOF' | tee -a /test.txt \ ??? \n<test> \ ??? \n? someting here \ ??? \n? something else here \ ??? \n</test>")" \ EOF Can anyone see what is wrong in the above statement? Thanks.
2007 Nov 09
6
backups and md5 all in one while splitting
I'm trying to back up our svn repositories, and I found a nice little backup command line bzip's the backup and creates the md5 hash all in one: svnadmin dump --deltas /repo |bzip2 |tee dump.bz2 | md5sum >dump.md5 The problem is I need to split the backups, so this doesn't really work. Is there perhaps another way of piping things to allow for splitting of the backups? Currently I'm doing something like this svnadmin dump --deltas /repo |bzip2 |split - -b 64m cat...
2018 Nov 16
2
Ubuntu bionic 18.04 compatible samba 4.9.2 packages amd64 only now available.
Hai,   its late, but the ubuntu 18.04 packages are ready.   The repo setup.   wget -O - http://apt.van-belle.nl/louis-van-belle.gpg-key.asc | apt-key add - echo "# AptVanBelle repo for samba." | sudo tee /etc/apt/sources.list.d/van-belle.list echo "deb http://apt.van-belle.nl/debian bionic-samba49 main contrib non-free" | sudo tee -a /etc/apt/sources.list.d/van-belle.list   And install as usual.   Have fun with these. Have a nice weekend everybody.   Greetz,   Louis  
2004 Sep 28
3
Truncated output from "rsync -e ssh ... 2>&1 | tee"
...ually get done when you remove the -n. (This is not one of the usual "-n" corner cases.) It turns out that this only happens when you're doing a remote rsync over ssh AND you redirect stderr into a pipe that fills up, as in rsync -e ssh -avn host:/path /local/path 2>&1 | tee LOG I can get the right answer by just not capturing stderr; i.e. removing the "2>&1" and just saying rsync -avn host:/path /local/path | tee LOG works. The data loss occurs when the pipe (to tee here) fills, so in principle you could lose output even without the "-n&...
2008 Apr 23
2
[LLVMdev] how to dump DSA graph in gdb?
...cord,label="{ i32*: SMR\n|{<g0>|<g1>}}"]; Node0xe1f4d0:g0 -> Node0xe1f3a0; Node0xe20900 [shape=record,shape=Mrecord,label="{ i32: GR\n @global\n|{<g0>}}"]; Node0xe16530[ label =" %x_addr"]; Node0xe16530 -> Node0xe1f4d0[arrowtail=tee,color=gray63]; Node0xe162f0[ label =" %x"]; Node0xe162f0 -> Node0xe1f3a0[arrowtail=tee,color=gray63]; Node0xe16950[ label =" %tmp4"]; Node0xe16950 -> Node0xe1f3a0[arrowtail=tee,color=gray63]; Node0xe16730[ label =" %tmp"]; Node0xe16730...
2016 Feb 25
1
Building with LLVM_PARALLEL_XXX_JOBS
...it yet as software. >> >> From my build-script... >> >> [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR} >> cd $BUILD_DIR >> >> # BUILD-VARIANT #1: CONFIGURE AND MAKE (will be DEPRECATED with LLVM v3.9) >> ##../llvm/configure $CONFIGURE_OPTS 2>&1 | tee $LOGS_DIR/$CONFIGURE_LOG_FILE >> ##$MAKE $MAKE_OPTS 2>&1 | tee $LOGS_DIR/$BUILD_LOG_FILE >> ##sudo $MAKE install 2>&1 | tee $LOGS_DIR/$INSTALL_LOG_FILE >> >> # BUILD-VARIANT #2: CMAKE >> $CMAKE ../llvm $CMAKE_OPTS 2>&1 | tee $LOGS_DIR/$CONFIGURE_LO...
2016 Feb 25
0
Building with LLVM_PARALLEL_XXX_JOBS
> On Feb 24, 2016, at 9:55 PM, Sedat Dilek via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi, > > I switched from "configure and make" to "cmake" build-system and > wanted to speedup my build. > > In my build-script I use... > > CMAKE_JOBS="1" > ##CMAKE_JOBS=$(($(getconf _NPROCESSORS_ONLN)+1)) >
2011 Aug 20
1
Centos tee shirts
I haven't heard anything more about the centos tee shirts KB mentioned a few weeks ago. Have I missed out, or am I merely being too impatient? :) -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- The Lord detests the way of the wicked but he loves those who pursue righteou...
2018 Aug 24
3
Debian Stretch Samba packages 4.6.16/4.7.9/4.8.4 (amd64/i386) available
...ckages. For now the Debian stretch packages and available are amd64/i386 and sources.   Import my key:  wget -O - http://apt.van-belle.nl/louis-van-belle.gpg-key.asc | apt-key add -   samba 4.6.  :   echo "deb http://apt.van-belle.nl/debian stretch-samba46 main contrib non-free" | sudo tee -a /etc/apt/sources.list.d/van-belle.list package list: http://apt.van-belle.nl/current-packages-in-stretch-samba46-apt.txt   samba 4.7.  :   echo "deb http://apt.van-belle.nl/debian stretch-samba47 main contrib non-free" | sudo tee -a /etc/apt/sources.list.d/van-belle.list package list:...