Hi, I used the neat history trick that Mike, Steven, and Bennet suggested for a bootcamp last week, and students absolutely loved it! I suggest adding this to the 'SWC instructor bag of tricks' :)
Thanks for sharing, Bernhard P.S. This is what I put in my .bashrc alias start_recording='export PROMPT_COMMAND="history 1 >> ~/Dropbox/Public/history.txt";HISTTIMEFORMAT="%Y-%m-%d %H:%M:%S $ alias stop_recording='export PROMPT_COMMAND=""' On Tue, Aug 26, 2014 at 4:10 PM, Daniel Chen <[email protected]> wrote: > Last time I taught bash, I opened an explorer/finder/nautilus window along > with terminal. when i 'cd' to a directory, I explicitly said (and did) > 'this is the same as double clicking a folder'. > > Although having a 'live' nautilus window to follow your bash commands is > nice, having a separate window slows you down and makes you re-iterate > definitions and what you are doing. > > I also like showing them a folder with 1000's of files in it, as a > practice of using the wildcard to move files. You don't want to actually > have the GUI draw the icons, things freak out. > > > On Tue, Aug 26, 2014 at 4:21 AM, David Perez-Suarez < > [email protected]> wrote: > >> A bit late in this thread but I'm just back from holidays. >> >> > Does anyone know >> > if there's a two-pane desktop tool that has these two views, and >> > automatically updates each to reflect changes in the other? >> >> In linux, for Nautilus, there's this extension: >> http://projects.flogisoft.com/nautilus-terminal/ >> >> It would be great though that the panel also shows what you do in the >> GUI... >> It's written in python and seems that could be possible to add stuff >> like mv, mkdir, touch and rm representation to the terminal easily >> enough... however it should avoid to execute it as it would be done by >> nautilus. >> >> Cheers, >> David >> >> >> David Perez-Suarez >> Postdoctoral Researcher >> >> SANSA Space Science >> Hospital Street >> PO Box 32 >> Hermanus >> 7200 >> >> Tel: +27 28 312 1196 Ext 224 >> >> Fax: +27 27 312 2039 >> E-mail: [email protected] >> Web: http://www.sansa.org.za >> >> _______________________________________________ >> Discuss mailing list >> [email protected] >> >> http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org >> > > > _______________________________________________ > Discuss mailing list > [email protected] > > http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org >
_______________________________________________ Discuss mailing list [email protected] http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org
