网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
Which of the following will occur if an operator types the command vi file.out?()
A

If the file exists it will be opened for editing. If the file does not exist an error message will be displayed.

B

If the file exists it will be opened for editing. If the file does not exist a new file with the name file.out will be created and opened for editing.

C

If the file exists an error message will be displayed. If the file does not exist a new file with the name file.out will be created and opened for editing.

D

If the file exists the operator will be asked whether to open the file or overwrite the file. If the file does not exist a new file with the name file.out will be created and opened for editing.


参考答案

参考解析
解析: 暂无解析
更多 “单选题Which of the following will occur if an operator types the command vi file.out?()A If the file exists it will be opened for editing. If the file does not exist an error message will be displayed.B If the file exists it will be opened for editing. If the file does not exist a new file with the name file.out will be created and opened for editing.C If the file exists an error message will be displayed. If the file does not exist a new file with the name file.out will be created and opened for editing.D If the file exists the operator will be asked whether to open the file or overwrite the file. If the file does not exist a new file with the name file.out will be created and opened for editing.” 相关考题
考题 Which of the following will occur if an operator types the command vi file.out?() A. If the file exists it will be opened for editing. If the file does not exist an error message will be displayed.B. If the file exists it will be opened for editing. If the file does not exist a new file with the name file.out will be created and opened for editing.C. If the file exists an error message will be displayed. If the file does not exist a new file with the name file.out will be created and opened for editing.D. If the file exists the operator will be asked whether to open the file or overwrite the file. If the file does not exist a new file with the name file.out will be created and opened for editing.

考题 Operator needs to remove all leading comments from shell.script file. Which of the following vi sub-command can achieve this?() A. :r/^#//gB. :1,$ s/^#//gC. :sed s/^#//gD. :sub s/^#//g

考题 Which statements are true, given the code new FileOutputStream("data", true) for creating an object of class FileOutputStream?()  A、FileOutputStream has no constructors matching the given arguments.B、An IOExeception will be thrown if a file named "data" already exists.C、An IOExeception will be thrown if a file named "data" does not already exist.D、If a file named "data" exists, its contents will be reset and overwritten.E、If a file named "data" exists, output will be appended to its current contents.

考题 A user reports their system is displaying an error message ‘NTLDR is missing’. Which of the following is the MOST likely cause for this error?()A、BOOT.INI file is configured incorrectlyB、Corrupt MBRC、Boot sector virusD、System file is missing components

考题 A file named "core" exists in the current directory.  Which of the following commands should be used to determine what created the "core" file?()A、 dump -t core B、 strings core C、 trace -a core D、 crash core /unix_up

考题 Operator needs to remove all leading comments # from shell.script file. Which of the following vi sub-command can achieve this?()A、:r/^#//gB、:1,$ s/^#//gC、:sed s/^#//gD、:sub s/^#//g

考题 Which of the following will occur if an operator types the command vi file.out?()A、If the file exists it will be opened for editing. If the file does not exist an error message will be displayed.B、If the file exists it will be opened for editing. If the file does not exist a new file with the name file.out will be created and opened for editing.C、If the file exists an error message will be displayed. If the file does not exist a new file with the name file.out will be created and opened for editing.D、If the file exists the operator will be asked whether to open the file or overwrite the file. If the file does not exist a new file with the name file.out will be created and opened for editing.

考题 Which determines if “prefs” is a directory and exists on the file system?()  A、 Boolean exists=Directory.exists (“prefs”);B、 Boolean exists=(new File(“prefs”)).isDir();C、 Boolean exists=(new Directory(“prefs”)).exists();D、 Boolean exists=(new File(“prefs”)).isDirectory();E、 Boolean exists=true;  Try{  Directory d = new Directory(“prefs”);  } catch (FileNotFoundException e) {  exists = false;  }

考题 The file “file.txt” exists on the file system and contsins ASCII text.  Given:   try {   File f = new File(“file.txt”);    OutputStream out = new FileOutputStream(f, true);   }    catch (IOException) {}   What is the result?()A、 The code does not compile.B、 The code runs and no change is made to the file.C、 The code runs and sets the length of the file to 0.D、 An exception is thrown because the file is not closed.E、 The code runs and deletes the file from the file system.

考题 Consider the following scenario: You have a directory, data, under the disk group tdgroupA. You want to create an alias for one of the data files and you execute the following command: ALTER DISKGROUP tdgroupA  ADD ALIAS ’+tdgroupA/data/datafile.dbf’  FOR ’+tdgroupA.231.45678’;  Which task would be accomplished by the command?()A、The command drops the file +tdgroupA·231.45678.B、The command physically relocates the file to +tdgroupA/data and renames the file to datafile.dbf.C、The command creates a copy of the +tdgroupA·231.45678 file and places it in +tdgroupA/data after renaming the file to datafile.dbf.D、The command creates an alias, datafile.dbf, and places it in +tdgroupA/data and does not remove the +tdgroupA·231.45678 file.E、The command creates a file, datafile.dbf, in +tdgroupA/data and removes the references for +tdgroupA·231.45678 from the data dictionary views.

考题 You work as a database administrator for Certkiller .com. Your database is in the MOUNT state and you execute the following command to open it ALTER DATABASE OPEN; What two actions are performed as a result of this command?()A、All control files are openedB、All redo files are openedC、The password file is openedD、The parameter file is openedE、All online data files are opened

考题 our database is in the MOUNT state and you execute the following command to open it:  ALTER DATABASE OPEN  What two actions are performed as a result of this command?()A、All control files are opened.B、All redo log files are openedC、The password file is opened.D、The parameter file is opened.E、All online data files are opened.

考题 In order to enable remote administration of users and tablespaces on an Oracle database, which of the following types of files must exist in the database?()A、Password file B、Initialization file C、Datafile D、Control file E、Nothing - SYSDBA privileges are not required for these actions

考题 You received the following error:   ORA-01578: ORACLE data block corrupted   (file # %s, block # %s)   Which file will you check to view additional information regarding the cause of this error?()A、the alert log file and the trace filesB、 the redo log filesC、 the control fileD、 the change tracking file

考题 You created a snapshot of the /data2 filesystem as follows:   # fssnap -F ufs -o bs=/data2/snap /data2   But, the system responds with the following error: snapshot error: Invalid backing file path   What is the problem? ()A、 The /data filesystem does not exist.B、 This message indicates that the /data2/snap directory does not exist.C、 The name of the Backing Store is incorrect, it should be /dev/fssnap/0D、 This message indicates that you cannot have the backing store file on the same filesystem as the filesystem being snapped.

考题 单选题In order to enable remote administration of users and tablespaces on an Oracle database, which of the following types of files must exist in the database?()A Password file B Initialization file C Datafile D Control file E Nothing - SYSDBA privileges are not required for these actions

考题 多选题our database is in the MOUNT state and you execute the following command to open it:  ALTER DATABASE OPEN  What two actions are performed as a result of this command?()AAll control files are opened.BAll redo log files are openedCThe password file is opened.DThe parameter file is opened.EAll online data files are opened.

考题 单选题An operator is editing a file using vi. Which of the following subcommand sequences will copy the current line plus the next 2 lines to the end of the file?()A yy E 3pB 3yy G pC 3yy :e 5ppD yy :g 3p

考题 单选题A file named "core" exists in the current directory.  Which of the following commands should be used to determine what created the "core" file?()A  dump -t core B  strings core C  trace -a core D  crash core /unix_up

考题 单选题Which of the following will occur if an operator types the command vi file.out?()A If the file exists it will be opened for editing. If the file does not exist an error message will be displayed.B If the file exists it will be opened for editing. If the file does not exist a new file with the name file.out will be created and opened for editing.C If the file exists an error message will be displayed. If the file does not exist a new file with the name file.out will be created and opened for editing.D If the file exists the operator will be asked whether to open the file or overwrite the file. If the file does not exist a new file with the name file.out will be created and opened for editing.

考题 单选题A user reports their system is displaying an error message ‘NTLDR is missing’. Which of the following is the MOST likely cause for this error?()A BOOT.INI file is configured incorrectlyB Corrupt MBRC Boot sector virusD System file is missing components

考题 单选题Which determines if “prefs” is a directory and exists on the file system?()A  Boolean exists=Directory.exists (“prefs”);B  Boolean exists=(new File(“prefs”)).isDir();C  Boolean exists=(new Directory(“prefs”)).exists();D  Boolean exists=(new File(“prefs”)).isDirectory();E  Boolean exists=true;  Try{  Directory d = new Directory(“prefs”);  } catch (FileNotFoundException e) {  exists = false;  }

考题 单选题You created a snapshot of the /data2 filesystem as follows:   # fssnap -F ufs -o bs=/data2/snap /data2   But, the system responds with the following error: snapshot error: Invalid backing file path   What is the problem? ()A  The /data filesystem does not exist.B  This message indicates that the /data2/snap directory does not exist.C  The name of the Backing Store is incorrect, it should be /dev/fssnap/0D  This message indicates that you cannot have the backing store file on the same filesystem as the filesystem being snapped.

考题 单选题Operator needs to remove all leading comments # from shell.script file. Which of the following vi sub-command can achieve this?()A :r/^#//gB :1,$ s/^#//gC :sed s/^#//gD :sub s/^#//g

考题 单选题Which statements are true, given the code new FileOutputStream("data", true) for creating an object of class FileOutputStream?()A FileOutputStream has no constructors matching the given arguments.B An IOExeception will be thrown if a file named data already exists.C An IOExeception will be thrown if a file named data does not already exist.D If a file named data exists, its contents will be reset and overwritten.E If a file named data exists, output will be appended to its current contents.

考题 单选题The file “file.txt” exists on the file system and contsins ASCII text.  Given:   try {   File f = new File(“file.txt”);    OutputStream out = new FileOutputStream(f, true);   }    catch (IOException) {}   What is the result?()A  The code does not compile.B  The code runs and no change is made to the file.C  The code runs and sets the length of the file to 0.D  An exception is thrown because the file is not closed.E  The code runs and deletes the file from the file system.

考题 单选题You received the following error:   ORA-01578: ORACLE data block corrupted   (file # %s, block # %s)   Which file will you check to view additional information regarding the cause of this error?()A the alert log file and the trace filesB  the redo log filesC  the control fileD  the change tracking file

考题 单选题All of the following statements accurately describe process for administering file systems EXCEPT:()A A logical volume must exist prior to running the crfs command to create a file systemB A file system must be unmounted before it can be removedC Defining a file system imposes a structure on a logical volumeD Removing a file system using rmfs automatically removes the underling logical volume