Sunday, June 10, 2012

COMMONLY USED LINUX COMMANDS

COMMONLY USED LINUX COMMANDS



File/Directory Basics

ls                List files
cp               Copy files
mv              Rename files
rm              Delete files
ln                Link files
cd               Change directory
pwd            Print current directory name
mkdir          Create directory
rmdir                    Delete directory

File Viewing

cat              View files
less            Page through files
head                    View file beginning
tail              View file ending
nl                Number lines
od               View binary data
xxd             View binary data
gv               View Postscript/PDF files
xdvi            View TeX DVI files

File Creation and Editing

emacs        Text editor
vim             Text editor
umask        Set default file protections
soffice        Edit Word/Excel/PowerPoint docs
abiword      Edit Word documents
gnumeric   Edit Excel documents

File Properties

stat             Display file attributes
wc              Count bytes/words/lines
du               Measure disk usage
file              Identify file types
touch          Change file timestamps
chown        Change file owner
chgrp         Change file group
chmod       Change file protections
chattr                   Change advanced file
attributes
lsattr           List advanced file
attributes

File Location

find             Locate files
slocate       Locate files via index
which         Locate commands
whereis      Locate standard files

File Text Manipulation
grep           Search text for matching
lines
cut              Extract columns
paste          Append columns
tr                 Translate characters
sort             Sort lines
uniq            Locate identical lines
tee              Copy stdin to a file and
to stdout simultaneously

File Compression

gzip            Compress files (GNU Zip)
compress Compress files (Unix)
bzip2          Compress files (BZip2)
zip              Compress files (Windows Zip)

File Comparison

diff              Compare files line by line
comm.        Compare sorted files
cmp            Compare files byte
by byte
md5sum    Compute checksums

Disks and Filesystems
df                Show free disk space
mount        Make a disk accessible
fsck            Check a disk for errors
sync           Flush disk caches
Backups and Remote Storage

mt               Control a tape drive
dump         Back up a disk
restore       Restore a dump
tar               Read/write tape archives
cdrecord    Burn a CD
rsync          Mirror a set of files

WELL KNOWN PORT NUMBERS IN COMPUTER NETWORKS

WELL KNOWN PORT NUMBERS IN COMPUTER NETWORKING


 ftp
 20
 FTP – data
 ftp
 21
 FTP – control
 ssh
 22
 SSH Remote Login Protocol
 telnet
 23
 TELNET
 smtp
 25
 Simple Mail Transfer Protocol
 domain
 53
 Domain Name Server
 bootps
 67
 Bootstrap Protocol – server
 bootpc
 68
 Bootstrap Protocol – client
 tftp
 69
 Trivial File Transfer
 http
 80
 World Wide Web
 pop3
 110
 Post Office Protocol - version 3
 sunprc
 111
 SUN Remote Procedure Call
 Netbios-ssn
 139
 NETBIOS Session Service (SMB)
 imap
 143
 Internet Message Access Protocol
 snmp
 161
 Simple Network Management Protocol
 bgp
 179
 Border Gateway Protocol
 irc
 194
 Internet Relay Chat Protocol
 ldap
 389
 Lightweight Directory Access Protocol
 https
 443
 http secure
 ipp
 631
 Internet Printing Protocol
 wins
 1512
 Windows Internet Name Service
 nfsd
 2049
 NFS server
 squid
 3128
 Squid Web Proxy
 mysql
 3306
 MySql

GUITAR CHORDS FOR HINDI SONG O MERE DIL KE CHAIN RAJESH KHANNA

GUITAR CHORDS AND TABS FOR O MERE DIL KE CHAIN HINDI SONG RAJESH KHANNA

Intro Music 

E ----------------------------------------------------------B --------------0----------------------------0--------------G ----------0------0--2-2-2-------------0------0--2-2-2----D ------2------------------------------2--------------------A --4------------------------------4------------------------E -----------------------------------------------------------

Song Start

Am---------------------------C-------G--------------------------------------------Am------o--mere---di-l-ke---chain---------Chain-aaye-mere-Dilko-Dua-KijiyeE --------------------------------------------------------------------------------------------------B --------------------------------------------------------------------------------------------------G ---2-0-0-2----2-0-0-2-0-----0---------------------0-0-2-2h4-4-0--2h4-4-0-2-----D ---------------------------2-----2-0-----0-2-2------------------------------------------A-------------------------------------------------------------------------------------------E-------------------------------------------------------------------------------------------


Music 

Am------------------------------------------------------E ---------------------------------------------------------B --1-----------1----------1----------1-----------------G ------2--0-------2--0------2--0------2--0----------D ---------------------------------------------------------A ---------------------------------------------------------E ---------------------------------------------------------


STANZA

----Am--------------------G-------------------F---------------------Am----Aapna-hi-saya-----Dekh-ke-tum----jaane jahan sharma gayeE ---------------------------------------------------------------------------------------B --1-1-0-1-0-----------0-----0----------------------------------------------------G --------------2-2--------2-----2-0-------2-0-2-0-----------2--2-2----------D -----------------------------------------------------3-2-3--------------------A ----------------------------------------------------------------------------------------E ----------------------------------------------------------------------------------------




----Am--------------------G-------------------F---------------------Am----Abhi-toye-pehli----manzil-hai-----tum-to-abhi-se-ghabara-gayeE --------------------------------------------------------------------------------------B --1-1-0-1-0-----------0-----0----------------------------------------------------G -------------2-2--------2-----2-0-------2-0-2-0--------------2--2-2------D ------------------------------------------------------3-2-3-----------------A ---------------------------------------------------------------------------------------E ---------------------------------------------------------------------------------------




------------C---------Am------------G------------F--------------G------------Am----Mera-kya-----hoga------soocho---to-zara--------------------------------E -------------0------------------------------------------------------------------------B ------0-1-----------0-0h1---0-1-1h3--0-0-1-0------0------------------------G --2--------------2-------------------------------2-------2-0------0---------D -----------------------------------------------------------------3-----3-2---A ----------------------------------------------------------------------------------------E ----------------------------------------------------------------------------------------






----------------------G-----------------------Am-----hai--aise-na-aahen-bhara-keejiyeE-------------------------------------------------------B ------------------------------------------------------G --------------0-0-2-2h4-4-0--2h4-4-0-2-----D ----0-2-2-------------------------------------------A -------------------------------------------------------E -------

GUITAR CHORDS FOR DO DIL MIL RAHE HAIN



GUITAR CHORDS FOR DO DIL MIL RAHE HAIN (PARDES)



A# Gm
do dil mil rahe hai
A# Gm A#
do dil mil rahe hai, magar chupake chupake
A# Gm A#
do dil mil rahe hai, magar chupake chupake
A# D#
sab ko ho rahee hai
A# D# A#
sab ko ho rahee hai, khabar chupake chupake
A# Gm A#
do dil mil rahe hai, magar chupake chupake
A# D# A#
saason men badee bekaraaree, aankhon men kaee rat jage
A# D# A#
kabhee kahee lag jaaye dil to, kahee fir dil naa lage
D# D#
apanaa dil main jaraa thaam loo, jaadoo kaa main ise naam doo
A# Gm A#
jaadoo kar rahaa hai, asar chupake chupake
A# Gm A#
do dil mil rahe hai, magar chupake chupake
A# D# A#
ayese bhole banakar hain baithhe, jaise koee baat nahee
A# D# A#
sabakuchh najar aa rahaa hai, din hain ye raat nahee
D# D#
kyaa hain kuchh bhee naheen hain agar, hothhon pe hain khaamoshee magar
A# Gm
baate kar rahee hai
A# Gm A#
baate kar rahee hai, najar chupake chupake
A# Gm A#
do dil mil rahe hai, magar chupake chupake
A# Gm A#
kahee aag lagane se pahale, uthhataa hain ayesaa dhuwaan
A# Gm A$
jaisaa hain idhar kaa najaaraa, waisaa hee udhar kaa samaa
D# D#
dil men kaisee kasak see jagee, dono jaane baraabar lagee
A# Gm
dekho to idhar se
A# Gm A#
dekho to idhar se, udhar chupake chupake
A# A#
do dil mil rahe hai, magar chupake chupake
A# D#
sab ko ho rahee hai
A# D# A#
sab ko ho rahee hai, khabar chupake chupake
A# D# A#
do dil mil rahe hai, magar chupake chupake



Sunday, May 13, 2012

SHER

SHER CORNER

jis tarah aaftaab se koi roshni ko door nahi kar sakta
usi tarah mujhe tumse koi juda nahi kar sakta
tu meri aashnaa ha meri aarzoo ha jise har pal ma apne aaghosh mein rakhna chahta hoon
teri absaar mein kho jaane ki tamanna rakhta hoon jaise koi shama parwaane ke saath hi roshan jaahan kare waise hi tum aur main bina ek duje ke adhoore hain
aur mere ishq ka isbaat doon ke ma tere saath apne jeevan ka asfaar tai karna chahta hun
aur ab yeh aalam ha ke iztiraab itna ha ke tujhe mile bina ma gaata hun afsurdah me



HOW TO INSTALL WINDOWS 7 THROUGH A BOOTABLE PEN DRIVE/FLASH DRIVE

HOW TO INSTALL WINDOWS 7 THROUGH A BOOTABLE PEN DRIVE

Pen drive installation process for windows 7 is much faster than DVD/CD. For this you need a pen drive having minimum space of 4 Gb and an Orginial Installation DVD of Windows 7.

Now just follow this steps:-

1. First off all you need to format the USB drive / Pendrive:-

Run the command prompt as an Administrator
Now to find the drive number of your USB Drive, you need to type this and press enter every time.

diskpart

list disk

Here you can see the disk listed.Note down the disk number of your pendrive for the next step. Assume that the number is 'A'.
Now type all these words to format the drive:

select disk A

clean

create partition primary

select partition A

active

format fs=NTFS

assign

exit

Now the disk partition program will exit and you’ll have a formatted USB flash drive ready to be made bootable.

2. Now to make the bootable pendrive, follow this steps:-

Now insert the Windows 7 Installation DVD and to your DVD drive.

Now assume that DVD drive is G and Pendrive as F

Now type G:CD BOOT


Now type this command bootsect /nt60 F: to update your USB drive with bootmgr code.

Finally copy all the contents from the Windows 7 DVD to your Pendrive.

Here you have created the bootable pendrive. Now what you need is to make your BIOS to boot from USB.So foolow this steps:-
Insert your pendrive to the PC and reboot the system.

Now Enter the Bios system accordingly by pressing the key delete.This is where you’re on your own since every computer is different. Most BIOS’s allow you to hit a key at boot and select a boot option.

Now select the USB/ Pendrive as the first boot driver.

Now save the settings in Bios and restart and you will be able to Install Windows 7 using that pendrive.

Note :- 

1. It works only on new systems which support booting from a USB Flash Media

2. The Preparation of Bootable Pen drive can only be done on windows vista or higher.

3. Do not use Pirated copies.