Close Menu
  • Home
  • Questions
Facebook X (Twitter) Instagram
LinuxTutorials.netLinuxTutorials.net
  • Home
  • Debian
  • Ubuntu
  • CentOS
    • Commands
  • Questions
LinuxTutorials.netLinuxTutorials.net

Assuming at least one file matching the pattern is in the current directory, the command echo ???a will display:

January 25, 2024Updated:February 1, 2024No Comments
DWQA Questions › Category: Introduction to Linux I › Assuming at least one file matching the pattern is in the current directory, the command echo ???a will display:
Case 1: Assuming at least one file matching the pattern is in the current directory, the command echo ???a will display:
  • All of the files in the current directory that have four characters in the file name.
  • All of the files in the current directory that have four characters in the file name with the last character being an “a” character.
  • All of the files in the current directory that end with an “a” character.
  • Only a file named ???a
Case 2: Assuming at least one file matching the pattern is in the current directory, the command echo a* will display:
  • Only the file named “a*”.
  • All of the files in any directory that begin with an “a” character.
  • All of the files in the current directory that begin with an “a” character.
  • All of the files in the current directory that begin with an “a” or “A” character.

Please login or Register to submit your answer

Share. Facebook Twitter Tumblr Email Telegram
Previous ArticleThe command echo a* will display:
Next Article Within square brackets, (Example: [?]) the ? character means:

Ubuntu Server 24.04 Image for VirtualBox (Download & Import)

March 14, 2025

Download and Install Packet Tracer 8.2.2 on Ubuntu (Linux)

May 31, 2024

How to Install PHPMyAdmin latest version 5.2.0 on Ubuntu 22.04 (LEMP Stack)

September 13, 2022

Create New User with sudo Privileges on Ubuntu 22.04/Debian

September 12, 2022
Facebook X (Twitter) Instagram Pinterest
  • Questions
© 2025 LinuxTutorials.net

Type above and press Enter to search. Press Esc to cancel.