What command would an operator use to move a file from the /old_dir directory to the /new_dir directory without changing the file name?() A. mv /old_dir/file /new_dirB. mv -p /old_dir/file /new_dirC. mv -k /old_dir/file /new_dirD. mv /old_dir/file /new_dir/new_file

What command would an operator use to move a file from the /old_dir directory to the /new_dir directory without changing the file name?()

A. mv /old_dir/file /new_dir

B. mv -p /old_dir/file /new_dir

C. mv -k /old_dir/file /new_dir

D. mv /old_dir/file /new_dir/new_file


相关考题:

GivenaportionofavalidJavaEEwebapplication’sdirectorystructure:MyApp||--File1.html||--Directory1||--File2.html||--META-INF|--File3.htmlYouwanttoknowwhetherFile1.html,File2.html,and/orFile3.htmlwillbedirectlyaccessiblebyyourwebclient’sbrowsers.Whichstatementistrue?()A.Allthreefilesaredirectlyaccessible.B.OnlyFile1.htmlisdirectlyaccessible.C.OnlyFile2.htmlisdirectlyaccessible.D.OnlyFile3.htmlisdirectlyaccessible.E.OnlyFile1.htmlandFile2.htmlaredirectlyaccessible.

GivenaportionofavalidJavaEEwebapplication’sdirectorystructure:MyApp||--Directory1||--File1.html||--META-INF||--File2.html||--WEB-INF|--File3.htmlYouwanttoknowwhetherFile1.html,File2.html,and/orFile3.htmlisprotectedfromdirectaccessbyyourwebclient’sbrowsers.Whatstatementistrue?()A.Allthreefilesaredirectlyaccessible.B.OnlyFile1.htmlisdirectlyaccessible.C.OnlyFile2.htmlisdirectlyaccessible.D.OnlyFile3.htmlisdirectlyaccessible.

GiventhatfileisareferencetoaFileobjectthatrepresentsadirectory,whichcodefragmentswillsucceedinobtainingalistoftheentriesinthedirectory?() A.Vectorfilelist=((Directory)file).getList();B.String[]filelist=file.directory();C.Enumerationfilelist=file.contents();D.String[]filelist=file.list();E.Vectorfilelist=(newDirectory(file)).files();

Whenperformingadatabaseduplication,whichduplicatedatabaseparameterwouldyousettoensurethattheonlineredologsarecreatedinthecorrectlocation?() A.log_file_name_convertB.convert_log_file_nameC.file_name_convert_logD.redo_log_file_name_convertE.logfile_convert_directory

InyourSupportcenter.cnproductiondatabase,youfindthatthedatabaseusersareabletocreateandreadfileswithunstructureddata,availableinanylocationonthehostmachinefromanapplication.Youwanttorestrictthedatabaseuserstoaccessfilesinaspecificlocationonthehostmachine.Whatcoulddotoachievethis?()A.ModifythevaluefortheUTL_FILE_DIRparameterintheparameterfileB.GrantreadandwriteprivilegeontheoperatingsystempathtothedatabaseusersC.ModifythevaluefortheLDAP_DIRECTORY_ACCESSparameterintheparameterfileD.ModifythevalueforthePLSQL_NATIVE_LIBRARY_DIRparameterintheparameterfileE.Createadirectoryobjectreferringtotheoperatingsystempath,andgrantreadandwriteprivilegeonthedirectoryobjecttothedatabaseusers

InyourCertkiller.comproductiondatabase,youfindthatthedatabaseusersareabletocreateandreadfileswithunstructureddata,availableinanylocationonthehostmachinefromanapplication.Youwanttorestrictthedatabaseuserstoaccessfilesinaspecificlocationonthehostmachine.Whatcoulddotoachievethis?()A.ModifythevaluefortheUTL_FILE_DIRparameterintheparameterfileB.GrantreadandwriteprivilegeontheoperatingsystempathtothedatabaseusersC.ModifythevaluefortheLDAP_DIRECTORY_ACCESSparameterintheparameterfileD.ModifythevalueforthePLSQL_NATIVE_LIBRARY_DIRparameterintheparameterfileE.Createadirectoryobjectreferringtotheoperatingsystempath,andgrantreadandwriteprivilegeonthedirectoryobjecttothedatabaseusers

The basic function of the file system is accessing files by names. The function can be realized by(24).A.directory-managingB.boosting the speed of the file-accessingC.file-protectingD.improving the utilization of storage

The basic function of the file system is accessing files by names. The function can be realized by ( ) A.directory-managingB.boosting the speeD.of the file-accessingC.file-protectingD.improving the utilization of storage

25、使用Directory类的Move()方法可以删除文件