Linux:BASH

From My Notepad
Jump to: navigation, search

Bash topics

Bash Reference Manual - Hosted at Gnu.org

Bash Scripting Tutorial - Hosted at LinuxConfig.org

Viewing current bash session history

history

xon/xoff

Source: [1]

> If press Ctrl-S in rxvt running bash and then the bash becomes inactive,
> i.e. does not response to any key stroke. I have to open another rxvt
> and kill -9 <pid>.  Is this a feature or a bug?  I found that in the dos
> prompt box bash is never affected by the ctrl-s.

Ever heard of XON/XOFF  ASCII characters?

 XOFF - stop transmitting   (CTRL-S in many cases)
 XON  - start transmitting  (CTRL-Q in many cases)

 Try CTRL-Q when your "bash becomes inactive"

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+1, GMT+1, CET --
--END OF MESSAGE-- 

find and printf

find . -maxdepth 1 -printf '%CY%Cm%Cd.%CH%CM\t%s\t%f\n'