The Archives

  • 31.Dec.09
    Make Love cmd | fernape | (0)
    In FreeBSD: $ cd /usr/src $ make love Enjoy the output. Merry Christmas! Source: psybermonkey
  • 24.Nov.08
    Going to the previous directory cmd | rafacas | (0)
    $ cd - Go to the previously visited directory.
  • 17.Oct.08
    DHCP, inverted commas and ssh with RSA automated, security | pfortuny | (1)
    There is a server I manage (called alex) which has not a fixed IP. As you know, I have a shell at the best Unix server out there (by the way, it is almost free. The problem is to keep an up-to-date record of the first server's IP address. I do it as follows (and yes, I know timtowtdi). What I did was: Create an RSA public/private key pair at alex: alex $ ssh-keygen -N'' -f 'id_alex' -t rsa which creates the files id_alex and id_alex.pub. Create a cron job for my account at alex which looks like 5,10,15,20,25,30,35,40,45,50,55,0 * * * * /usr/bin/ssh -i ...
  • 05.Oct.08
    Moving around shell | fernape | (0)
    One of the things that annoys newbies the most is moving around using a shell. Most people thing it is easier and faster if you use the mouse and goes clicking around. The fact is that shells provide a lot of useful features for efficiently traversing the filesystem hierarchy. Here are some hints. Note: Some of the features may vary from a shell to another or even between different versions of the same shell. I will use bash 3.00 for this post. The basics If you want to change to another directory, you use the following command: $ cd This is easy enough and probably ...