emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] bash alias and history in code block


From: OSiUX
Subject: [O] bash alias and history in code block
Date: Fri, 6 Dec 2013 14:58:55 -0300
User-agent: Mutt/1.5.21 (2010-09-15)

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) address@hidden
  DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C
  http://www.osiux.com.ar http://www.altermundi.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]