what are the different commands used to view the contents
of a file?

Answer Posted / subbareddy kake

cat <file name>

more <file name>

vi <file name>

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is command substitution?

627


What is time_t?

591


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:

1768


Write a command that will display files in the current directory, in a colored, long format.

689


What is the use of the command 'ls -x chapter[1-5]' ?

665






What is ctrl d?

598


What do know about tee command and its usage?

591


Why is grep called grep?

784


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

595


What does #!/ Bin sh do?

599


what is the advaantage of each user having its own copy of the shell?

2041


Enlist some filename manipulation commands in unix.

556


Is ‘du’ a command? If so, what is its use?

639


What is the use of sed command in unix?

604


What is the search command in unix?

609