Linux bash have different file and directory related functions to create, delete, change and check existence. In this tutorial we will look how to check a file or directory if it exists. Check File Existence We will use bash test mechanism. Bash test mechanism have two formats where we can...
Linux provides tool named grep for filter text data or output according to given string or regular expression. This tool is popular amongst Linux system administrators. On the other side Windows operating systems generally lacks this tool and its functionality up to Powershell. Powershell provides Select-String commandlet to provide similar features...
Bash have programmatic features which gives system administrators a lot of abilities. One of them is test command which will check given conditions and return logic results like true or false . There are a lot of different check functions where we will look most popular and needed ones. Syntax
[ EXPRESSION ]