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

Answer Posted / ziauddin

cat filename

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the general format of unix command syntax?

685


What does the command ' $who | sort –logfile > newfile' do?

761


Is grep faster than awk?

555


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1752


How do I run a bash script?

574






How do I use nslookup?

568


Why is it called a shebang?

566


Which command is used to restrict incoming messages?

584


Can you enlist some commonly used network commands?

594


how to sort the content of the file based on numeric values

1240


Which command will print your home directory on screen?

538


What is the use of the tee command?

592


What does touch command do in unix?

719


Why is awk called awk?

573


What is the difference between awk and grep?

555