map or disconnect a network drive in Windows


We can use the net use command to map or disconnect a network drive in Windows.
To map a network drive.
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.Type net use y: \\computer name or IP address\shared folder name, where y: is the drive letter you want to   assign to the shared resource.
Ex: net use y:\\192.168.x.x\\abc
     net use y:\\server-002\\abc
To disconnect a mapped drive:
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.Type net use y: /delete, where y: is the drive letter of the shared resource.

inittab file in ubuntu and linux

There is no /etc/inittab file in Ubuntu because Ubuntu has /etc/event.d/rc-default file
runlevel  # to check current runlevel
The following runlevels are defined:
       N      System bootup (NONE).
       S      Single user mode (not to be switched to directly)
       0      halt
       1      single user mode
       2 to 5 multi user mode
       6      reboot

mkfs blkid fstab

mkfs: This command stands for make file system and it is used to format the partition by using file system.

Syntax: mkfs.
       Ex: mkfs.ext3 /dev/hdb
             mkfs.ext4 /dev/hda
blkid: This command is used to check file-system type of partion.

Ex: blkid /dev/hda

fstab: This is one of the inbuilt file of linux which is used to mount partition permanently across the reboot.


partprobe(partitionpro)

Syntax: partprobe (device name) ### It will update partition table without reboot
Ex: partprobe /dev/sda



partition tools in linux

We can create linux partition in 2 ways. i.e. Pre-Installation and Post-Installation
Pre-Installation partition is Disk Druid
Post-Installation  partition tools are
fdisk
cfdisk
sfdisk
parted

minumum and maximum partitions in linux

fdisk can create maximum 15 partitions in RHEL5
fdisk can create maximum 63 partitions in RHEL6
parted can create maximum 63 partitions in RHEL6

add loopback adapter in windows xp

1.Open control Panel
2.Double Click on Add Hardware
3.Click Next
4.Select on Yes I have already connected the hardware and Click on Next
5.Click on Select a New hardware device and Click on Next
6.Select Install the hardware that I manually select a list(Advanced)
7.Select Network Adapter and Click on Next
8.Choose Manufacturer "Microsoft" from list and "Microsoft Loopback Adapter" form Network adapter list, then Click on Next
9.Click Next, this process will install Loopback adapter driver
10.Click on Finish to finish Loopback adapter installation.