#Shorts You have been using the shell - the wrong way: Part 4
Chandrashekar Babu
The [ command has been used most extensively in many shell scripts. This command acted as an alternative to the 'test' command - both commands were implemented as external commands on traditional UNIX (on many deployments, [ is a symlink to 'test' command itself). Modern shells have these commands implemented as a shell built-in, and they exist for legacy compatibility. In this video, you will learn the more modern replacement for [ on most shells (bash, ksh93, zsh, etc.), and that is '[[' - which is less error-prone and provides better syntax. ... https://www.youtube.com/watch?v=ZMTFhX7kyik
2023-03-16
0.0 LBC
Copyrighted (contact publisher)
1521420 Bytes