Write some bash commands to list all the php scripts (*.php) in the current directory and itssub-directory. Try to use as many different methods as possible.

题目

Write some bash commands to list all the php scripts (*.php) in the current directory and its

sub-directory. Try to use as many different methods as possible.


相似考题
更多“Write some bash commands to list all the php scripts (*.php) in the current directory and itssub-directory. Try to use as many different methods as possible.”相关问题
  • 第1题:

    PHP的配置文件中,除了php.ini文件还有哪两个文件?()

    A.php.ini-dist

    B.php.ini-recommendet

    C.httpd.conf

    D.smarty.class.php


    参考答案:A, B

  • 第2题:

    用 BASH 和 perl 命令(脚本),列出当前目录及其子目录里面所有扩展名为.php 的文件。尽量

    使用多种不同的方法。


    正确答案:
     

  • 第3题:

    An operator wants to move all files inside the directory /home/operator to the current directory. Which of the following commands will complete the task?()

    A. mv /home/operator .

    B. mv /home/operator/* .

    C. mv /home/operator ../..

    D. mv /home/operator/all ../home/operator


    参考答案:B

  • 第4题:

    It is difficult to list all of John's attributes because he has so many different talents and abilities.

    A:qualities
    B:interests
    C:preferences
    D:virtues

    答案:A
    解析:
    本题可以从句子的后半部分“because he has so many different talents and abilities”判断attributes的意思是“特性”,故选项A的意思是“品质、特质”,故选项A为正确答案。

  • 第5题:

    Zoe,your current colleagues,is leaving for a new position at a different company.Write a letter to congratulate her on the new job.You should write about 100 words neatly on the ANSWER SHEET.Do not sign your own name.Use“Li ming”instead Do not write your address.(10 points)


    答案:
    解析:
    Dear Zoe I was thrilled to hear about your new job in the ABC Company.I know it's been a long search to find the right position,but it seems this is going to be a good match for your skills and experience.I'm sad to see you go and certainly will miss our Monday moming tea breaks.However,I feel certain that you're making the right choice by accepting this position.This is such a wonderful opportunity for you and I'm sure you'll do a fantastic job over there Best luck for your days in the new position.Reegards,Li Ming

  • 第6题:


    Some people are in favor of the proposition because they think( )

    A.it may reduce the number of teenage pregnancies
    B.it might protect girls from being raped
    C.the current law is not fair to all girls
    D.the current law is attacked by many parents

    答案:C
    解析:

  • 第7题:

    在“.php”后缀的文件中,所有的PHP代码都只能写在“<?php?>”标记内。


    正确答案:错误

  • 第8题:

    下列哪些是PHP的配置文件?()

    • A、php.exe
    • B、php.ini
    • C、php_mysql.dll
    • D、php_mysqli.dll

    正确答案:B

  • 第9题:

    要配置PHP环境,只需修改()

    • A、php.ini
    • B、http.conf
    • C、php.sys
    • D、php.exe

    正确答案:A

  • 第10题:

    An operator wants to move all files inside the directory /home/operator to the current directory. Which of the following commands will complete the task?()

    • A、mv /home/operator .
    • B、mv /home/operator/* .
    • C、mv /home/operator ../..
    • D、mv /home/operator/all ../home/operator

    正确答案:B

  • 第11题:

    Examine the following command; ALTER SYSTEM SET enable_ddl_logging = TRUE; Which statement is true?()

    • A、Only the data definition language (DDL) commands that resulted in errors are logged in the alert log file.
    • B、All DDL commands are logged in the alert log file.
    • C、All DDL commands are logged in a different log file that contains DDL statements and their execution dates.
    • D、Only DDL commands that resulted in the creation of new segments are logged.
    • E、All DDL commands are logged in XML format in the alert directory under the Automatic Diagnostic Repository (ADR) home.

    正确答案:B

  • 第12题:

    PHP的配置文件中,除了php.ini文件还有哪两个文件?()

    • A、php.ini-dist
    • B、php.ini-recommendet
    • C、httpd.conf
    • D、smarty.class.php

    正确答案:A,B

  • 第13题:

    A directory contains many a numbered sub-dir, and other files or directories as well. Each numbered

    sub-dir contains pictures(only jpg or png) and other files. Some of the pictures are original, while the

    others are the result of conversion from the original(jpg.jpg or png.png or jpg.png). Write a BASH

    command/script. to list all those orphaned pictures whose original counterparts are missing.


    正确答案:
     

  • 第14题:

    A technician is renaming files on a PC from a command prompt and is currently in the root of driveC: Which of the following commands should the technician use to move to a different directory? ()

    A.CD

    B.DIR

    C.MD

    D.RD


    参考答案:A

  • 第15题:

    You are the network administrator for All network servers run either Windows 2000 Server or Windows Server 2003, and all client computers run Windows XP Professional.A computer named Server2 runs Windows Server 2003 with IIS 6.0 installed. On Server2, you create a virtual directory named WebFolder. You use IIS Manager to enable the following permissions on WebFolder: Read, Write, and Directory Browsing.When users try to access WebFolder as a Web folder from Internet Explorer, they receive the error message shown in the exhibit.You need to ensure that all users can access WebFolder as a Web folder.What should you do?()

    A. Restart the World Wide Web Publishing Service on Server2.

    B. Enable anonymous access to WebFolder.

    C. Modify the Execute permissions to allow scripts and executable files.

    D. Enable the WebDAV Web service extension on Server2.


    参考答案:D

  • 第16题:

    Recently.many citizens try to use the facilities in your university due to a shortage of public sports facilities in your city.Write a letter of aboui 100 words on this issue to the city department concerned to l)give your opinions briefly,and 2)make two or three suggestions.You should write neatly on the ANSWER SHEET.Do not use your own name at the end of the letter.Use"Ii Ming"instead Do not write the acldress.(10 points)


    答案:
    解析:
    Dear Sir or Madam,I am a student of xx University.I'm writing to express my humble opinions about the pubtic sports facilities in our city.In recent years,the population has grown rapidly,so has citizens'passion for bodybuilding,while on the other hand,newly-built communities seriously lack public sports facilities and many existing facilities are in bad conditions.As a consequence,citizens often get into campuses to use sports facilities there without permission,which poses risks to campus security.I suggest that the government allocate more financing to the maintenance and construction of public sports facilities.Besides,opening sports faciIJties on campus in an orderly manner may also be helpful.For example,allow citizens to use those facilities during weekends and holidays by appointment.Thank you for your time and I hope you will find the above suggestions useful.Yours faithfully,Li Ming

  • 第17题:

    Zoe,your current colleagues,is leaving for a new position at a different company.Write a letter to congratulale her on the new job.You should write about 100 words neatly on the ANSWER SHEET.Do not sign your own name.Use"Li Ming"instead.Do not write your address.


    答案:
    解析:
    Dear Zoe,
    I was thrilled to hear about your new job in the ABC Company.I know it's been a long search to find the right position,but it seems this is going to be a good match for your skills and experience.I'm sad to see you go and certainly will nuss our Monday morrung tea breaks.However,I feel certain that you're making the right choice by accepting dus position.This is such a wonderful opportunity for you and I'm sure you'II do a fantastic job over there.Best luck for vour days in the new position.Refards,
    Li Ming

  • 第18题:

    You want to create a template to be used as a standard for all company reports, which are many different styles. How many different templates must you have if you plan to use multiple report styles?()

    • A、Two 
    • B、One 
    • C、One per report style
    • D、One per report style + one more

    正确答案:B

  • 第19题:

    下列PHP开始和结束标签写法错误是()。

    • A、<php ?> 
    • B、<% %> 
    • C、<php></php > 
    • D、<? ?>

    正确答案:C

  • 第20题:

    下列命令中不是PHP的输出命令的是()

    • A、echo
    • B、printf()
    • C、print
    • D、write

    正确答案:D

  • 第21题:

    A technician is renaming files on a PC from a command prompt and is currently in the root of driveC: Which of the following commands should the technician use to move to a different directory? ()

    • A、CD
    • B、DIR
    • C、MD
    • D、RD

    正确答案:A

  • 第22题:

    What information does the help reference command provide?()

    • A、a brief description of commands and their default values
    • B、the serial number and version number of the device used to open a support case with JTAC
    • C、a list of all the active hardware alarms on the device
    • D、a display of the current configuration while in operational mode

    正确答案:A

  • 第23题:

    下列预定义常量中,可以用于获取PHP版本信息的是()。

    • A、PHP_OS
    • B、PHP_PARSE
    • C、PHP_VERSION
    • D、PHP_ERROR

    正确答案:C