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

Using unix command how to display no of records in oracle?

608


What are awk commands?

582


What is merge command in unix?

943


Is command prompt unix?

583


How do I find previous commands in unix?

592






How do I use nslookup?

574


Name the various commands that are used for the user information in unix.

539


What is a command and examples?

583


What is the use of awk command in unix?

581


Why is grep called grep?

780


Enumerate some of the most commonly used network commands in unix?

616


Explain command to view process running?

614


How do you repeat a command in terminal?

591


What is the command to find hidden files in the current directory?

581


Enlist some filename manipulation commands in unix.

551