GNU screen: The Terminal Multiplexer

Are you a terminal/konsole freak? Then you might be knowing it else you will love it.

At times most of us used to face the worst scenario that a single terminal window with hell lot of tab opened or multiple terminal windows itself. Do you need anything else to hang urself?

A simple & humble solution - screen :) Most of the linux distros comes with screen installed by default. 

Most effective usages - The basic usage I have already told you. And another interesting one is here. Did you ever think about terminal sharing? screen can be used somewhat like desktop sharing.

To start screen, all you have to do is just type screen On your terminal. You can create any number of windows in a single screen. To create new screen, you have to give ctrl-a c and a simple ctrl-d (logout) will end the current window. ctrl-a n & ctrl-a p to switch between next & previous windows. ctrl-a N will give you an option to enter window number & switch to that window. ctrl-a " will list all the windows, you can use arrow keys to select.

Terminal Sharing: start screen from machine A, from machine B ssh to A and then use screen -x to get into the already started screen. From both machines it is able to use the same screen in real time just like VNC for remote desktop.

In short it is a terminal application which allows any number of terminal application in single terminal window & single screen can be accessed from multiple terminals ;)

other options for screen is shown in the image:

Screen

Did you ever tried watching a 3D movie single eyed?

Yesterday I saw the movie Final Destination-4 in 3D. The 3D effects was awesome but the movie was not up to the mark when compared to its previous series. The whole time I was thinking about the 3D technology, a nostalgic scenario - that is the same thoughts came wen I watch avatar for the 2nd time. And after that movie I was searching for how to view a 3D movie in my 17" crt. but ended up with no-working-proofs/findings. But this time while watching movie I tried watching with one eye closed for sometime. But you know what, i didn't feel that 'effect' then. And I was so interested in thinking about its technology.

Here we go. In this 3d technology, two images are projected superimposed onto the same screen through different polarizing filters. The 3d glass we wear will b having the polarizing filters. And each eye sees different images. So projecting the same scene in to both eyes from different perspectives will create the ILLUSION or 3D EFFECT.

So the technology behind the stereoscopic motion picture (3D movie) is Fooling Our Eyes ;)

If you check the 3D image below you can see that there are 2 images overlapped.

Stereoscopic1

NB:- Image is borrowed from ioquake3.org

What the FSCK!

"Oh god! My filesystem gone mad... Hey linux can U do any FSCK?"
Hey its just FSCK! that is File System Check.
Only unix could give an FSCK. It is used to repair unix filesystems. A bit more intelligent than chkdisk in windows. Advantage is it will run on multiple physical drives in parallel to reduce time consumption. It runs automatically at the boot time. But in some cases a super user may have to manually run it. It will automatically fix the errors on your filesystem or let the user know what & where the problem is. You have lots of options to run fsck. Check FSCK manpage for the detailed description on its features/options to run it.We can run it to check the whole filesystem in different partitions or you can even mention the partition. fsck --help output is here in the image.

Fsck

Easy way of understanding GIT, Lesson 1: Parcel Career :p

Hi guys,
I saw some guys struggling to learn wat the heck is GIT & how it works.
First of all it is a version control like svn, but both are not same.
I will explain here with an example of parcel career :D
create an account on github and create new repository and name it, say "MyFirst"
Install GIT on ur machine.
Then you have to tell the installed git about ur identity, that is a one time job just like submitting your id proof to a service provider lol! (you can change it later if really needed to work with another account)
Name and email is enuf
        git config --global user.name "Nithin"
        git config --global user.email nithinin2001@gmail.com
now get into your project's directory
prepare your packets to parcel, that is add your files to push to repo
        git add <files>   NB: use * instead of <files> to add whole files & folders recursively
Now your parcel is well packed. Now tell your agent on wat to do ;)
that is to commit the files will make those added things ready to go
      git commit -m 'this is the start-up commit'
Now the time to tell where to push these. It is also a one time process. (files will be pushed to the same address under the same directory until you opt to change it)
         git remote add origin git@github.com:Nithin/MyFirst.git NB: here git@github.com:Nithin/MyFirst.git is the location of our git repo, that you will get when u create it in github
Here we go, here comes the network activity, push to repository. this will add whole stuf to abov mentioned repo
         git push origin master
origin is the remote repository & master is the main branch of remote repository
 
NB: guys feel free to convey If I made mistake in defining steps. will post how to use the existing repo in next lesson. Its already late and time for me to catch sleep.

WTF! wats happening with facebook?

Facebook_hacked

When i was trying login to posterous via fbconnect (like always) I got this strange f**'d up msg. WTF!!!

In the past couple of weeks I have gone through some blogs & forums about wat zuckerberg told about how their own privacy sucks.

Day by day new new features in fb as well as new new strange craps. 

And also there are a hell lot of viral, spam apps in fb, i too did a click unfortunately which made flirty dirty wall posts to all of my friends.

So friends Think twice before authorizing apps in fb!