单选题Using vi, you want to save changes to the file myfile with :w!, but vi complains it cannot write to the file. Therefore, you want to check the write permissions on the file. To do this without leaving vi, you type:()A  :!ls-I myfileB  :/ls-l myfileC  e

题目
单选题
Using vi, you want to save changes to the file myfile with :w!, but vi complains it cannot write to the file. Therefore, you want to check the write permissions on the file. To do this without leaving vi, you type:()
A

 :!ls-I myfile

B

 :/ls-l myfile

C

 esc :Is -I myfile

D

 :?ls-l myfile

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You are the administrator of a Windows 2000 Server computer. A folder named HR-Data on the system partition of the server is shared on the network as HR-Data. The owner of the HR-Data folder is Administrators.

The shared permissions and NTFS permissions are shown in the following table.

Share permissions:

Everyone: FULL Control

NTFS permissions

Domain Admins: Read

Katrin: Full Control

Katrin creates a file in the HR-Data folder. She sets the NTFS permissions for the file to list only herself on the access control list, with Full Control permission. Katrin then leaves on vacation and cannot be contacted.

Later, you discover that the file contains sensitive information and must be removed from the server as soon as possible. You want to delete the file without modifying any of the permissions for other files in the HR-Data folder. You want your actions to have least possible impact on users who may be using other files in the HR-Data folder. You want to use the minimum amount of authority necessary to delete the file.

What should you do?

A.Grant yourself Full Control permission for only the HR-data folder and not its subobjects. Delete the file. Then remove Full Control permission for HR-Data folder.

B.Take ownership of the HR-Data folder. When prompted, take ownership of the existing files. Grant yourself Full Control permission for the file. Delete the file.

C.Take ownership of the file. Grant yourself Modify permission for the file. Delete the file.

D.Grant yourself Modify permission for the HR-Data folder and its subobjects. Delete the file. Then remove Modify permission for the HR-Data folder.


正确答案:C
解析:Explanation:Tobeabletodeletethefileauserwithadministrativerightshastotaketheownershipofthefileandthengrantthemselfenoughpermissiontodeleteit.Incorrectanswers:A:TheadministratorisnotlistedontheDACLofthefile.Tochangethepermissionsonthefile,wemustfirsttakeownershipofthefile.B:Weshouldonlytakeownershipofthefile,notthefolder.D:Weshouldonlychangethepermissionsofthefile,notthefolder.

第2题:

You want to be a volunteer for the China International Environmental Protection Exhibition&Conference.Write a letter to the department concerned to express your wish to volunteer for the conference,and state why you want to be a volunteer.You should write about 100 words on the ANSWER SHEET.Do not sign your name at the end of the letter.Use Li Ming instead.Do not write your address.


答案:
解析:
Dear Sir/Madam,
I'm writing to express my wish to volunteer for the China International Environmental Protection Exhibition&.Conrerence.I'm a senior majoring in Environmental Engineering.Through years of study in environmental science,I am increasingly aware of the fragility of our environment and the importance of its protection.As an American proverb goes."We do not inherit the earth from our ancestors,we borrow it from our children".With a strong passion for environmental sustainability and communication,I am drawn to this position as an opportunity to make a positive contribuiion to the development of the global environmental industry.I would be most grateful ir you could grant me an interview.Thank you for your time and consideration.
Yours truly,
Li Ming

第3题:

You are the administrator of a SQL Server 2000 computer. The server contains a Data Transformation Services (DTS) package that queries multiple databases and writes the results to a text file. You run this package by using a Microsoft Windows batch file. The batch file uses the dtsrun utility to execute the DTS package.

You want to ensure that connection properties, such as login names and passwords, cannot be read or modified by users. Which two actions should you take? (Each correct answer represents part of the solution. Choose two.)

A.Save the DTS package so that it has an owner password.

B.Save the DTS package so that it has a user password.

C.Encrypt the DTS package details in the command line of the dtsrun utility.

D.Store the DTS package in the Meta. Data Services repository.

E.Store the DTS package as a Microsoft Visual Basic file.


正确答案:AC
解析:Explanation: In this scenario we will use a windows batch file with the owner password for maximum security.

A: When running the Dtsrun utility on a package you must either specify a user password or a package password. Specify a password for the package to protect sensitive user name and server password information in the package from unauthorized users with owner password. If the package has an owner password, the data is encrypted with the standard encryption API. This protects protect sensitive user name and server password information in the package from unauthorized user.
.
C: You can encrypt the command prompt options to be executed by the DTS Run utility, allowing you to create an encrypted dtsrun command for later use. This will ensure that login names, password and other command line options cannot be read or modified by users.

Note: When a package is saved to SQL Server or as a structured storage file, DTS package passwords can be assigned to the package. These passwords are used in addition to the Windows Authentication or SQL Server Authentication passwords to connect to an instance of SQL Server.

There are two types of DTS package passwords that can be set: an owner password and a user password. If an owner password is set, the package user needs the password to edit or run the package and if a user password is set, the package users with access to the user password can run the package.

Incorrect Answers:
B: There is no need to create a user password. The package will be run with an owner password. The owner password will be protected since the command options are encrypted.

D: The Meta. Data Services repository is the storage container for the meta. data used by Analysis Services. Meta. data is stored in tables in a relational database and is used to define the parameters and properties of Analysis server objects. DTS package information can be saved to Meta. Data Services. This saves meta. data information about the databases referenced in the package, which can be viewed though the DTS Browser.

E: When a DTS package is saved as a Visual Basic file, these files can be used as templates, or starting points, for user-implemented Visual Basic packages. The generated code sets all properties of all objects referenced in the package to the initial values they will have when package execution begins. This includes those that are set to their default values.

第4题:

If an existing script is uploaded to the CRS, what does it ask?()

  • A、Do you want to debug the script?  
  • B、Do you want to refresh the script?  
  • C、Do you want to save the application?  
  • D、Do you want to return to Script Management? 

正确答案:B

第5题:

You want to use the Flashback Transaction Query feature to identify all the changes made to your database within a specific time period. What is a prerequisite for using the Flashback Transaction Query feature?()

  • A、 You must use automatic undo management in the database.
  • B、 You must configure OMF in your database.
  • C、 You must configure ASM for storing the datafiles.
  • D、 You must multiplex the online redo log file.

正确答案:A

第6题:

Directions:You want to contribute to Project Hope by offering financial aid to a child in a remote area. Write a letter to the department concerned, asking them to help find a candidate. You should specify what kind of child you want to help and how you will carry out your plan.

Write your letter with no less than 100 words. Write it on ANSWER SHEET 2. Do not sign your name at the end of the letter; use Li Ming instead. You do not need to write the address. (10 points)


正确答案:

 To Whom It May Concern,

  I am writing to ask you whether you could help me find a child in a remote area to whom I will offer my financial aid.

  The candidate should be a girl at age 10 to 12 who is deprived of the opportunity to continue her education because of poverty. Her previous score reports should prove her potential to be an outstanding student in the future.

  I would like to give the girl my financial support annually until she graduates from college. The money will cover her tuition fee and other expenses at school. Besides, I will correspond with her frequently so that she can seek advice whenever she needs.

  I am looking forward to your reply.

  Sincerely,

  Li Ming


第7题:

Using vi, you want to save changes to the file myfile with :w!, but vi complains it cannot write to the file. Therefore, you want to check the write permissions on the file. To do this without leaving vi, you type:()

  • A、 :!ls-I myfile
  • B、 :/ls-l myfile
  • C、 esc :Is -I myfile
  • D、 :?ls-l myfile

正确答案:A

第8题:

You completed your workflow definition. You want to save a copy of the definition to the file system for source control purposes. How does Oracle Workflow Builder save that file?()

A. as a flat file

B. as a BPEL-compiled definition

C. as an XML file with an associated document type definition (DTD)

D. as an XML file without an associated document type definition (DTD)


参考答案:A

第9题:

You have a Terminal Server that runs Windows Server 2008.   You create a Windows Installer package for Microsoft Office Word 2007 by using Terminal Services RemoteApp (TS RemoteApp). You install the package on a client computer.  You double-click on a Word document and receive the following error. Windows cannot open this file. You need to ensure that you can open the Word document by double-clicking on the file.  What should you do?()

  • A、Recreate the Windows Installer package.
  • B、Modify the file association on the client computer.
  • C、Modify the file association on the TS RemoteApp server.
  • D、Install the Windows Installer package by using msiexec.exe.

正确答案:C

第10题:

An administrator received a call from a user whose PC crashed while using vi to edit a file. The user wants the edited file back. Where should the administrator look for the file()

  • A、/tmp
  • B、/var/preserve
  • C、/var/tmp/$USER
  • D、$HOME/.vi

正确答案:B

更多相关问题