September 1, 2010
at 11:42 pm
Posted by : amitag under Fedora , Linux , Uncategorized
Tags: bash , Command-line interface , commandlinefu.com , Operating system , programming , script , shell , Uniform Resource Locator , Unix tools
Use the last command’s output as input to a command without piping and
bind to it to a key sequence in bash .
1
bind '"\C-h": "\`fc\ \-s\`"'
Read the rest of this entry »
podcast
Technorati Tags: bash , Command-line interface , commandlinefu.com , Operating system , programming , script , shell , Uniform Resource Locator , Unix
August 13, 2010about at 8:22 am
Posted by : amitag under Linux , bash
Tags: bash , bash version , File descriptor , File Management , file names , google , Operating system , redirection , shell , Standard streams , Uniform Resource Locator , Unix , winterbottom
tee to a file descriptor $ tee >(cat – >&2) the tee command does fine with file names, but not so much with file descriptors, such as &2 (stderr ). This uses process redirection to tee to the specified descriptor.
Read the rest of this entry »
mail
Technorati Tags: bash , bash version , File descriptor , File Management , file names , google , Operating system , redirection , shell , Standard streams , Uniform Resource Locator , Unix , winterbottom