to learn net method in linux