Archive for November, 2008

Network File System(NFS)

This item was filled under [ General, Networking ]

The NFS service lets computers of different architecture, running different operating system, share file systems across a network. The NFS service makes the physical location of the file system irrelavant to the user. You can use NFS to allow user to see all the data, regardless of location.With NFS, instead of placing copies of commonly [...]

Continue reading...

Linux: Splitting and merging large files

This item was filled under [ General, Linux ]

We can split any file into number of smaller size based on size.
For Example : To split a big file of smaller parts of 100MB each, use the command which follows:
split -b 100m bigfile parts_
To join them on a Linux machine, use:
cat parts_*>bigfile
To join them in windows, use:
copy /b parts_* bigfile

@ Know your command
If you [...]

Continue reading...

Linux: Find & Replace the String in any file

This item was filled under [ General, Linux ]

It is very difficult to find each word and then replace it with the desired one. In a long file, replacing wrong entries is pretty tough. In this case sed command proves to be useful.
General syntax for the sed command
sed -i a/expression/replacement/g myfile.txt
Here i is used to insert
[...]

Continue reading...

Unix: IP Assignment in solaris

This item was filled under [ General, Solaris ]

Ip address assignment in solaris is divided into 4 simple steps:
Step1) Find out the interface present in your system.
#dladm show-link
Ex: output is eth0
Step2) Plumb the interface present.
ifconfig plumb
ex: ifconfig eth0 plumb
You will get some thing like below against the plumb interface.
eth0 =1000842 mtu 1500 index 2 inet 0.0.0.0 netmask 0
Step3) Assign the required IP [...]

Continue reading...

  • Google Translator

      Translate to: