Feed on
Posts
Comments

Category Archive for 'bash'

There exist too many articles floating around which describe methods to apply transparency to terminals without the use of Beryl and other Xgl counterparts. There also exist too many of these articles which make the user jump through ridiculous hoops of clicking, selecting and typing in values to get the transparency they want.
All of [...]

Read Full Post »

ssh-agent(1) is your friend.

Summary: How dmess0r makes ssh-agent do that voodoo that you want to do.
This is my ssh-agent configuration. There are many like it, but this one is mine. My ssh-agent configuration is my best friend. It is my life. I must master it as I master my life. I will learn it as a brother. I [...]

Read Full Post »

diff remote files

Have you ever had the need to run diff(1) against two files, which existed on two separate remote machines?
For example, I am on host A, and I want to check and see if there are any differences between hostB:/tmp/foo.conf and hostC:/tmp/foo.conf.
Traditionally one would need to log into one of those systems, and copy the [...]

Read Full Post »

for loop fun

Sometimes when I do not have tools handy to cycle through a list of hosts, I rely upon the marvels that are recent binutils and bash. Using seq(1) , along with for loops in bash I can sequentially step through a number of hosts and perform arbitrary actions.
Here is a simple example:
for [...]

Read Full Post »