Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How does the user view the contents of a text file in UNIX?

Answer Posted / pitambar mishra

awk '{print}' filename

sed -n 'p' filename
p : print
n : restrict printing duplicate row

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which unix command lists files/folders in alphabetical order?

1780


Why is awk called awk?

1097


Describe the usage and functionality of the command rm –r * in unix?

2118


What are file commands?

1246


What is grep r?

1116


What does the metacharacter mean?

1146


Explain mount and unmount command.

1236


What is the use of awk command in unix?

1143


What is grep in bash?

1077


Why is it called grep?

1041


How to find $ai_serual resolved path by using unix

1769


What does #!/ Bin sh do?

1081


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1324


What is the difference between grep and grep?

1149


What are the differences among a system call, a library function, and a unix command?

1246