adplus-dvertising
frame-decoration

Question

Which of the following expression is a correct wildcard pattern if we want an expression in which the last character is not numeric?

a.

*[!0]

b.

*[0-9]

c.

[0-9]

d.

*[!0-9]

Posted under Unix Shell UNIX

Answer: (d).*[!0-9]

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following expression is a correct wildcard pattern if we want an expression in which the last character is not numeric?

Similar Questions

Discover Related MCQs

Q. The shell waits for the command to complete and normally can’t do any work while the command is executing.

Q. Which of the following is/are true about Shell?

Q. To change the login shell in some system (like Linux) we can use ____ command.

Q. Wildcards are special characters which are used to replace or represent one or more characters.

Q. Which of the following is not a wild-card?

Q. What does the following command do?
$ echo *

Q. Which command would be most suitable to remove the following files?
dirx diry dirz dirzw

Q. Which of the following files will not be deleted using “rm chap??” ?

Q. Which of the following command will list all the hidden filenames in our directory having at least three characters after the dot (.) ?

Q. * and ? cannot match ____

Q. rm chap0[1234] will delete all of the following files.

chap01 chap02 chap03 chap04

Q. Which of the following files will not be listed using the following command?

ls chap0[1-4]

Q. Which of the following symbol is used for negating the character class?

Q. Which of the following shell doesn’t support ! symbol for negating the character class?

Q. The command cd * will work.

Q. Providing a backslash (\) before the wild card to remove its special meaning is called _____

Q. Enclosing the wild card or the entire pattern within quotes is called ___

Q. Redirection is a process of switching of the standard stream of data.

Q. How many files are used for representing different streams?

Q. Which stream is connected to the display?