单选题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
单选题
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/dir3
B
mkdir -R dir1/dir2/dir3
C
mkdir -p /dir1/dir2/dir3
D
mkdir -r /dir1/dir2/dir3
参考解析
解析:
暂无解析
相关考题:
有一个用户同时属于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
Howcanadirectorynamed/dir1beexcludedduringarestoreoffilesbackedupbynamewiththebackupcommand?() A.Byusingtherestore-xoptionfollowedby/dir1B.Byaddinganentryinthe/etc/restore.excludefileC.Byusingtherestore-ioptiontoenterinteractivemodeandexecutingthecommand:delete /dir1D.Byusingtherestore-ioptionwhenrunningrestoretospecifyatextfilecontaining’/dir1’asoneofthelinesinit.
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
下面哪条命令可把./dir1目录(包括它的所有子目录)内容复制到./dir2中?() A. cp -i ./dir1/* ./dir2B. cp -P ./dir1/* ./dir2C. cp -d ./dir1/* ./dir2D. cp -r ./dir1/* ./dir2
设窗体上有一个DriveListBox控件Drive1,一个DirListBox控件Dir1和一个FileListBox控件File1,该窗体刚装入时,显示C盘根目录下的全部 .BAT 文件(如图),要求在用户选择Drive1控件中的驱动器后,Dir1控件中的目录随之改变,当Dir1中的目录改变后,File1控件中的文件随之改变。请编写出相应的程序。
设当前目录A下没有任何子目录,下列哪些命令能一次建立/A/B/C/D/E目录()。A、mkdir -p B/C/D/EB、mkdir B;mkdir B/C;mkdir B/C/D;mkdir B/C/D/EC、mkdir B/C/D/E
在linux系统中,建立目录/test/dir目录并设定dir权限为754,以下命令正确的是()。A、mkdir -m 754 /test/dirB、mkdir -p 754 /test/dirC、mkdir -v 754 /test/dirD、mkdir -d 754 /test/dir
在linux系统中,新建目录/test/dir,但是/test/目录还没有建立,下面命令正确的是()。A、touch /test/dirB、mkdir /test/dirC、mkdir -p /test/dirD、mkdir -m /test/dir
下面哪条命令可把./dir1目录(包括它的所有子目录)内容复制到./dir2中?()A、cp -i./dir1/*./dir2B、cp -P./dir1/*./dir2C、cp -D./dir1/*./dir2D、cp -r./dir1/*./dir2
Red Hat Linux 9下用一条命令创建/A/S/D目录结构的命令是()。A、mkdir /A/S/DB、mkdir -p A/S/DC、mkdir -p /A/S/DD、mkdir A/S/D
以下哪些是合法的构造RandomAccessFile对象的代码()。A、RandomAccessFile(new File("D:////myex//dir1//..//test.java"),"rw")B、RandomAccessFile("D:////myex//test.java","r")C、RandomAccessFile("D:////myex//test.java")D、RandomAccessFile("D:////myex//test.java","wr")
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.
单选题拷贝myDir/myfile文件到Dir2目录下,但是系统提示这个文件已经存在,下面哪个命令是正确的。()ACp -wmyDir/myfileDir2BCp -imyDir/myfileDir2CCp myDir/myfileDir2DCp -vmyDir/myfileDir2
单选题Which of the following will rename dir1 as dir2?()Amv dir1 dir2Bren dir1 dir2Ccp -R dir1 dir2Dmv -R dir1 dir2
多选题设当前目录A下没有任何子目录,下列哪些命令能一次建立/A/B/C/D/E目录()。Amkdir -p B/C/D/EBmkdir B;mkdir B/C;mkdir B/C/D;mkdir B/C/D/ECmkdir B/C/D/E
单选题以下选项中,哪个命令可以把./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