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.

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

第1题:

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

A.php.ini

B.http.conf

C.php.sys

D.php.exe


参考答案:B

第2题:

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

A.php.ini-dist

B.php.ini-recommendet

C.httpd.conf

D.smarty.class.php


参考答案:A, B

第3题:

下面的PHP程序运行结果是什么?( )?php$A=’hello’;function print_A(){$A = ‘php mysql!!’;Global $A;echo $A;}eho $A;print_A();?

A.hello

B.php mysql!!

C.hello hello

D.hello php mysql!!


参考答案:C

第4题:

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

第5题:

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

使用多种不同的方法。


正确答案:
 

第6题:

如何使用 PHP 输出 "hello world"()

A."HelloWorld";

B.echo"HelloWorld";

C.Document.Write("HelloWorld");

D.write(“HelloWorld”);


参考答案:B

第7题:

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.


正确答案:
 

第8题:

The greatest city of the world exercises a strong power of attraction over ____.

A.some methods of

B.all methods of

C.all manners of

D.some manners of


答案:C

第9题:

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

第10题:

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

更多相关问题