in UNIX,How to copy file into directory?
Answers were Sorted based on User's Feedback
Answer / neena
cp text.txt sample
I want to copy the file(text.txt) from sample1(directory)
to sample directory
| Is This Answer Correct ? | 1 Yes | 0 No |
cp source destination
Cp path_a.txt Path/
Thanks,
Jagadeeb@gmail.com
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / shiva
Take a file to be copied into a directory say file1 to
DIRECTORY.
cp file1 DIRECTORY.
| Is This Answer Correct ? | 0 Yes | 0 No |
distinguish between interrupts and exceptions?
Give Command that will move a single file called "unix.txt"
Which command should you use to find the remaining disk space in unix server?
What command is used to check the current users?
what is the difference between Touch & cat command
Which command is used to restrict incoming messages?
what these two commands prints "echo test","cat test"?
What does the command ' $who | sort –logfile > newfile' do?
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<stdlib.h> # include <stdio.h> 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:
What is grep and sed command?
How do you find path of a directory? Give its syntax.
Where can I get the free download of Unix by Yeswant Kanetkar?