Skip to main content

Posts

Showing posts from June 10, 2010

Why Ubuntu rather than Windows

Ubuntu Lucid is one of my new ultimate operating system choice and trust me it is not for the faint of heart. Though I have not left Windows completely (I usually have to switch to it to play games and do some work) but after much determination and struggle I have managed to adapt myself in the Linux environment and it is very cool and challenging.
        For those of you who think that Linux is terrible and Windows rocks, here is my say on why Ubuntu is better than Windows.
No Viruses - Thats true! as Linux does not recognize Win32 Executables so the possibility of having a virus on-board is absolutely 0%. THIS IS NOT 100% true. but its security mechanism is much better than windows.                                                                                                                                       Open Source - Unlike Windows, Linux distributions are open source and the source code can be edited and modified to the most to suit your needs.Better Learning - While Wi…

UBUNTU BASIC COMMANDS

UBUNTU BASIC COMMANDS:

1. echoing data:
        syntax: echo name(variable).
            returns the value of the variable

2. help:
        syntax: man command
            this will give us the syntax and options available in UNIX.

3. searching a particular file:
        syntax: find -name "tools.jar" print 2>/dev/null
            searches for the file "tools.jar" based upon the name and if not found returns error msg 2 and so we redirect it using ">" to the /dev/null directory.

4. pipe symbol:
        syntax: process1 | process 2
            the pipe symbol "|" is used to provide the output of one process as the input to the other process
            eg. ls -l | wc : here 'ls -l' returns the list of files within the directory and we provide this as the input to the second process 'wc' (wordcount). thus returning the word count of the list of files .

5. tee:
        syntax: tee option filename 
                 read from …