From mboxrd@z Thu Jan 1 00:00:00 1970 From: OSiUX Subject: bash alias and history in code block Date: Fri, 6 Dec 2013 14:58:55 -0300 Message-ID: <20131206175855.GA32108@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VozfD-0002XH-2f for emacs-orgmode@gnu.org; Fri, 06 Dec 2013 12:58:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vozf8-0004iA-SH for emacs-orgmode@gnu.org; Fri, 06 Dec 2013 12:58:07 -0500 Received: from merlot.gcoop.coop ([67.208.113.123]:50481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vozf8-0004i1-Np for emacs-orgmode@gnu.org; Fri, 06 Dec 2013 12:58:02 -0500 Received: from localhost (merlot [127.0.0.1]) (Authenticated sender: xuiso@osiux.com.ar) by merlot.gcoop.coop (Postfix) with ESMTPSA id C59831480F3 for ; Fri, 6 Dec 2013 14:58:22 -0300 (ART) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline How to use alias and bash builtin functions? #+BEGIN_SRC sh :session :results output echo $SHELL echo $HOME source ~/.bashrc alias | wc env | grep HISTTIMEFORMAT history | wc #+END_SRC #+RESULTS: : /bin/bash : /home/osiris : 0 0 0 : HISTTIMEFORMAT=%Y-%m-%d %H:%M : 0 0 0 Thanks! -- :: Osiris Alejandro Gomez (OSiUX) osiux@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJSohBeAAoJELMIpnGSN9NsglEP/3yg7kb6BCcrgZx7EimNUvlW nJ7qXOEZyNsZDs8k4Ar/vLelogRjLXrKiVHXxcpifpugF8lwqpJbOSJR68Kkw+fc vCtMBA0O25Dhq1DxQ7SZadBvyoRoC6b7QqHzn39Us596HMVzKXwIs1akd+7uQvJT mtG7xkjQF3O3BU7HAus9AKQPgc3DCHl3fmV4v6gZ51XZSrCUospQKbPlSJ58zDOv r5U1AOYM2UajdoC+NWwYIRfHO4BA2RA7NGO1a3qVHsecJEh8pDti7Zlwl8vcFSHP n2dyEEeUcj3LC+7WyfmIHfr9GEjXBdmNZ3RDxDNas0rzVBN9/y+vNNwyLDub0SAe sQH5gleO14g7Ryji+H1/fhkE9LFJQWF5UiF/ptxojsbqpFCl8w1WEBTz0DnLNl77 jKQ3xhL8R+J3n8UYpXs7EwjWGN3waWN49g3XMvyr51h7euPGF/pSjgxgnMkoP496 /kOlFwm1reoLOhRhYrL0E98RKAXgkvxPPBWwdHguqTzvrMTwFoZx1fAgUrilZpJV RZcv+nXu6vDJ/aOlUZRRtY4obiQKRPFRTpZWQBJY+gkQJxmd9u3ATo3EUpCvXPyt jA6vHZzMxvYRZtVH1VypfpthO0XaNyUG/5esDQecet+KfDDRtglKpTsbjPfXEQPn AecqhE8pfpvDS25TxpYm =mR3I -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--