How can you copy files or directories?
To duplicate files or directories, UNIX offers the cp command. For copying files, the syntax is cp source_file destination_directory/. If duplicating a directory, the -r option (meaning recursive) must be added, as in cp -r source_directory destination_directory/. This ensures all sub-files and sub-directories are replicated too. The cp command is fundamental when backing up data or creating duplicate research resources.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to set sticky bit, or it have any seperate directory to create sticky bit in sunfir servers. Please help me , i don't no the exact answer?
What is grep and sed command?
Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.
8 Answers Concentrix, IBM, Symantec, TCS,
What command is used to replace the existing string with some other?
If JFS file system is 100% full how we can increase the file system ?
how to delete entire records in unix ?
boot process?
Give the command for finding the current date.
What does sed command do in unix?
How can you see the command line history?
What is the use of awk command in unix?
Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?