Globbing means matching files by name patterns containing wildcards.
0
votes
0answers
103 views
How to use find command with wildcard when current directory contains a match? [duplicate]
Possible Duplicate:
find not recursive when file at top
I'm having some confusion with the find command.
If I type:
find . -name *.xml
or
find ./ -name *.xml
I receive a list of all ...
0
votes
1answer
64 views
Working of the [0-9] [duplicate]
I am learning the shell commands and came across the short tags eg.[0-9],[[:digit:]] etc.. As a proof of concept i tried deleting all the files with the rm command(i know its not a good practise but i ...
-2
votes
1answer
196 views
Why does this script show all files in the directory and not just PDF files?
I wrote the script below to find the number of PDF files in a given directory. However, it instead shows all the files in the directory:
#!bin/bash
message="."
message1="*.pdf"
ls -al $message ...
-2
votes
1answer
74 views
How to print contents of two files using wildcards in puTTY? [closed]
How do I print out the contents of two files using wildcards in puTTY?