commandline

3 minutes read
Metacharacters We often want to refer to a group of files or directories that have a common characteristic. To do this, there are some small constructs which helps the user to filter the needed files. For example if in a folder we have a lot of jpg, mp3 and doc files and we would like to list only the doc files, in order to do this we will have to filter the files: The command is: ls -l *.doc But there are a lot of useful filters that will help us a lot. * – replaces one or more characters: ls...