what are the different commands used to create files?

Answer Posted / abani_mahana

touch, cat, vi, vim, pico
A) touch: touch <file name>
B) cat: cat > <file name>
C) vi: vi <file name>
D) vim: vim <file name>
E) pico: pico <file name>

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

626


Which command should you use to find the remaining disk space in unix server?

699


What do chown command do?

527


What does this command do? Cat food 1 > kitty

974


How do I clear my terminal history?

576






Is it inbetween or in between?

573


What is the use of awk command in unix?

572


Which command will print your home directory on screen?

539


What does sed command do in unix?

556


What's a command word?

581


What is ‘ps’ command for?

608


How many unix commands are there?

617


Which command is used to delete all files in the current directory and all its sub-directories?

655


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


What is awk good for?

578