1:在/tmp目录下,新建目录director新建上txt文件,分别命名为file1,file2,file3,用vi编辑器分别三个文件中输入内容。
2:将file1/file2/file3三个文件内容合并到一个文件中命名为filetest.txt。
3:在director目录下新建一个open目录,并在open目录下创建openfile,所有目录权限r-xr-r--。
4:将filetest.txt文件备份到/root下,并将/tmp/director目录移动到/usr中。
5:将open目录及其子目录和文件删除。