Discussion:
[Fab-user] centos6 linux system don't record histroy when fabric exec command
风尘
2016-05-11 02:29:37 UTC
Permalink
hi,
this is fabrice user,
the system don't record history command after i used fab command connect other server exec system command ;

i wanna system record fab histroy command how can i do .


thks.
Brandon Whaley
2016-05-11 15:45:44 UTC
Permalink
If you want to record all commands executed by bash, you'll need to modify
bash on your remote systems. Fabric just runs "/bin/bash -l -c":
http://docs.fabfile.org/en/1.11/usage/env.html#shell
Post by 风尘
hi,
this is fabrice user,
the system don't record history command after i used fab command connect
other server exec system command ;
i wanna system record fab histroy command how can i do .
thks.
_______________________________________________
Fab-user mailing list
https://lists.nongnu.org/mailman/listinfo/fab-user
风尘
2016-05-12 03:53:02 UTC
Permalink
hi brandon whaley,
how can i modify bash on remote systems. i asked google and baidu don't give me answer,

u have example give me look look.

thk.



------------------ Ô­ÊŒÓÊŒþ ------------------
·¢ŒþÈË: "Brandon Whaley";<***@gmail.com>;
·¢ËÍʱŒä: 2016Äê5ÔÂ11ÈÕ(ÐÇÆÚÈý) ÍíÉÏ11:45
ÊÕŒþÈË: "·ç³Ÿ"<***@qq.com>; "fab-user"<fab-***@nongnu.org>;

Ö÷Ìâ: Re: [Fab-user] centos6 linux system don't record histroy when fabricexec command



If you want to record all commands executed by bash, you'll need to modify bash on your remote systems. Fabric just runs "/bin/bash -l -c": http://docs.fabfile.org/en/1.11/usage/env.html#shell

On Wed, May 11, 2016 at 10:28 AM ·ç³Ÿ <***@qq.com> wrote:

hi,
this is fabrice user,
the system don't record history command after i used fab command connect other server exec system command ;

i wanna system record fab histroy command how can i do .


thks.



_______________________________________________
Fab-user mailing list
Fab-***@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fab-user

Loading...