#shell Articles

  • 2012-11-10
  • it

pdsh - parallell distributed shell

pdsh This a software to run commands on a set of servers. For example 'pdsh -a uname -av' will give you "uname -av" of all machines. http://techsnail.com/howtos-tutorials/installing-pdsh-on-hpc-cluster/ It can be installed from rpmforge.0 wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64 …

  • 2011-05-02
  • it

Rename files in Linux - mv

Hey! This is an awesome little trick I just learnt about: instead of doing mv file1.txt file1.txt.old you can do this mv file1.txt{,.old} and it will automagically add a .old at the end of the filename. This is called a brace expansion: http://tldp.org …

  • 2011-04-20
  • it

Installing Squid 3.2 on CentOS 5.3

Giving this one a shot :) I will be compiling it myself as well. Squid for those who do not know is a proxy server. Proxys can be used for many things, but one great thing if you have a thinner connection to the Internet, you can use this to speed …

  • 2011-04-13
  • it

The bash shell - Linux terminal keyboard shortcuts

Hey! Recently found out that there are some quite awesome shortcuts available that I've missed - extremely useful if you use the bash shell in *Nix. To see which one you are using you can type 'chsh' in a terminal - this will tell you if you are using /bin/bash. Go …