Screen enable/disable logging in all windows

2010-11-19 1 min read bash Learning Linux
If you use screen command a lot then this is something that you will like 🙂 Screen enable/disable loggin in all windows 1 2 3 <td> <div class="text codecolorer"> bindkey ^l at "#" log on<br /> <br /> bindkey ^o at "#" log off </div> </td> </tr> The command when added in screenrc enables logging all open windows by using the C-l (control-l key combination) and disable by C-o . Continue reading

Hotmail login from Linux machine using Firefox.

2010-07-15 1 min read Fedora Linux
Today I learnt two things. One is that Hotmail has changed the look of the email on the web. Quite good change. Looks good. Second is that when loggin in to the hotmail using my Fedora box with Firefox, I was always getting the annoying, you are not on supported browser and saw the fix on <a href="http://www.linuxquestions.org/questions/linux-newbie-8/hotmail-problems-683894/?posted=1#post3345089" target="_blank">this link. The solution is as simple as changing the &#8221;general.useragent.vendor&#8221; for firefox. Continue reading

Scripts to create logins from bash command – for creating multiple accounts

2010-06-09 1 min read Fedora Linux
Heres the script: cat «EOF > login.sh for i in `cat logins` ; do login=`echo &#8221;$i&#8221;|awk -F&#8221;:&#8221; '{print $2}&#8217;`; comment=&#8221;`echo &#8221;$i&#8221;|awk -F&#8221;:&#8221; '{print $1}&#8217;`&#8221;; gr=&#8221;`echo &#8221;$i&#8221;|awk -F&#8221;:&#8221; '{print $3}&#8217;`&#8221;; echo &#8221;login –» $login –Comment –» $comment –Group –»$gr –&#8221;; echo &#8221;useradd -c &#8221;$comment&#8221; -d /export/home/$login -m -g $gr -s /bin/bash $login&#8221; useradd -c &#8221;$comment&#8221; -d /export/home/$login -m -g $gr -s /bin/bash $login done You would need to create file called logins to store the comment, login name and the group. Continue reading

Option to login with any provider.

2009-08-20 1 min read Uncategorized
I have enabled the following logins on my site. <a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Amit-Agarwal-›-Log-In_1250790644706.png"><img class="size-full wp-image-942" title="Amit Agarwal › Log In" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Amit-Agarwal-›-Log-In_1250790644706.png" alt="Amit Agarwal › Log In" width="349" height="185" /> Hope you like it that you dont have to remember one more login 🙂