下面哪条命令可把./dir1目录(包括它的所有子目录)内容复制到./dir2中?() A. cp -i ./dir1/* ./dir2B. cp -P ./dir1/* ./dir2C. cp -d ./dir1/* ./dir2D. cp -r ./dir1/* ./dir2
下面哪条命令可把./dir1目录(包括它的所有子目录)内容复制到./dir2中?()
A. cp -i ./dir1/* ./dir2
B. cp -P ./dir1/* ./dir2
C. cp -d ./dir1/* ./dir2
D. cp -r ./dir1/* ./dir2
相关考题:
有一个用户同时属于sales组和marking组:这个用户对名称为DIR1的目录具有Read权限,sales组对这个目录具有ChangE权限,而marking组则被设置为NoAccess权限。那么,这个用户对DIR1目录到底有什么权限呢()。A、这个用户对DIR1目录具有Read和Change权限B、这个用户对DIR1目录不具有任何权限,因为marking组没有被授权访问这个目录C、这个用户只有Read权限,因为用户只能行使直接赋予他的权限D、这个用户只有NoAccess权限,不能以任何形式访问这个目录
有一个用户同时属于sales组和marking组。这个组对名称为DIR1和目录具有Read权限,sales组对这个目录具有change权限,而marking组则没有被授权来访问DIR1目录,那么,这个用户对DIR1目录到底有什么权限呢()。A、这个用户对DIR1目录具有Read和Change权限B、这个用户对DIR1目录不具有任何权限,因为marking组没有被授权来访问这个目录C、这个用户只有read权限,因为用户只能行使直接赋予他的权限D、这个用户对DIR1目录具有FullControl权限,因为Read和Change加起来等于FullControl
以下创建RandomAccessFile类实例对象的代码,哪些是正确的( )。 A、RandomAccessFile(newFile("D:\\itcast\\dir1\\test.java"),"rw")B、RandomAccessFile("D:\\itcast\\dir1\\test.java","r")C、RandomAccessFile("D:\\itcast\\dir1\\test.java")D、RandomAccessFile("D:\\itcast\\dir1\\test.java","wr")
要使目录列表框(名称为Dir1)中的目录随着驱动器列表框(名称为Drive1)中所选择的当前驱动器的不同而同时发生变化,则应:A.在Dir1中的Change事件中,书写语句Dir1.Drive=Drive1.DriveB.在Dir1中的Change事件中,书写语句Dir1.Path=Drive1.DriveC.在Drive1中的Change事件中,书写语句Dir1.Path=Drive1.DriveD.在Drive1中的Change事件中,书写语句Dir1.Drive=Drive1.Drive
An operator needs to create /dir1/dir2/dir3. The /dir1 does not exist. What command can be used to create dir2 and dir3?() A. mkdir /dir1/dir2/dir3B. mkdir -R dir1/dir2/dir3C. mkdir -p /dir1/dir2/dir3D. mkdir -r /dir1/dir2/dir3
Which of the following will rename dir1 as dir2?() A. mv dir1 dir2B. ren dir1 dir2C. cp -R dir1 dir2D. mv -R dir1 dir2
拷贝mydir\myfile文件到dir2目录下,但是系统提示这个文件已经存在,下面那个命令是正确的()? A、cp-wmydir\myfiledir2B、cp-imydir\myfiledir2C、cpmydir\myfiledir2D、cp-vmydir\myfiledir2
设窗体上有一个DriveListBox控件Drive1,一个DirListBox控件Dir1和一个FileListBox控件File1,该窗体刚装入时,显示C盘根目录下的全部 .BAT 文件(如图),要求在用户选择Drive1控件中的驱动器后,Dir1控件中的目录随之改变,当Dir1中的目录改变后,File1控件中的文件随之改变。请编写出相应的程序。
在linux系统中,用cp命令将/tmp/test中的文件到/tmp/test1中,不想拷贝目录本身,以下命令正确的是()。A、cp -R /tmp/test /tmp/test1B、cp -r /tmp/test /tmp/test1C、cp -R /tmp/test/. /tmp/test1D、cp /tmp/test /tmp/test1
下面哪条命令可把./dir1目录(包括它的所有子目录)内容复制到./dir2中?()A、cp -i./dir1/*./dir2B、cp -P./dir1/*./dir2C、cp -D./dir1/*./dir2D、cp -r./dir1/*./dir2
在linux系统中,用cp命令将/tmp/test/file文件,复制到/tmp下,并保持原来的名字,以下命令中正确的是()。A、cp -l /tmp/test/file /tmpB、cp -s /tmp/test/file /tmpC、cp -r /tmp/test/file /tmpD、cp /tmp/test/file /tmpE、cp /tmp/test/file /tmp/file
How can a directory named /dir1 be excluded during a restore of files backed up by name with the backup command?()A、By using the restore -x option followed by /dir1B、By adding an entry in the /etc/restore.exclude fileC、By using the restore -i option to enter interactive mode and executing the command:delete /dir1D、By using the restore -i option when running restore to specify a text file containing ’/dir1’ as one of the lines in it.
An operator needs to create /dir1/dir2/dir3. The /dir1 does not exist. What command can be used to create dir2 and dir3?()A、mkdir /dir1/dir2/dir3B、mkdir -R dir1/dir2/dir3C、mkdir -p /dir1/dir2/dir3D、mkdir -r /dir1/dir2/dir3
Which of the following will rename dir1 as dir2?()A、mv dir1 dir2B、ren dir1 dir2C、cp -R dir1 dir2D、mv -R dir1 dir2
以下选项中,哪个命令可以把./dir1目录中的所有文件包括所有子目录复制到./dir2目录中?()A、cp-i./dir1/*./dir2B、cp-P./dir1/*./dir2C、cp-D./dir1/*./dir2D、cp-r./dir1/*./dir2
拷贝myDir/myfile文件到Dir2目录下,但是系统提示这个文件已经存在,下面哪个命令是正确的。()A、Cp -wmyDir/myfileDir2B、Cp -imyDir/myfileDir2C、Cp myDir/myfileDir2D、Cp -vmyDir/myfileDir2
单选题How can a directory named /dir1 be excluded during a restore of files backed up by name with the backup command?()ABy using the restore -x option followed by /dir1BBy adding an entry in the /etc/restore.exclude fileCBy using the restore -i option to enter interactive mode and executing the command:delete /dir1DBy using the restore -i option when running restore to specify a text file containing ’/dir1’ as one of the lines in it.
单选题Which of the following will rename dir1 as dir2?()Amv dir1 dir2Bren dir1 dir2Ccp -R dir1 dir2Dmv -R dir1 dir2
单选题以下选项中,哪个命令可以把./dir1目录中的所有文件包括所有子目录复制到./dir2目录中?()Acp-i./dir1/*./dir2Bcp-P./dir1/*./dir2Ccp-D./dir1/*./dir2Dcp-r./dir1/*./dir2
单选题下面哪条命令可把./dir1目录(包括它的所有子目录)内容复制到./dir2中?()Acp -i./dir1/*./dir2Bcp -P./dir1/*./dir2Ccp -D./dir1/*./dir2Dcp -r./dir1/*./dir2
单选题An operator needs to create /dir1/dir2/dir3. The /dir1 does not exist. What command can be used to create dir2 and dir3?()Amkdir /dir1/dir2/dir3Bmkdir -R dir1/dir2/dir3Cmkdir -p /dir1/dir2/dir3Dmkdir -r /dir1/dir2/dir3