Posts Tagged ‘Operating system’

Use the last command’s output as input to a command without piping and bind to it to a key sequence in bash.
Hot:sun Use the last commands output as input to a command without piping and bind to it to a key sequence in bash.sun dark Use the last commands output as input to a command without piping and bind to it to a key sequence in bash.sun dark Use the last commands output as input to a command without piping and bind to it to a key sequence in bash.sun dark Use the last commands output as input to a command without piping and bind to it to a key sequence in bash.sun dark Use the last commands output as input to a command without piping and bind to it to a key sequence in bash.

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

No Comments

privacy
tee to a file descriptor
Hot:sun tee to a file descriptorsun tee to a file descriptorsun dark tee to a file descriptorsun dark tee to a file descriptorsun dark tee to a file descriptor


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

No Comments

Back to top

<< Previous Entries