Re: output to file different than console. (ssh and zfs )

2016-03-10 Thread Johan Hendriks
Op 10/03/16 om 19:43 schreef Brandon Allbery: > > On Thu, Mar 10, 2016 at 1:41 PM, Johan Hendriks > mailto:joh.hendr...@gmail.com>> wrote: > > mytitle > > > if ($?prompt) mytitle > > > -- > brandon s allbery kf8nh sine nomine > associates > allber...@gmail.com <

Re: output to file different than console. (ssh and zfs )

2016-03-10 Thread Brandon Allbery
On Thu, Mar 10, 2016 at 4:08 PM, Johan Hendriks wrote: > > Op 10/03/16 om 19:43 schreef Brandon Allbery: > > On Thu, Mar 10, 2016 at 1:41 PM, Johan Hendriks < > joh.hendr...@gmail.com> wrote: > >> mytitle > > > if ($?prompt) mytitle > > If I change mytitle to if ($?prompt) mytitle I get the follo

Re: output to file different than console. (ssh and zfs )

2016-03-10 Thread Johan Hendriks
Op 10/03/16 om 19:43 schreef Brandon Allbery: > > On Thu, Mar 10, 2016 at 1:41 PM, Johan Hendriks > mailto:joh.hendr...@gmail.com>> wrote: > > mytitle > > > if ($?prompt) mytitle > > > -- > brandon s allbery kf8nh sine nomine > associates > allber...@gmail.com <

Re: output to file different than console. (ssh and zfs )

2016-03-10 Thread Brandon Allbery
On Thu, Mar 10, 2016 at 1:41 PM, Johan Hendriks wrote: > mytitle if ($?prompt) mytitle -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad

Re: output to file different than console. (ssh and zfs )

2016-03-10 Thread Johan Hendriks
Op 10/03/16 om 19:18 schreef Brandon Allbery: > On Thu, Mar 10, 2016 at 1:12 PM, Johan Hendriks > mailto:joh.hendr...@gmail.com>> wrote: > > ^[]0;storage2.server.mydomain.com > > > ^Gstorage/home/datadir1@15min_2016-03-09_22.20.00--1h >

Re: output to file different than console. (ssh and zfs )

2016-03-10 Thread Brandon Allbery
On Thu, Mar 10, 2016 at 1:12 PM, Johan Hendriks wrote: > ^[]0;storage2.server.mydomain.com > > ^Gstorage/home/datadir1@15min_2016-03-09_22.20.00--1h > storage/home/datadir2@15min_2016-03-09_22.20.00--1h > storage/home/datadir3@15min_2016-03-09_22.20.00--1h > storage/home/datadir4@15min_2016-03-09

output to file different than console. (ssh and zfs )

2016-03-10 Thread Johan Hendriks
Hello all. I use a script to get a list of snapshots from a remote machine. If I run it on the console it gives me the following. root@storage1:/ # ssh r...@storage2.server.mydomain.com /sbin/zfs list -H -o name -t snapshot | grep 15min_ | sort storage/home/datadir1@15min_2016-03-09_22.20.00--1h