Question: ststem Administration As to be expected, there are no files in this directory. Let us create some files. We noticed earlier, that touch is a
As to be expected, there are no files in this directory. Let us create some files. We noticed earlier, that touch is a possibility. Therefore, type touch file1 touch file2.txt When you type date the date will be displayed on the screen. Now try date > file1 ls -1 cat filel I What is the output? What do these do? You might have already guessed it, it redirects the output into a file, with the name of 'demo! Do not confuse it with our earlier 'pipe, or 1 The pipe takes the output and sends it to another command; as input for that next command. The redirection takes the output and sends it to a device, a file, etc. Create new directory name 'mybackup". Copy the filel to the mybackup using this command cp filel mybackup Is -1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
