command line cheat sheet for begineers.

A list of commands with some examples posted by Ian here. Looks good for new comers to Linux OS 🙂

Contd:: Evaluation of Distro\’s


Foresight is a desktop operating system featuring an intuitive user interface and a showcase of the latest desktop software, giving users convenient and enjoyable access to their music, photos, videos, documents, and Internet resources.


I liked their logo. Quite simple and intutive.


Logo goes quite well with the Foreground image. Both are same in color and hence it gives you a feeling of theme and not just ramdomly selected foreground.


And definately their Desktop is quite impressive. Very different and elegnant. Worth a look. It definately meets the promise as on their website —

As a Linux distribution, Foresight sets itself apart by eliminating the need for the user to be familiar with Linux, combining a user-focused desktop environment on top of Conary. As the most technically innovative software management system available today, Conary ensures that users can efficiently search, install, and manage all the software on the Foresight system, including bringing in the latest features and fixes without waiting for a major release. Thanks to Conary, Foresight developers can provide those features and fixes through rolling releases, allowing updates to be pushed out as soon as they are available. The latest version of Foresight is 2.0.5 which contains an up to date snapshot of the Foresight respository.


ByzanineOS is a software internet appliance with a home entertainment bias. It is based on a networked Linux distribution/bootable system with Mozilla providing access to a range of services and applications.

ByzanineOS fits in 32MB (or 48MB) of media and should work on any x86 based PC.

Simple to use OS with most of the applications supported on Mozilla. Quite different again.

\"Byzantine \"Byzantine \"Byzantine


Liked the concept that you really don\’t need a X window if you really don\’t want to do anything on the system. It runs a webserver and mostly all configuration needs to be done from the web interface. You don\’t get a shell to work on. You just have a menu with 4-5 options to set a few things and all other things and montitoring needs to be done from the Web Interface.

So what is it? It is network attached Storage OS.

\"FreeNAS \"FreeNAS \"FreeNAS \"FreeNAS \"FreeNAS \"FreeNAS


It did not detect my mouse and I could not do much without the mouse. But I was running it on the QEMU so might be that is the issue. I just got one screenshot. Will try again later with different settings to see if I can get it working.


Linux Mint

It did not come up completely. But I was running it on the QEMU so might be that is the issue. I just got one screenshot. Will try again later with different settings to see if I can get it working.


Do let me know what you think of these various distro\’s.

Script to download all the related videos from youtube with youtube-dl

Lets cut the long discussion short and directly give you the script. The script is combination of all the posts that I did in the past about youtube downloads. You need to copy all the URL\’s in a file called \”~/youtube.urls\” which you want to be downloaded. Or if you need to donwload the related videos, then save the html of the page and give it as the first argument for the script. So, here\’s the scrit:

#!/bin/bash –
#          FILE:
#         USAGE:  ./
#   DESCRIPTION:  Get the related urls from the youtube html
#       OPTIONS:  —
#          BUGS:  —
#         NOTES:  —
#        AUTHOR:  Amit Agarwal (AKA),
#       COMPANY:  Individual
#       VERSION:  1.0
#       CREATED:  05/02/2010 04:45:54 PM IST
#      REVISION:  —
if [  $# -ge 1 ]
for i in $(grep video-list-item $1 |sed \’s/&.*//\’|sed \’s/.*=\”\\(.*\\)/\\1/\’)
echo \”Writing $i to youtube.urls file\”
echo \”$i\” >> ~/youtube.urls

read -p \”Download all the urls :\” ans

cd ~

if [ \”$ans\” = \”y\” ]
grep -v \”^#\” ~/youtube.urls > /tmp/youtube.urls
while read line
youtube-dl -u $user -p $pass -t $line
done < /tmp/youtube.urls

read -p \”Add title to the file :\” ans1

if [ \”$ans1\” != \”y\” ]
rm -f /tmp/youtube.urls

while read line
echo $line|grep -c \”^#\”
if [ $(echo $line|grep -c \”^#\”) -eq 1 ]
echo \”#$line\” >>/tmp/youtube.urls
echo \”Skipping $line\”
title=$(youtube-dl -u $user -p $pass -e $line)
echo \”title is $title\”
done <~/youtube.urls

mv /tmp/youtube.urls ~/youtube.urls

Since the script is quite simple, its not much documented. Anyways if you need help, feel free to contact me 🙂 (contact form or comment)