Posts

Showing posts from 2013

Network/Lan card commands

How to detect the physical connected state of a network cable/connector? You want to look at the nodes in /sys/class/net/ I experimented with mine: Wire Plugged in: eth0/carrier:1 eth0/operstate:unknown Wire Removed: eth0/carrier:0 eth0/operstate:down Wire Plugged in Again: eth0/operstate:up eth0/carrier:1 Side Trick: harvesting all properties at once the easy way: grep "" eth0/* This forms a nice list of  key:value  pairs.

switchin to another user

$su username

command to check disk space

$df $df -h

give root priviledges to user in linux

usermod -G root useraccount

Kritunga Restaurant @ Ameerpet

Image
- Good for Spicy lovers. - Biriyani is Quite different from the Nizami biryani... -  Raagi Mudda is awesome -  This is definitely the best Rayalaseema Restaurant in town which shows you the authentic Rayalaseema Ruchi unlike the other restaurant which just boast it with their name and not with the food. Quantity: 5/5  Experience/Ambience: 3/5 Service: 3.5/5 Taste/Quality: 4/5 Cost: 4/5

Dinehill @ Banjarahills rd no 1 near masabtank

Image
Quantity   : 5/5 Experience/Ambience : 3.5/5 Service   : 4/5 Taste/Quality         : 4.5/5 Cost : 4.5/5 Primary attraction is the grilled chicken served in arabic style (and with different flavoured rice or roti combos on weekends). There is a novelty in that the whole meal is served in a large single plate shared by the whole table. Smaller individual plates (alongwith smaller portions of preparations too) are available. If you love Kababs, Tandooris, Grills, Ranns etc. please visit this place. The best place where you can have good food @ very low price.

Cafe Bahar Restaurant at Begumpet

Image
Totally disappointed with it as it was not spicy enough for my tastes. I tasted their chicken briyani <full bird> serves for four members. cost Rs.500/-.  Quantity : 4/5  Experience/Ambience : 3/5 (For table u need to wait atleast 20mins) Service : 4/5  Taste/Quality : 2.5/5 Cost : 4/5 

SQL Joins

Image

Rename Multiple Files Efficiently Using Excel or Google Docs

Image
Step 1: Type cmd and switch (using “cd” command) to the directory that contains the files you want to rename in bulk. Step 2: Type “dir /b” to see a skeleton list of all files in the current directory. Copy that file list to the clipboard by selecting Mark from the contextual menu. Step 3: The fun starts now. Fire your copy of Microsoft Excel or Google Docs Spreadsheets and paste those file names into the first spreadsheet column. Step 4: In the blank adjacent column, add a corresponding Excel function – for instance, use SUBSTITUTE to change specific text in the filenames, use CONCATENATE() with DATE() if you want to add date to the filename, etc. *For more complex criteria, you may want to put the file extensions in a separate column by splitting the file name using period (.) as the delimiter. Step 5: Your source filenames are now in column A while the Destination files are in column B – we will now convert this into a DOS rename command. In Column C, type the follow...

VIM Editor Keys not working properly in remote terminal [putty]

Create a file in home directory ===>  vi .vimrc copy & paste below lines in .vimrc file set showmode set number set nocompatible set syntax=automatic set backspace=indent,eol,start

[Automated]Webpage loging using VB Script

set WshShell = WScript.CreateObject("WScript.Shell") ''call WshShell.Run("http://www.gmail.com", 1, false) 'This will open your default browser WshShell.Run "chrome -url www.gmail.com" 'This will open Chrome WScript.Sleep 2000 WshShell.SendKeys "yourusername" WScript.Sleep 1000 WshShell.SendKeys "{TAB}" WScript.Sleep 1000 WshShell.SendKeys "accountpassword" WshShell.SendKeys "{TAB}" WScript.Sleep 1000 WshShell.SendKeys "{ENTER}" WScript.Quit()