Please add [] bracket explanation as well?
rm file[123]
Hey Sjoer van der Ploeg,
Let's take an example
In the above example, we used wildcard [] and created command rm file[123] where
[]
rm represents remove command file represents the text "file" in the filename [123] represents exactly one character out of values 1, 2 or 3
rm
file
[123]
If you still have any queries related to wildcards please look at the previous post on Wildcards(*,?,[],[[:class:]]) for better understanding.
*
?
[[:class:]]
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Please add [] bracket explanation as well?
rm file[123]
Hey Sjoer van der Ploeg,
Let's take an example
In the above example, we used wildcard
[]
and created commandrm file[123]
whererm
represents remove commandfile
represents the text "file" in the filename[123]
represents exactly one character out of values 1, 2 or 3If you still have any queries related to wildcards please look at the previous post on Wildcards(
*
,?
,[]
,[[:class:]]
) for better understanding.